Class AssistantRunner
- Namespace
- AntRunnerLib
- Assembly
- AntRunnerLib.dll
Responsible for running assistant threads through interaction with various utilities.
public class AssistantRunner
- Inheritance
-
System.ObjectAssistantRunner
- 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
assistantRunOptionsAssistantRunOptionsThe options for running the assistant.
configAzureOpenAIConfigThe 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