llm
How to get these credentialsProvider keys for vgi-llm (one field per backend: Anthropic / OpenRouter / OpenAI / Ollama).
CREATE SECRET llm (
TYPE llm,
anthropic_api_key '<ANTHROPIC_API_KEY>', -- secret
openrouter_api_key '<OPENROUTER_API_KEY>', -- secret
openai_api_key '<OPENAI_API_KEY>', -- secret
ollama_host '<ollama_host>'
);
| Key | Type | Required | Description |
|---|---|---|---|
| anthropic_api_key secret | VARCHAR | — | Anthropic API key (sk-ant-...) from console.anthropic.com > API Keys |
| openrouter_api_key secret | VARCHAR | — | OpenRouter API key (sk-or-...) from openrouter.ai/keys |
| openai_api_key secret | VARCHAR | — | OpenAI API key (sk-...) from platform.openai.com/api-keys |
| ollama_host | VARCHAR | — | Base URL of a local Ollama daemon, e.g. http://localhost:11434 (no key needed) |
The worker doesn't mark which keys are required.
Needed by ai_completeai_complete_detailsai_complete_imageai_classifyai_filterai_extractai_sentimentai_summarizeai_aggai_summarize_agg