Expand description
Exposed namespace of the module.
Structs§
- Chat
Completion Choice - Represents a choice in a chat completion response.
- Chat
Completion Logprobs - Represents log probability information for a chat completion choice.
- Chat
Completion Logprobs Content - Represents log probability information for a single token in the completion.
- Chat
Completion Logprobs TopLogprob - Represents a top log probability token.
- Chat
Completion Message Tool Call - Represents a tool call generated by the model.
- Chat
Completion Message Tool Call Function - Represents a function call within a tool call.
- Chat
Completion Request - Represents a chat completion request.
- Chat
Completion Request Message - Represents a message in a chat completion request.
- Chat
Completion Request Message Content Image Url - Represents an image URL in a chat completion request message content part.
- Chat
Completion Response Format - Represents the format that the model must output.
- Chat
Completion Response Message - Represents a message in a chat completion response.
- Chat
Completion Stream Choice - Represents a choice in a streaming chat completion response.
- Chat
Completion Stream Response - Represents a streaming chat completion response.
- Chat
Completion Stream Response Message - Represents a message in a streaming chat completion response.
- Chat
Completion Tool - Represents a tool that can be used by the model.
- Chat
Completion Usage - Represents usage statistics for a chat completion request.
- Create
Chat Completion Response - Represents a chat completion response.
- Tool
Choice Function - Represents a function to force the model to use.
- Tool
Choice Object - Represents a specific tool to force the model to use.
Enums§
- Chat
Completion Request Message Content - Represents the content of a message in a chat completion request. Can be a simple string or a list of content parts (for multimodal input).
- Chat
Completion Request Message Content Part - Represents a part of the content in a chat completion request message. Can be text or an image URL.
- Tool
Choice Option - Represents the choice of tool to use.