Class RunService
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public sealed class RunService : CrudServiceBase<OpenAIClient>, ICrudService, IBetaService
Constructors
|
Edit this page
View Source
RunService(OpenAIClient)
Declaration
public RunService(OpenAIClient client)
Parameters
Properties
|
Edit this page
View Source
Steps
Declaration
public RunStepService Steps { get; }
Property Value
Methods
|
Edit this page
View Source
CancelAsync(string, string, RequestOptions)
Declaration
public UniTask<Run> CancelAsync(string threadId, string runId, RequestOptions options = null)
Parameters
Returns
| Type |
Description |
| UniTask<Run> |
|
|
Edit this page
View Source
CreateAsync(string, RunRequest, RequestOptions)
Declaration
public UniTask<Run> CreateAsync(string threadId, RunRequest request, RequestOptions options = null)
Parameters
Returns
| Type |
Description |
| UniTask<Run> |
|
|
Edit this page
View Source
ListAsync(string, CursorQuery, RequestOptions)
Declaration
public UniTask<Queried<Run>> ListAsync(string threadId, CursorQuery query = null, RequestOptions options = null)
Parameters
Returns
|
Edit this page
View Source
RetrieveAsync(string, string, RequestOptions)
Declaration
public UniTask<Run> RetrieveAsync(string threadId, string runId, RequestOptions options = null)
Parameters
Returns
| Type |
Description |
| UniTask<Run> |
|
|
Edit this page
View Source
StreamAsync(string, RunRequest, RequestOptions)
Declaration
public IGenerativeStream<AssistantsApiEvent, ThreadMessage> StreamAsync(string threadId, RunRequest request, RequestOptions options = null)
Parameters
Returns
|
Edit this page
View Source
Declaration
public UniTask<Run> SubmitToolOutputsAsync(string threadId, string runId, ToolOutputSubmissionRequest request, RequestOptions options = null)
Parameters
Returns
| Type |
Description |
| UniTask<Run> |
|
|
Edit this page
View Source
UpdateAsync(string, string, RunRequest, RequestOptions)
Declaration
public UniTask<Run> UpdateAsync(string threadId, string runId, RunRequest request, RequestOptions options = null)
Parameters
Returns
| Type |
Description |
| UniTask<Run> |
|
Implements
Extension Methods