SmartCopilotAdapter
Wisej.AI.Adapters.SmartCopilotAdapter
Last updated
Wisej.AI.Adapters.SmartCopilotAdapter
Last updated
Namespace: Wisej.AI.Adapters
Assembly: Wisej.AI (3.5.0.0)
Turns the control into a AI-powered assistant. It can control and navigate an application, click menu items, navigation bar items, buttons, etc. It can also invoke methods in your applications as needed (see ).
Works with:
AzureAI/OpenAI gpt-4
AzureAI/OpenAI gpt-4o
AzureAI/OpenAI gpt-3.5
AzureAI/Anthropic Claude
Google Gemini
Llama3:8b and 70b
When the user instructions contain extra information (i.e. "add Microsoft as a new client"), the additional parameters are extracted, processed and are available in the property delivered with the event arguments. You are not limited to the predefined actions in the application. When you add a method decorated with the the AI can invoke it when necessary. This is a simple example that sends an email when prompted by the user:
control
control
e
Executes the core logic asynchronously.
control
The control associated with the operation.
Represents a provider that supplies tools.
Initializes a new instance of the class.
: Gets or sets the icon of the AI bot. (Default: "resource.wx/Wisej.AI/Icons/wisej-avatar.svg"
)
: Gets or sets the name of the AI bot. (Default: "Wisej.AI"
)
: Gets the control associated with this adapter.
: Gets the User associated with the AI bot.
The User is created using and .
Raises the event.
The instance containing the event data.
Returns: . A task representing the asynchronous operation.
Occurs when an action is executed.