Integrant wiring for the AI module.
Config key: :wagoe/ai-service
Example (Ollama, offline-first): :wagoe/ai-service {:provider :ollama :model "qwen2.5-coder:7b" :base-url "http://localhost:11434"}
Example (Anthropic): :wagoe/ai-service {:provider :anthropic :model "claude-haiku-4-5-20251001" :api-key #env ANTHROPIC_API_KEY}
Example (Ollama with Anthropic fallback): :wagoe/ai-service {:provider :ollama :model "qwen2.5-coder:7b" :fallback {:provider :anthropic :model "claude-haiku-4-5-20251001" :api-key #env ANTHROPIC_API_KEY}}
Example (no-op, for tests): :wagoe/ai-service {:provider :no-op}
Integrant wiring for the AI module.
Config key: :wagoe/ai-service
Example (Ollama, offline-first):
:wagoe/ai-service
{:provider :ollama
:model "qwen2.5-coder:7b"
:base-url "http://localhost:11434"}
Example (Anthropic):
:wagoe/ai-service
{:provider :anthropic
:model "claude-haiku-4-5-20251001"
:api-key #env ANTHROPIC_API_KEY}
Example (Ollama with Anthropic fallback):
:wagoe/ai-service
{:provider :ollama
:model "qwen2.5-coder:7b"
:fallback {:provider :anthropic
:model "claude-haiku-4-5-20251001"
:api-key #env ANTHROPIC_API_KEY}}
Example (no-op, for tests):
:wagoe/ai-service
{:provider :no-op}No vars found in this namespace.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |