Freigeben über


OpenAIAssistantDefinition Class

Definition

Defines an assistant.

public sealed class OpenAIAssistantDefinition
type OpenAIAssistantDefinition = class
Public NotInheritable Class OpenAIAssistantDefinition
Inheritance
OpenAIAssistantDefinition

Constructors

OpenAIAssistantDefinition(String)

Initializes a new instance of the OpenAIAssistantDefinition class.

Properties

CodeInterpreterFileIds

Optional file-ids made available to the code_interpreter tool, if enabled.

Description

The description of the assistant.

EnableCodeInterpreter

Set if code-interpreter is enabled.

EnableFileSearch

Set if file-search is enabled.

EnableJsonResponse

Set if json response-format is enabled.

ExecutionOptions

Default execution options for each agent invocation.

Id

The assistant's unique id. (Ignored on create.)

Instructions

The system instructions for the assistant to use.

Metadata

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.Keys may be up to 64 characters in length and values may be up to 512 characters in length.

ModelId

Identifies the AI model targeted by the agent.

Name

The name of the assistant.

Temperature

The sampling temperature to use, between 0 and 2.

TopP

An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.

VectorStoreId

Requires file-search if specified.

Applies to