import * as openai from "https://deno.land/x/openai@v4.69.0/resources/chat/completions.ts";
Interfaces
Represents a chat completion response returned by model, based on the provided input. | |
Log probability information for the choice. | |
Data about a previous audio response from the model. Learn more. | |
If the audio output modality is requested, this object contains data about the audio response from the model. Learn more. | |
Parameters for audio output. Required when audio output is requested with
| |
Represents a streamed chunk of a chat completion response returned by model, based on the provided input. | |
A chat completion delta generated by streamed model responses. | |
Log probability information for the choice. | |
Learn about image inputs. | |
Learn about audio inputs. | |
Learn about text inputs. | |
Specifying a particular function via | |
A chat completion message generated by the model. | |
The function that the model called. | |
Specifies a tool the model should use. Use to force the model to call a specific function. | |
Options for streaming response. Only set this when you set | |
Type Aliases
Learn about text inputs. | |
The role of the author of a message | |
Controls which (if any) tool is called by the model. | |