Module: Durable::Llm
- Defined in:
- lib/durable/llm.rb,
lib/durable/llm/cli.rb,
lib/durable/llm/client.rb,
lib/durable/llm/errors.rb,
lib/durable/llm/version.rb,
lib/durable/llm/providers.rb,
lib/durable/llm/configuration.rb,
lib/durable/llm/providers/base.rb,
lib/durable/llm/providers/groq.rb,
lib/durable/llm/providers/cohere.rb,
lib/durable/llm/providers/openai.rb,
lib/durable/llm/providers/anthropic.rb,
lib/durable/llm/providers/huggingface.rb
Defined Under Namespace
Modules: Providers Classes: APIError, AuthenticationError, CLI, Client, Configuration, ConfigurationError, Error, InsufficientQuotaError, InvalidRequestError, InvalidResponseError, ModelNotFoundError, NetworkError, RateLimitError, ResourceNotFoundError, ServerError, StreamingError, TimeoutError, UnsupportedProviderError
Constant Summary collapse
- VERSION =
'0.1.4'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
12 13 14 |
# File 'lib/durable/llm.rb', line 12 def configuration @configuration end |
Class Method Details
.config ⇒ Object
14 15 16 |
# File 'lib/durable/llm.rb', line 14 def config configuration end |
.configure {|configuration| ... } ⇒ Object
19 20 21 22 |
# File 'lib/durable/llm.rb', line 19 def self.configure self.configuration ||= Configuration.new yield(configuration) end |