Class AssistantRunner
- Namespace
- Ant
Runner Lib
- Assembly
- AntRunnerLib.dll
Responsible for running assistant threads through interaction with various utilities.
- Inheritance
-
System.
Object AssistantRunner
- Inherited Members
-
System.
Object. Equals(System. Object) System.Object. Equals(System. Object, System. Object) System.Object. Get Hash Code() System.Object. Get Type() System.Object. Memberwise Clone() System.Object. Reference Equals(System. Object, System. Object) System.Object. To String()
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
AssistantRun Options The options for running the assistant.
config
AzureOpen AIConfig The configuration for Azure OpenAI.
Returns
- Task<Thread
Run >Output The output of the thread run including possible additional run output from addtional messages when using the default evaluator