Class: LlmHub::Completion::Providers::Deepseek
- Defined in:
- lib/llm_hub/completion/providers/deepseek.rb
Overview
DeepSeek completion provider Inherits from OpenAI provider since DeepSeek uses OpenAI-compatible API
Constant Summary collapse
- COMPLETIONS_URI =
'https://api.deepseek.com/v1/chat/completions'
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from OpenAI
#extract_answer, #extract_tokens, #headers, #request_body
Methods inherited from Base
Methods included from LlmHub::Common::AbstractMethods
Constructor Details
This class inherits a constructor from LlmHub::Completion::Providers::Base
Instance Method Details
#url ⇒ Object
11 12 13 |
# File 'lib/llm_hub/completion/providers/deepseek.rb', line 11 def url COMPLETIONS_URI end |