Class ChatService
Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
Syntax
public class ChatService : CrudServiceBase<CohereClient>, ICrudService
Constructors
|
Edit this page
View Source
ChatService(CohereClient)
Declaration
public ChatService(CohereClient client)
Parameters
Methods
|
Edit this page
View Source
CreateAsync(CohereChatRequest, RequestOptions)
Declaration
public UniTask<CohereChatResponse> CreateAsync(CohereChatRequest request, RequestOptions options = null)
Parameters
Returns
|
Edit this page
View Source
StreamAsync(CohereChatRequest, RequestOptions)
Declaration
public IGenerativeStream<Delta<ITextChunk>, ChatChoice> StreamAsync(CohereChatRequest request, RequestOptions options = null)
Parameters
Returns
Implements
Extension Methods