import * as openai from "https://deno.land/x/openai@v4.29.0/resources/beta/mod.ts";
Interfaces
Represents an | |
Occurs when an error occurs. This can happen due to an internal server error or a timeout. | |
Occurs when a new thread is created. | |
Occurs when a message is completed. | |
Occurs when a message is created. | |
Occurs when parts of a Message are being streamed. | |
Occurs when a message ends before it is completed. | |
Occurs when a
message moves
to an | |
Occurs when a run is cancelled. | |
Occurs when a run
moves to a | |
Occurs when a run is completed. | |
Occurs when a new run is created. | |
Occurs when a run expires. | |
Occurs when a run fails. | |
Occurs when a run
moves to an | |
Occurs when a run
moves to a | |
Occurs when a run
moves to a | |
Occurs when a run step is cancelled. | |
Occurs when a run step is completed. | |
Occurs when a run step is created. | |
Occurs when parts of a run step are being streamed. | |
Occurs when a run step expires. | |
Occurs when a run step fails. | |
Occurs when a
run step
moves to an | |
Occurs when a message is completed. | |
Occurs when a message is created. | |
Occurs when parts of a Message are being streamed. | |
Occurs when a message ends before it is completed. | |
Occurs when a
message moves
to an | |
Occurs when a run step is cancelled. | |
Occurs when a run step is completed. | |
Occurs when a run step is created. | |
Occurs when parts of a run step are being streamed. | |
Occurs when a run step expires. | |
Occurs when a run step fails. | |
Occurs when a
run step
moves to an | |
Occurs when a run is cancelled. | |
Occurs when a run
moves to a | |
Occurs when a run is completed. | |
Occurs when a new run is created. | |
Occurs when a run expires. | |
Occurs when a run fails. | |
Occurs when a run
moves to an | |
Occurs when a run
moves to a | |
Occurs when a run
moves to a | |
Represents a thread that contains messages. | |
If no thread is provided, an empty thread will be created. | |
If no thread is provided, an empty thread will be created. | |
Occurs when a new thread is created. | |
Type Aliases
Represents an event emitted when streaming a Run. | |
Occurs when a message is created. | |
Occurs when a run step is created. | |
Occurs when a new run is created. | |