Table of Contents

Class AssistantRunner

Namespace
AntRunnerLib
Assembly
AntRunnerLib.dll

Responsible for running assistant threads through interaction with various utilities.

public class AssistantRunner
Inheritance
System.Object
AssistantRunner
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

Methods

RunThread(AssistantRunOptions, AzureOpenAIConfig)

Runs the assistant thread with the specified run options and configuration. It manages the lifecycle of an assistant run, handles required actions, and optionally evaluates conversations.

public static async Task<ThreadRunOutput> RunThread(AssistantRunOptions assistantRunOptions, AzureOpenAIConfig config)

Parameters

assistantRunOptions AssistantRunOptions

The options for running the assistant.

config AzureOpenAIConfig

The configuration for Azure OpenAI.

Returns

Task<ThreadRunOutput>

The output of the thread run including possible additional run output from addtional messages when using the default evaluator