CatalogOrganizationService.

create_llm_endpoint

create_llm_endpoint(id: <nil>, title: <nil>, token: <nil>, description: <nil>, provider: <nil>, base_url: <nil>, llm_organization: <nil>, llm_model: <nil>) -> CatalogLlmEndpoint

Create a new LLM endpoint.

Parameters

nametypedescription
idIdentifier of the LLM endpoint
titleUser-facing title of the LLM Provider
tokenThe token to use to connect to the LLM provider
descriptionOptional user-facing description of the LLM endpoint
providerOptional LLM provider name (e.g., "openai")
base_urlOptional base URL for custom LLM endpoint
llm_organizationOptional LLM organization identifier
llm_modelOptional LLM default model override

Returns

typedescription
CatalogLlmEndpointCreated LLM endpoint