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
name | type | description |
---|---|---|
id | Identifier of the LLM endpoint | |
title | User-facing title of the LLM Provider | |
token | The token to use to connect to the LLM provider | |
description | Optional user-facing description of the LLM endpoint | |
provider | Optional LLM provider name (e.g., "openai") | |
base_url | Optional base URL for custom LLM endpoint | |
llm_organization | Optional LLM organization identifier | |
llm_model | Optional LLM default model override | |
workspace_ids | Optional list of workspace IDs for which LLM endpoint is valid. If empty, it is valid for all workspaces. |
Returns
type | description |
---|---|
CatalogLlmEndpoint | Created LLM endpoint |