latest--AzureLLMUnit
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/eidolon-resource/_shared/latest--AzureLLMUnit.json |
| Parent schema | eidolon-resource |
Type:
object
Azure LLM Unit. Requires model to be defined. See https://www.eidolonai.com/docs/howto/swap_llm for more details.
Authentication is handled oot with one of two mechanisms:
- Static token defined with AZURE_OPENAI_API_KEY
- Token provider defined by AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, and AZURE_TENANT_ID
To use an alternative authentication mechanism, provide a custom token provider.
Properties
implementation
const: "AzureLLMUnit"
required
The model to use for the LLM. Since Azure deployments use custom names, no default is provided. See https://www.eidolonai.com/docs/howto/swap_llm for more details. on defining custom models.
azure_endpoint
string
required
The azure_endpoint for the Azure LLM API. ie, "https://eidolon-azure.openai.azure.com/"
temperature
number
force_json
boolean
max_tokens
integer | null
supports_system_messages
boolean
can_stream
boolean
azure_ad_token_provider
_Reference | null
token_provider_scopes
string[]
[
"https://cognitiveservices.azure.com/.default"
]
api_version
string
client_args
object
{}
Definitions
_Reference
object
implementation
string