import * as openai from "https://deno.land/x/openai@v4.67.1/resources/beta/threads/threads.ts";
Interfaces
Specifies a tool the model should use. Use to force the model to call a specific tool. | |
Represents a thread that contains messages. | |
A set of resources that are made available to the assistant's tools in this
thread. The resources are specific to the type of tool. For example, the
| |
If no thread is provided, an empty thread will be created. | |
A set of resources that are made available to the assistant's tools in this
thread. The resources are specific to the type of tool. For example, the
| |
A set of resources that are used by the assistant's tools. The resources are
specific to the type of tool. For example, the | |
Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. | |
If no thread is provided, an empty thread will be created. | |
A set of resources that are made available to the assistant's tools in this
thread. The resources are specific to the type of tool. For example, the
| |
A set of resources that are used by the assistant's tools. The resources are
specific to the type of tool. For example, the | |
Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. | |
If no thread is provided, an empty thread will be created. | |
A set of resources that are made available to the assistant's tools in this
thread. The resources are specific to the type of tool. For example, the
| |
A set of resources that are used by the assistant's tools. The resources are
specific to the type of tool. For example, the | |
Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. | |
A set of resources that are made available to the assistant's tools in this
thread. The resources are specific to the type of tool. For example, the
| |
A set of resources that are made available to the assistant's tools in this
thread. The resources are specific to the type of tool. For example, the
| |
Type Aliases
Specifies the format that the model must output. Compatible with
GPT-4o,
GPT-4 Turbo,
and all GPT-3.5 Turbo models since | |
Controls which (if any) tool is called by the model. | |