Module chat

Module chat 

Source
Expand description

Response to a given chat conversation.

Modules§

create
retrieve
Module for retrieving chat completions from OpenAI API.
update
Module for updating stored chat completions.

Structs§

ChatCompletion
ChatCompletionMessage
Fields that are not supported yet:
Choice
ChoiceLogprobs
CompletionTokensDetails
CompletionUsage
MessageToolCallCustom
MessageToolCallFunction
PromptTokensDetails
TokenLogProb
TopLogprob

Enums§

ChatCompletionMessageToolCall
ChatCompletionObject
The object type, which is always chat.completion.
FinishReason
ResponseRole
ServiceTier
The service tier used for processing the request.