Class: RubyLLM::Agents::Providers::Inception
- Inherits:
-
Providers::OpenAI
- Object
- Providers::OpenAI
- RubyLLM::Agents::Providers::Inception
show all
- Includes:
- Chat, Models
- Defined in:
- lib/ruby_llm/agents/providers/inception.rb,
lib/ruby_llm/agents/providers/inception/chat.rb,
lib/ruby_llm/agents/providers/inception/models.rb,
lib/ruby_llm/agents/providers/inception/registry.rb,
lib/ruby_llm/agents/providers/inception/capabilities.rb
Overview
Inception Labs Mercury API integration (OpenAI-compatible). Mercury models are diffusion LLMs (dLLMs) that generate tokens in parallel for dramatically faster inference.
Defined Under Namespace
Modules: Capabilities, Chat, Models, Registry
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Models
parse_list_models_response
Methods included from Chat
#format_role
Class Method Details
.capabilities ⇒ Object
26
27
28
|
# File 'lib/ruby_llm/agents/providers/inception.rb', line 26
def capabilities
Inception::Capabilities
end
|
.configuration_requirements ⇒ Object
30
31
32
|
# File 'lib/ruby_llm/agents/providers/inception.rb', line 30
def configuration_requirements
%i[inception_api_key]
end
|
Instance Method Details
#api_base ⇒ Object
15
16
17
|
# File 'lib/ruby_llm/agents/providers/inception.rb', line 15
def api_base
"https://api.inceptionlabs.ai/v1"
end
|
19
20
21
22
23
|
# File 'lib/ruby_llm/agents/providers/inception.rb', line 19
def
{
"Authorization" => "Bearer #{@config.inception_api_key}"
}
end
|