Module request

Module request 

Source

Structs§

ChatCompletionNamedToolChoice
Represents the choice of named chat completion tool.
FrequencyPenalty
Represents a frequency penalty with a value between -2 and 2.
Function
Represents a function with a description, name, and parameters.
FunctionChoice
Represents a function choice with a name.
MaxToken
Represents the maximum number of tokens with a value between 1 and 8192.
PresencePenalty
Represents a presence penalty with a value between -2 and 2.
ResponseFormat
Represents the format of the response.
StreamOptions
Represents the options for streaming responses.
SystemMessageRequest
Represents a system message request.
Temperature
Represents the temperature with a value between 0 and 2.
ToolMessageRequest
Represents a tool message request.
ToolObject
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.
UserMessageRequest
Represents a user message request.

Enums§

ChatCompletionToolChoice
Represents the choice of chat completion tool.
MessageRequest
Represents a message request with different roles.
ResponseType
Represents the type of response.
Stop
Represents the stopping criteria for the completion.
ToolChoice
Represents the choice of tool.
ToolType
Represents the type of tool.