For the complete documentation index, see llms.txt. This page is also available as Markdown.

create_llm

imerit_ango.sdk.SDK.

create_llm(llm_data)

Add an LLM integration to your organization.

Parameters

  • llm_data: LLM

    • An LLM object 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 status field and the created LLM integration in data.llm.

Example

Last updated