Udostępnij za pośrednictwem


OpenAIAssistantExecutionOptions Class

Definition

Defines assistant execution options for each invocation.

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

Remarks

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

Constructors

OpenAIAssistantExecutionOptions()

Properties

AdditionalInstructions

Appends additional instructions.

MaxCompletionTokens

The maximum number of completion tokens that may be used over the course of the run.

MaxPromptTokens

The maximum number of prompt tokens that may be used over the course of the run.

ParallelToolCallsEnabled

Enables parallel function calling during tool use. Enabled by default. Use this property to disable.

TruncationMessageCount

When set, the thread will be truncated to the N most recent messages in the thread.

Applies to