Package com.openai.models.beta.threads
See: Description
-
Interface Summary Interface Description Visitor An interface that defines how to map each variant of AssistantResponseFormatOption to a value of type T. Visitor An interface that defines how to map each variant of AssistantToolChoiceOption to a value of type T. Visitor An interface that defines how to map each variant of Content to a value of type T. Visitor An interface that defines how to map each variant of Tool to a value of type T. Visitor An interface that defines how to map each variant of ChunkingStrategy to a value of type T. Visitor An interface that defines how to map each variant of Content to a value of type T. Visitor An interface that defines how to map each variant of Tool to a value of type T. Visitor An interface that defines how to map each variant of ChunkingStrategy to a value of type T. -
Class Summary Class Description AssistantResponseFormatOption Specifies the format that the model must output. Builder A builder for AssistantToolChoice. Type The type of the tool. AssistantToolChoice Specifies a tool the model should use. Builder A builder for AssistantToolChoiceFunction. AssistantToolChoiceFunction Auto none
means the model will not call any tools and instead generates a message.AssistantToolChoiceOption Controls which (if any) tool is called by the model. Builder A builder for Thread. Builder A builder for Metadata. Metadata Set of 16 key-value pairs that can be attached to an object. Builder A builder for ToolResources. Builder A builder for CodeInterpreter. CodeInterpreter Builder A builder for FileSearch. FileSearch ToolResources A set of resources that are made available to the assistant's tools in this thread. Thread Represents a thread that contains messages. Builder A builder for ThreadCreateAndRunParams. Builder A builder for Body. Body Builder A builder for Metadata. Metadata Set of 16 key-value pairs that can be attached to an object. Builder A builder for Thread. Builder A builder for Message. Content The text contents of the message. Role The role of the entity that is creating the message. Builder A builder for Attachment. Tool Attachment Builder A builder for Metadata. Metadata Set of 16 key-value pairs that can be attached to an object. Message Builder A builder for Metadata. Metadata Set of 16 key-value pairs that can be attached to an object. Builder A builder for ToolResources. Builder A builder for CodeInterpreter. CodeInterpreter Builder A builder for FileSearch. Builder A builder for VectorStore. Builder A builder for StaticObject. Builder A builder for Static. Static StaticObject ChunkingStrategy The chunking strategy used to chunk the file(s). Builder A builder for Metadata. Metadata Set of 16 key-value pairs that can be attached to an object. VectorStore FileSearch ToolResources A set of resources that are made available to the assistant's tools in this thread. Thread Options to create a new thread. Builder A builder for ToolResources. Builder A builder for CodeInterpreter. CodeInterpreter Builder A builder for FileSearch. FileSearch ToolResources A set of resources that are used by the assistant's tools. Builder A builder for TruncationStrategy. Type The truncation strategy to use for the thread. TruncationStrategy Controls for how a thread will be truncated prior to the run. ThreadCreateAndRunParams Create a thread and run it in one request. Builder A builder for ThreadCreateParams. Builder A builder for Body. Body Options to create a new thread. Builder A builder for Message. Content The text contents of the message. Role The role of the entity that is creating the message. Builder A builder for Attachment. Tool Attachment Builder A builder for Metadata. Metadata Set of 16 key-value pairs that can be attached to an object. Message Builder A builder for Metadata. Metadata Set of 16 key-value pairs that can be attached to an object. Builder A builder for ToolResources. Builder A builder for CodeInterpreter. CodeInterpreter Builder A builder for FileSearch. Builder A builder for VectorStore. Builder A builder for StaticObject. Builder A builder for Static. Static StaticObject ChunkingStrategy The chunking strategy used to chunk the file(s). Builder A builder for Metadata. Metadata Set of 16 key-value pairs that can be attached to an object. VectorStore FileSearch ToolResources A set of resources that are made available to the assistant's tools in this thread. ThreadCreateParams Create a thread. Builder A builder for ThreadDeleteParams. ThreadDeleteParams Delete a thread. Builder A builder for ThreadDeleted. ThreadDeleted Builder A builder for ThreadRetrieveParams. ThreadRetrieveParams Retrieves a thread. Builder A builder for ThreadUpdateParams. Builder A builder for Body. Body Builder A builder for Metadata. Metadata Set of 16 key-value pairs that can be attached to an object. Builder A builder for ToolResources. Builder A builder for CodeInterpreter. CodeInterpreter Builder A builder for FileSearch. FileSearch ToolResources A set of resources that are made available to the assistant's tools in this thread. ThreadUpdateParams Modifies a thread. -
Enum Summary Enum Description Known An enum containing Type's known values. Value An enum containing Type's known values, as well as an _UNKNOWN member. Known An enum containing Auto's known values. Value An enum containing Auto's known values, as well as an _UNKNOWN member. Known An enum containing Role's known values. Value An enum containing Role's known values, as well as an _UNKNOWN member. Known An enum containing Type's known values. Value An enum containing Type's known values, as well as an _UNKNOWN member. Known An enum containing Role's known values. Value An enum containing Role's known values, as well as an _UNKNOWN member.