Share via


OpenAIAssistantCapabilities Class

Definition

Caution

Use the OpenAI.Assistants.AssistantClient.CreateAssistantAsync() to create an assistant definition.

Defines the capabilities of an assistant.

[System.Obsolete("Use the OpenAI.Assistants.AssistantClient.CreateAssistantAsync() to create an assistant definition.")]
public class OpenAIAssistantCapabilities
[<System.Obsolete("Use the OpenAI.Assistants.AssistantClient.CreateAssistantAsync() to create an assistant definition.")>]
type OpenAIAssistantCapabilities = class
Public Class OpenAIAssistantCapabilities
Inheritance
OpenAIAssistantCapabilities
Derived
Attributes

Constructors

OpenAIAssistantCapabilities(String)

Initializes a new instance of the OpenAIAssistantDefinition class.

Properties

CodeInterpreterFileIds

Gets optional file IDs made available to the code-interpreter tool, if enabled.

EnableCodeInterpreter

Gets a value that indicates whether the code-interpreter tool is enabled.

EnableFileSearch

Gets a value that indicates whether the file_search tool is enabled.

EnableJsonResponse

Gets a value that indicates whether the JSON response format is enabled.

ExecutionOptions

Gets the default execution options for each agent invocation.

Id

Gets the assistant's unique ID. (Ignored on create.)

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.

ModelId

Gets the AI model targeted by the agent.

Temperature

Gets the sampling temperature to use, between 0 and 2.

TopP

Gets the probability mass of tokens whose results are considered in nucleus sampling.

VectorStoreId

Gets the vector store ID. Requires file-search if specified.

Applies to