Interface ILLMService
Definition
- Assembly:
- Tizen.AIAvatar.dll
Interface for a Large Language Model (LLM) service.
public interface ILLMService
Methods
View SourceGenerateTextAsync(string, Dictionary<string, object>)
Generates a response to the given message asynchronously.
Declaration
Task GenerateTextAsync(string message, Dictionary<string, object> options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The input message to be processed by the LLM. |
| Dictionary<, ><string, object> | options | Optional parameters for customizing the LLM output. |
Returns
| Type | Description |
|---|---|
| Task | A task representing the asynchronous operation. |
Events
View SourceResponseHandler
Occurs when a response is generated by the LLM service.
Declaration
event EventHandler<llmResponseEventArgs> ResponseHandler
Event Type
| Type | Description |
|---|---|
| EventHandler<><llmResponseEventArgs> |