import * as openai from "https://deno.land/x/openai@v4.28.4/resources/chat/mod.ts";
Interfaces
Represents a chat completion response returned by model, based on the provided input. | |
Log probability information for the choice. | |
Deprecated and replaced by | |
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. | |
Deprecated and replaced by | |
Log probability information for the choice. | |
An object specifying the format that the model must output. Compatible with
GPT-4 Turbo and
all GPT-3.5 Turbo models newer than | |
Specifying a particular function via | |
A chat completion message generated by the model. | |
Deprecated and replaced by | |
The function that the model called. | |
Specifies a tool the model should use. Use to force the model to call a specific function. | |
Type Aliases
The role of the author of a message | |
Controls which (if any) function is called by the model. | |