Uses of Class
com.azure.ai.openai.assistants.models.ThreadRun
Packages that use ThreadRun
Package
Description
Package containing the classes for Assistants.
Package containing the data models for Assistants.
-
Uses of ThreadRun in com.azure.ai.openai.assistants
Methods in com.azure.ai.openai.assistants that return ThreadRunModifier and TypeMethodDescriptionCancels a run of an in progress thread.AssistantsClient.createRun
(AssistantThread thread, Assistant assistant) Creates a new run for an assistant thread.AssistantsClient.createRun
(String threadId, CreateRunOptions createRunOptions) Creates a new run for an assistant thread.AssistantsClient.createRun
(String threadId, CreateRunOptions createRunOptions, List<RunIncludes> runInclude) Creates a new run for an assistant thread with additional run include parameters.AssistantsClient.createThreadAndRun
(CreateAndRunThreadOptions createAndRunThreadOptions) Creates a new assistant thread and immediately starts a run using that new thread.Gets an existing run from an existing thread.AssistantsClient.submitToolOutputsToRun
(String threadId, String runId, List<ToolOutput> toolOutputs) Submits outputs from tools as requested by tool calls in a run.Modifies an existing thread run.Modifies an existing thread run.Methods in com.azure.ai.openai.assistants that return types with arguments of type ThreadRunModifier and TypeMethodDescriptionCancels a run of an in progress thread.AssistantsAsyncClient.createRun
(AssistantThread thread, Assistant assistant) Creates a new run for an assistant thread.AssistantsAsyncClient.createRun
(String threadId, CreateRunOptions createRunOptions) Creates a new run for an assistant thread.AssistantsAsyncClient.createRun
(String threadId, CreateRunOptions createRunOptions, List<RunIncludes> runInclude) Creates a new run for an assistant thread with additional included fields.AssistantsAsyncClient.createThreadAndRun
(CreateAndRunThreadOptions createAndRunThreadOptions) Creates a new assistant thread and immediately starts a run using that new thread.Gets an existing run from an existing thread.Gets a list of runs for a specified thread.AssistantsAsyncClient.listRuns
(String threadId, Integer limit, ListSortOrder order, String after, String before) Gets a list of runs for a specified thread.Gets a list of runs for a specified thread.AssistantsClient.listRuns
(String threadId, Integer limit, ListSortOrder order, String after, String before) Gets a list of runs for a specified thread.AssistantsAsyncClient.submitToolOutputsToRun
(String threadId, String runId, List<ToolOutput> toolOutputs) Submits outputs from tools as requested by tool calls in a run.Modifies an existing thread run.Modifies an existing thread run. -
Uses of ThreadRun in com.azure.ai.openai.assistants.models
Methods in com.azure.ai.openai.assistants.models that return ThreadRunModifier and TypeMethodDescriptionstatic ThreadRun
ThreadRun.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ThreadRun from the JsonReader.StreamRequiredAction.getMessage()
Get the message detailing the action required by the service.StreamThreadRunCreation.getMessage()
Get the thread run with the update sent by the service.Constructors in com.azure.ai.openai.assistants.models with parameters of type ThreadRunModifierConstructorDescriptionStreamRequiredAction
(ThreadRun action, AssistantStreamEvent kind) Creates a new instance of StreamRequiredAction.StreamThreadRunCreation
(ThreadRun threadRun, AssistantStreamEvent kind) Creates a new instance of StreamThreadRunCreation.