Structs§
- Chat
Completion Named Tool Choice - Represents the choice of named chat completion tool.
- Frequency
Penalty - Represents a frequency penalty with a value between -2 and 2.
- Function
- Represents a function with a description, name, and parameters.
- Function
Choice - Represents a function choice with a name.
- MaxToken
- Represents the maximum number of tokens with a value between 1 and 8192.
- Presence
Penalty - Represents a presence penalty with a value between -2 and 2.
- Response
Format - Represents the format of the response.
- Stream
Options - Represents the options for streaming responses.
- System
Message Request - Represents a system message request.
- Temperature
- Represents the temperature with a value between 0 and 2.
- Tool
Message Request - Represents a tool message request.
- Tool
Object - Represents a tool object with a type and function.
- TopLogprobs
- Represents the top log probabilities with a value between 0 and 20.
- TopP
- Represents the top-p value with a value between 0.0 and 1.0.
- User
Message Request - Represents a user message request.
Enums§
- Chat
Completion Tool Choice - Represents the choice of chat completion tool.
- Message
Request - Represents a message request with different roles.
- Response
Type - Represents the type of response.
- Stop
- Represents the stopping criteria for the completion.
- Tool
Choice - Represents the choice of tool.
- Tool
Type - Represents the type of tool.