SerenAI

Pay Per Call Agentic Commerce

LlmConfig

LLM configuration for templates

Properties

PropertyTypeRequiredDescription
apiKey string,null No API key (optional, will be encrypted)
model string Yes Model name (e.g., "gpt-4o", "claude-3-opus")
provider string Yes LLM provider (e.g., "openai", "anthropic")
View JSON Schema
{
  "type": "object",
  "description": "LLM configuration for templates",
  "required": [
    "provider",
    "model"
  ],
  "properties": {
    "apiKey": {
      "type": [
        "string",
        "null"
      ],
      "description": "API key (optional, will be encrypted)"
    },
    "model": {
      "type": "string",
      "description": "Model name (e.g., \"gpt-4o\", \"claude-3-opus\")"
    },
    "provider": {
      "type": "string",
      "description": "LLM provider (e.g., \"openai\", \"anthropic\")"
    }
  }
}