Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xbotter/promptplayground
A simple Semantic Kernel semantic function debugging tool.
https://github.com/xbotter/promptplayground
ai avalonia prompt prompt-engineering semantic-kernel
Last synced: 13 days ago
JSON representation
A simple Semantic Kernel semantic function debugging tool.
- Host: GitHub
- URL: https://github.com/xbotter/promptplayground
- Owner: xbotter
- License: mit
- Created: 2023-07-11T06:18:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-06T13:59:04.000Z (10 months ago)
- Last Synced: 2025-01-19T03:09:04.566Z (15 days ago)
- Topics: ai, avalonia, prompt, prompt-engineering, semantic-kernel
- Language: C#
- Homepage:
- Size: 2.05 MB
- Stars: 30
- Watchers: 4
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Prompt Playground
A simple Semantic Kernel prompt debugging tool.
## How to use 🐣
### Download and Install
1. Download the latest installation package from Release.
2. Install and run `prompt-playground.exe`.### First-time use
You need to enter the configuration settings for the first time.
Click on the configuration in the menu to enter the configuration interface.
![Configuration](assets/README/image-5.png)The current model selection supports:
1. Azure OpenAI ChatCompletion (gpt-35/gpt-4)
1. OpenAI ChatCompletion
1. Baidu ERNIE-Bot
1. Aliyun DashScope`Generation quantity` refers to the maximum number of results generated, the default is 3.
Fill in the corresponding parameters and close.
### Direct use
Enter the prompt directly in the prompt box on the main interface, and click `Generate` (Ctrl+G/Ctrl+Enter).
### Import skprompt
Click the `Open File` button on the menu bar, select the skprompt.txt file, and the prompt will be automatically imported, and the corresponding config.json file will be imported at the same time.
For skprompts without a config.json file, a default config.json file will be automatically created.
Click the Tab above the input box to switch to the config.json editing interface.
### Save skprompt
After modifying the skprompt.txt or config.json file, click the Save (Ctrl+S) button to save to the corresponding file.
## Import Semantic Plugin
1. Click on the menu bar, select [Open Folder], and choose the folder containing Semantic Functions
1. Expand the sidebar to see all Semantic Functions in the current folder
1. Select the corresponding Function to edit and run## Screenshots
![Interface screenshot](assets/README/image-4.png)
## Build 🛠
1. Install .NET 8 SDK
2. Download the source code
3. Run `dotnet build`## Roadmap 🚧
See [Roadmap](https://github.com/xbotter/PromptPlayground/issues/1)
## Dependencies 📦
- [AvaloniaUI](https://github.com/AvaloniaUI/Avalonia)
- [Semi.Avalonia](https://github.com/irihitech/Semi.Avalonia)
- [AvaloniaEdit](https://github.com/AvaloniaUI/AvaloniaEdit)
- [Icons.Avalonia](https://github.com/Projektanker/Icons.Avalonia)
- [Semantic-Kernel](https://github.com/microsoft/semantic-kernel)
- [semantic-kernel-ERNIE-Bot](https://github.com/custouch/semantic-kernel-ERNIE-Bot)## License 📃
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details