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

delete_llm

imerit_ango.sdk.SDK.

delete_llm(llm_id)

Remove an LLM integration from your organization.

Parameters

  • llm_id: string

    • The unique identifier of the LLM integration. You can retrieve it with get_llms.

Returns:

  • output: dict

    • A dictionary containing a status field and the removed integration in data.llm.

Example

import os
from dotenv import load_dotenv
from imerit_ango.sdk import SDK

load_dotenv('variables.env')
api_key = os.getenv('API_KEY')

ango_sdk = SDK(api_key)

llm_id = "<LLM ID>"
ango_sdk.delete_llm(llm_id=llm_id)
curl -X DELETE "https://imeritapi.ango.ai/v2/llms/<LLM ID>" \
  -H "Content-Type: application/json" \
  -H "apikey: $ANGO_API_KEY"

Last updated