SmartCalendarAdapter
Wisej.AI.Adapters.SmartCalendarAdapter
Last updated
Wisej.AI.Adapters.SmartCalendarAdapter
Last updated
Namespace: Wisej.AI.Adapters
Assembly: Wisej.AI (3.5.0.0)
Represents a smart calendar adapter that extends the functionality of a SmartAdapter.
The SmartCalendarAdapter class provides methods to process text or clipboard content asynchronously.
Initializes a new instance of the class.
This constructor initializes the SmartPrompt with a default prompt message.
Processes the content from the clipboard asynchronously.
This method reads text or image data from the clipboard and processes it asynchronously.
Throws:
Processes the specified text asynchronously.
text
The text to be processed.
This method sets the internal text and initiates the asynchronous processing.
Throws:
Executes the core logic of the adapter asynchronously.
control
The control associated with the operation.
This method uses a session to ask a question based on the provided text and tracks the usage.
Represents a provider that supplies tools.
Returns: . A task that represents the asynchronous operation.
Thrown when the adapter is busy.
Returns: . A task that represents the asynchronous operation.
Thrown when the text is null.
Thrown when the adapter is busy.
Returns: . A task that represents the asynchronous operation, containing the message response.