Class RunStepProvider
Simplifies implementation of HTTP operations for handling RunStep for AssistantsAPIv2.
Implements
IObjectProvider<RunStep>
Inherited Members
ObjectProvider<RunStep>.OnCreate
ObjectProvider<RunStep>.OnRetrieve
ObjectProvider<RunStep>.OnUpdate
ObjectProvider<RunStep>.OnList
ObjectProvider<RunStep>.OnDelete
ObjectProvider<RunStep>.CreateAsync(params object[])
ObjectProvider<RunStep>.RetrieveAsync(string, params object[])
ObjectProvider<RunStep>.RetrieveOrCreateAsync(string, params object[])
ObjectProvider<RunStep>.UpdateAsync(string, params object[])
ObjectProvider<RunStep>.ListAsync(params object[])
ObjectProvider<RunStep>.DeleteAsync(string, params object[])
Namespace: Glitch9.AIDevKit.OpenAI.Assistants
Assembly: .dll
Syntax
public class RunStepProvider : AssistantProviderBase<RunStep>, IObjectProvider<RunStep>
Constructors
RunStepProvider(AssistantsAPIv2)
Declaration
public RunStepProvider(AssistantsAPIv2 api)
Parameters
Type | Name | Description |
---|---|---|
AssistantsAPIv2 | api |
Methods
CreateInternalAsync(params object[])
Declaration
protected override UniTask<RunStep> CreateInternalAsync(params object[] args)
Parameters
Type | Name | Description |
---|---|---|
object[] | args |
Returns
Type | Description |
---|---|
UniTask<RunStep> |
Overrides
Glitch9.IO.Networking.RESTApi.ObjectProvider<Glitch9.AIDevKit.OpenAI.RunStep>.CreateInternalAsync(params object[])
DeleteInternalAsync(string, params object[])
Declaration
protected override UniTask<bool> DeleteInternalAsync(string id, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
string | id | |
object[] | args |
Returns
Type | Description |
---|---|
UniTask<bool> |
Overrides
Glitch9.IO.Networking.RESTApi.ObjectProvider<Glitch9.AIDevKit.OpenAI.RunStep>.DeleteInternalAsync(string, params object[])
ListInternalAsync(params object[])
Declaration
protected override UniTask<RunStep[]> ListInternalAsync(params object[] args)
Parameters
Type | Name | Description |
---|---|---|
object[] | args |
Returns
Type | Description |
---|---|
UniTask<RunStep[]> |
Overrides
Glitch9.IO.Networking.RESTApi.ObjectProvider<Glitch9.AIDevKit.OpenAI.RunStep>.ListInternalAsync(params object[])
RetrieveInternalAsync(string, params object[])
Declaration
protected override UniTask<RunStep> RetrieveInternalAsync(string id, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
string | id | |
object[] | args |
Returns
Type | Description |
---|---|
UniTask<RunStep> |
Overrides
Glitch9.IO.Networking.RESTApi.ObjectProvider<Glitch9.AIDevKit.OpenAI.RunStep>.RetrieveInternalAsync(string, params object[])
UpdateInternalAsync(string, params object[])
Declaration
protected override UniTask<RunStep> UpdateInternalAsync(string id, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
string | id | |
object[] | args |
Returns
Type | Description |
---|---|
UniTask<RunStep> |
Overrides
Glitch9.IO.Networking.RESTApi.ObjectProvider<Glitch9.AIDevKit.OpenAI.RunStep>.UpdateInternalAsync(string, params object[])
Implements
Glitch9.IO.Networking.RESTApi.IObjectProvider<T>