Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matthewbolanos/semantic-kernel-from-config
Provides an example of how you could extend Semantic Kernel to support config files for agents and plugins.
https://github.com/matthewbolanos/semantic-kernel-from-config
Last synced: about 2 months ago
JSON representation
Provides an example of how you could extend Semantic Kernel to support config files for agents and plugins.
- Host: GitHub
- URL: https://github.com/matthewbolanos/semantic-kernel-from-config
- Owner: matthewbolanos
- Created: 2023-06-19T11:29:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-19T11:39:52.000Z (over 1 year ago)
- Last Synced: 2024-08-01T13:19:21.192Z (4 months ago)
- Language: C#
- Size: 147 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-semantickernel - Semantic Kernel From Config
README
# Semantic Kernel From Config
This project demonstrates some proposed feature enhancements to Semantic Kernel to improve the development experience of using it.
## Features
![Features of repo](./FeaturesOfRepo.png)
This repo highlights three main additional features to Semantic Kernel:
1. Provides an opinionated folder structure to organize configuration files Semantic Kernel and its plugins. The folder structure notably adds a section for tests so users can author semantic tests for their agents and plugins.
2. Provides an initial draft proposal of each configuration file. Pictured above is the _agent.yaml_ file which describes the top level configuration for Semantic Kernel. There are also yaml files for each custom plugin.
3. Provides an chat GUI within the terminal for users to interact with their agents. This GUI is powered by the [Terminal.Gui](https://github.com/gui-cs/Terminal.Gui) library and makes it easier and faster to quickly test and debug agents along side the debug console.## Prerequisites
- [.NET 6](https://dotnet.microsoft.com/download/dotnet/6.0) is required to run this starter.
- Install the recommended extensions
- [C#](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp)
- [Semantic Kernel Tools](https://marketplace.visualstudio.com/items?itemName=ms-semantic-kernel.semantic-kernel)## Configuring the project
To configure the project, copy the [agent.dev.yaml.example](./Configuration/Agents/ChatAgent/agent.dev.yaml.example) file to _./Configuration/Agents/DocumentExpert/agent.dev.yaml_ and edit the file to add your OpenAI endpoint configuration.
## Running the project
To run the console application just hit `F5` in VS Code.
To build and run the console application from the terminal use the following commands:
```powershell
dotnet build
dotnet run
```