All Classes and Interfaces
Class
Description
Single class implementation of the DeepSeek Chat Completion API:
https://platform.deepseek.com/api-docs/api/create-chat-completion
Represents a chat completion response returned by model, based on the provided
input.
Chat completion choice.
Represents a streamed chunk of a chat completion response returned by model, based
on the provided input.
Chat completion choice.
The reason the model stopped generating tokens.
Message comprising the conversation.
The function definition.
The role of the author of this message.
The relevant tool call.
Creates a model response for the given chat conversation.
Helper factory that creates a tool_choice of type 'none', 'auto' or selected function by name.
DeepSeek Chat Completion
Models
Represents a tool the model may call.
Function definition.
Create a tool of type 'function' and the given function definition.
Log probability information for the choice.
Message content tokens with log probability information.
The most likely tokens and their log probability, at this token position.
Usage statistics for the completion request.
Breakdown of tokens used in the prompt
Chat completions options for the DeepSeek chat API.
The DeepSeekRuntimeHints class is responsible for registering runtime hints for
DeepSeek API classes.
Helper class to support Streaming function calling.
An object specifying the format that the model must output.