Share via


OpenAIAssistantExecutionOptions Class

Definition

Caution

Use RunCreationOptions to specify assistant invocation behavior.

Defines assistant execution options for each invocation.

[System.Obsolete("Use RunCreationOptions to specify assistant invocation behavior.")]
public sealed class OpenAIAssistantExecutionOptions
[<System.Obsolete("Use RunCreationOptions to specify assistant invocation behavior.")>]
type OpenAIAssistantExecutionOptions = class
Public NotInheritable Class OpenAIAssistantExecutionOptions
Inheritance
OpenAIAssistantExecutionOptions
Attributes

Remarks

These options are persisted as a single entry of the assistant's metadata with key: "__run_options".

Constructors

OpenAIAssistantExecutionOptions()

Properties

AdditionalInstructions

Gets the additional instructions.

MaxCompletionTokens

Gets the maximum number of completion tokens that can be used over the course of the run.

MaxPromptTokens

Gets the maximum number of prompt tokens that can be used over the course of the run.

ParallelToolCallsEnabled

Gets a value that indicates whether parallel function calling is enabled during tool use.

TruncationMessageCount

Gets the number of recent messages that the thread will be truncated to.

Applies to