create_llm
imerit_ango.sdk.SDK.
create_llm(llm_data)
Add an LLM integration to your organization.
Parameters
llm_data: LLM
An
LLMobject containing the following attributes:name: string
The display name of the LLM integration.
provider: LlmProvider
The LLM provider. Options:
LlmProvider.OPENAI
LlmProvider.OPENROUTER
model: string
The model name used by the integration.
api_key: string
The API key for the provider.
base_url: string, Optional, Default None
A custom provider base URL.
is_streamable: bool, Optional, Default False
Whether the model supports streaming responses.
Returns:
output: dict
A dictionary containing a
statusfield and the created LLM integration indata.llm.
Example
Last updated