Module json

Source
Expand description

The structures for building the Json prompts

Structsยง

AudioTranscriptionResponse
To receive the transcribed text
ChatChoice
ChatRequestInfo
Choice
CompletionRequestInfo
Response for a completions request. See https://platform.openai.com/docs/api-reference/completions/create
File
FileDeletedResponse
Response after file deleted
FileInfoResponse
Information about a file
FileUploadResponse
Response after file uploaded
Files
All the files stored at openai
ImageRequestInfo
ImageURL
Message
Response for a chats request. See https://platform.openai.com/docs/api-reference/chat/create
Model
ModelReturned
Usage