Skip to main content
Version: v0.4.3

remote::llama-openai-compat

Description​

Llama OpenAI-compatible provider for using Llama models with OpenAI API format.

Configuration​

FieldTypeRequiredDefaultDescription
allowed_modelslist[str] | NoneNoList of models that should be registered with the model registry. If None, all models are allowed.
refresh_modelsboolNoFalseWhether to refresh models periodically from the provider
api_keySecretStr | NoneNoAuthentication credential for the provider
base_urlHttpUrl | NoneNohttps://api.llama.com/compat/v1/The URL for the Llama API server

Sample Configuration​

base_url: https://api.llama.com/compat/v1/
api_key: ${env.LLAMA_API_KEY}