Module: Legion::Extensions::Llm::Anthropic
- Extended by:
- Core
- Defined in:
- lib/legion/extensions/llm/anthropic.rb,
lib/legion/extensions/llm/anthropic/version.rb,
lib/legion/extensions/llm/anthropic/provider_settings.rb
Overview
Anthropic provider extension namespace.
Defined Under Namespace
Modules: ProviderSettings
Constant Summary collapse
- PROVIDER_FAMILY =
:anthropic- VERSION =
'0.1.0'
Class Method Summary collapse
Class Method Details
.default_settings ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/legion/extensions/llm/anthropic.rb', line 16 def self.default_settings ProviderSettings.build( family: PROVIDER_FAMILY, instance: { endpoint: 'https://api.anthropic.com', tier: :frontier, transport: :http, credentials: { api_key: 'env://ANTHROPIC_API_KEY' }, usage: { inference: true, embedding: false }, limits: { concurrency: 4 } } ) end |