Class: LLM::DeepSeek
Overview
Defined Under Namespace
Modules: RequestAdapter
Constant Summary
Constants inherited
from OpenAI
OpenAI::HOST
Instance Method Summary
collapse
#adapt
Methods inherited from OpenAI
#assistant_role, #complete, #embed, #models, #server_tools, #web_search
#adapt
Methods inherited from Provider
#assistant_role, #chat, #complete, #developer_role, #embed, #inspect, #interrupt!, #models, #persist!, #respond, #schema, #server_tool, #server_tools, #streamable?, #system_role, #tool_role, #tracer, #tracer=, #user_role, #web_search, #with
Constructor Details
#initialize(host: "api.deepseek.com", port: 443, ssl: true) ⇒ LLM::DeepSeek
27
28
29
|
# File 'lib/llm/providers/deepseek.rb', line 27
def initialize(host: "api.deepseek.com", port: 443, ssl: true, **)
super
end
|
Instance Method Details
52
53
54
|
# File 'lib/llm/providers/deepseek.rb', line 52
def audio
raise NotImplementedError
end
|
#default_model ⇒ String
Returns the default model for chat completions
78
79
80
|
# File 'lib/llm/providers/deepseek.rb', line 78
def default_model
"deepseek-chat"
end
|
40
41
42
|
# File 'lib/llm/providers/deepseek.rb', line 40
def files
raise NotImplementedError
end
|
46
47
48
|
# File 'lib/llm/providers/deepseek.rb', line 46
def images
raise NotImplementedError
end
|
#moderations ⇒ Object
58
59
60
|
# File 'lib/llm/providers/deepseek.rb', line 58
def moderations
raise NotImplementedError
end
|
#name ⇒ Symbol
Returns the provider’s name
34
35
36
|
# File 'lib/llm/providers/deepseek.rb', line 34
def name
:deepseek
end
|
#responses ⇒ Object
64
65
66
|
# File 'lib/llm/providers/deepseek.rb', line 64
def responses
raise NotImplementedError
end
|
#vector_stores ⇒ Object
70
71
72
|
# File 'lib/llm/providers/deepseek.rb', line 70
def vector_stores
raise NotImplementedError
end
|