Skip to content

OpenAI Compatible LLM Handler

Uses OpenAI-compatible APIs for language model inference.

Configuration

yaml
LLMOpenAICompatible:
  model_name: "qwen-plus"
  system_prompt: "You are an AI digital human."
  api_url: 'https://dashscope.aliyuncs.com/compatible-mode/v1'
  api_key: 'yourapikey'
ParameterDefaultDescription
LLMOpenAICompatible.model_nameqwen-plusModel name
LLMOpenAICompatible.system_promptSystem prompt
LLMOpenAICompatible.api_urlAPI URL
LLMOpenAICompatible.api_keyAPI Key

TIP

OpenAvatarChat reads .env from the working directory for environment variables.