Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::DeepSeek::DeepseekCompletionRequest
Inherits
Struct
<
Value
<
Object
Constructors
from_request
(default_model :
String
, req :
Crig::Completion::Request::CompletionRequest
) : self
Source
new
(model :
String
, messages :
Array
(
Message
), temperature :
Float64
|
Nil
= nil, tools :
Array
(
ToolDefinition
) = [] of
ToolDefinition
, tool_choice :
JSON::Any
|
Nil
= nil, additional_params :
JSON::Any
|
Nil
= nil)
Source
Instance methods
additional_params
Source
messages
Source
model
Source
temperature
Source
to_json_value
Source
tool_choice
Source
tools
Source