Module response

Source

Structs§

BalanceInfo
Information about the balance of a user.
BalanceResp
Response structure containing balance information.
ChatCompletion
Represents a chat completion with its associated metadata.
ChatCompletionStream
Represents a chat completion stream with its associated metadata.
Choice
Represents a choice made during a process.
CompletionTokensDetails
Details of completion tokens used.
Delta
Represents a delta change in a choice stream.
Function
Represents a function with its name and parameters.
JSONChoiceStream
Represents a choice stream with its associated delta change.
LogProb
Represents log probability information for a token.
LogProbWrap
Wrapper for log probability information.
Message
Represents a message with its content and optional reasoning content and tool calls.
Model
Represents a model with its associated metadata.
ModelResp
Response structure containing a list of models.
TextChoiceStream
Represents a choice stream with its associated delta change.
ToolCall
Represents a tool call with its associated function.
TopLogProb
Represents top log probability information for a token.
Usage
Represents usage information for a process.

Enums§

ChatResponse
Represents a chat response which can either be a full response or a stream of items.
FinishReason
Enum representing the reason for finishing a process.
ModelType
Represents different types of models available in the deep seek.