Class MessageService
Inheritance
MessageService
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public sealed class MessageService : CrudServiceBase<OpenAIClient>, ICrudService, IBetaService
Constructors
|
Edit this page
View Source
MessageService(OpenAIClient)
Declaration
public MessageService(OpenAIClient client)
Parameters
Methods
|
Edit this page
View Source
CreateAsync(string, ThreadMessageRequest, RequestOptions)
Declaration
public UniTask<ThreadMessage> CreateAsync(string threadId, ThreadMessageRequest request, RequestOptions options = null)
Parameters
Returns
|
Edit this page
View Source
DeleteAsync(string, string, RequestOptions)
Declaration
public UniTask<DeletionStatus> DeleteAsync(string threadId, string messageId = null, RequestOptions options = null)
Parameters
Returns
|
Edit this page
View Source
ListAsync(string, CursorQuery, RequestOptions)
Declaration
public UniTask<Queried<ThreadMessage>> ListAsync(string threadId, CursorQuery query = null, RequestOptions options = null)
Parameters
Returns
|
Edit this page
View Source
ListFilesAsync(string, string, CursorQuery, RequestOptions)
Declaration
public UniTask<Queried<MessageFile>> ListFilesAsync(string threadId, string messageId, CursorQuery query = null, RequestOptions options = null)
Parameters
Returns
|
Edit this page
View Source
RetrieveAsync(string, string, RequestOptions)
Declaration
public UniTask<ThreadMessage> RetrieveAsync(string threadId, string messageId, RequestOptions options = null)
Parameters
Returns
|
Edit this page
View Source
RetrieveFileAsync(string, string, string, RequestOptions)
Declaration
public UniTask<MessageFile> RetrieveFileAsync(string threadId, string messageId, string fileId, RequestOptions options = null)
Parameters
Returns
|
Edit this page
View Source
UpdateAsync(string, string, ThreadMessageRequest, RequestOptions)
Declaration
public UniTask<ThreadMessage> UpdateAsync(string threadId, string messageId, ThreadMessageRequest request, RequestOptions options = null)
Parameters
Returns
Implements
Extension Methods