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>, workspace_ids: <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
workspace_idsOptional list of workspace IDs for which LLM endpoint is valid. If empty, it is valid for all workspaces.

Returns

typedescription
CatalogLlmEndpointCreated LLM endpoint