-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for nuget package publishing
- Loading branch information
Showing
19 changed files
with
276 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,34 @@ | ||
This project contains a .NET connector allowing to connect .NET agents and assistants to Semantic Workbench. | ||
# Semantic Workbench | ||
|
||
The repository contains some [examples](../../examples/) using this connector. | ||
Semantic Workbench is a versatile tool designed for quickly prototyping intelligent assistants. Whether you're building | ||
new assistants or integrating existing ones, the workbench offers a unified interface for managing conversations, | ||
configuring settings, and customizing behavior. | ||
|
||
# Connector | ||
|
||
The Connector allows to seamlessly integrate .NET agents, built with any framework, into Semantic Workbench. By using | ||
HTTP for communication, the connector enables your agent to handle instructions and exchange data with both the | ||
frontend and backend of Semantic Workbench. | ||
|
||
# Setup Guide | ||
|
||
To integrate your agent: | ||
|
||
1. Add the `Microsoft.SemanticWorkbench.Connector` nuget to the .NET project containing your agent. | ||
|
||
2. **Define an agent configuration**: Create a configuration class for your agent. This can be empty if no configuration | ||
is needed from the workbench UI. | ||
|
||
3. **Extend Agent Functionality**: Inherit from `Microsoft.SemanticWorkbench.Connector.AgentBase` and implement the | ||
`GetDefaultConfig` and `ParseConfig` methods in your agent class. Examples are available in the repository. | ||
|
||
4. **Create a Connector**: Implement `Microsoft.SemanticWorkbench.Connector.WorkbenchConnector` and its | ||
`CreateAgentAsync` method to allow the workbench to create multiple agent instances. | ||
|
||
5. Start a `Microsoft.SemanticWorkbench.Connector.WorkbenchConnector` calling the `ConnectAsync` method. | ||
|
||
6. Start a Web service using the endpoints defined in `Microsoft.SemanticWorkbench.Connector.Webservice`. | ||
|
||
# Examples | ||
|
||
Find sample .NET agents and assistants using this connector in the [official repository](https://github.com/microsoft/semanticworkbench/tree/main/examples). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
assistant-connector/dotnet/WorkbenchConnector/Models/Command.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
assistant-connector/dotnet/WorkbenchConnector/Models/Conversation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
assistant-connector/dotnet/WorkbenchConnector/Models/ConversationEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
assistant-connector/dotnet/WorkbenchConnector/Models/DebugInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
assistant-connector/dotnet/WorkbenchConnector/Storage/IAgentServiceStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
assistant-connector/dotnet/WorkbenchConnector/WorkbenchConfig.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.