OpenAIThreadCreationOptions Class

Definition

Caution

Use the OpenAI.Assistants.AssistantClient.CreateThreadAsync() to create a thread.

Specifies thread creation options.

[System.Obsolete("Use the OpenAI.Assistants.AssistantClient.CreateThreadAsync() to create a thread.")]
public sealed class OpenAIThreadCreationOptions
[<System.Obsolete("Use the OpenAI.Assistants.AssistantClient.CreateThreadAsync() to create a thread.")>]
type OpenAIThreadCreationOptions = class
Public NotInheritable Class OpenAIThreadCreationOptions
Inheritance
OpenAIThreadCreationOptions
Attributes

Constructors

OpenAIThreadCreationOptions()

Properties

CodeInterpreterFileIds

Gets the optional file IDs made available to the code_interpreter tool, if enabled.

Messages

Gets the optional messages to initialize the thread with.

Metadata

Gets a set of up to 16 key/value pairs that can be attached to an agent, used for storing additional information about that object in a structured format.

VectorStoreId

Gets the vector store ID that enables file-search.

Applies to