Giter Site home page Giter Site logo

xbotter / promptplayground Goto Github PK

View Code? Open in Web Editor NEW
24.0 4.0 3.0 2.1 MB

A simple Semantic Kernel semantic function debugging tool.

License: MIT License

C# 96.66% Batchfile 0.15% Inno Setup 3.20%
ai avalonia prompt prompt-engineering semantic-kernel

promptplayground's Introduction

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

The current model selection supports:

  1. Azure OpenAI ChatCompletion (gpt-35/gpt-4)
  2. OpenAI ChatCompletion
  3. Baidu ERNIE-Bot
  4. 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
  2. Expand the sidebar to see all Semantic Functions in the current folder
  3. Select the corresponding Function to edit and run

Screenshots

Interface screenshot

Build 🛠

  1. Install .NET 8 SDK
  2. Download the source code
  3. Run dotnet build

Roadmap 🚧

See Roadmap

Dependencies 📦

License 📃

This project is licensed under the MIT License - see the LICENSE file for details

promptplayground's People

Contributors

weihanli avatar xbotter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

promptplayground's Issues

📍 Roadmap

  • #3
  • #2
  • #8
  • Semantic Function Chains
  • 历史记录查询
  • #5
  • #6
  • 自动化结果测试
  • 多轮结果评估对比
  • 配置文件导入导出
  • Planner 调试
  • i18n
  • 技能收藏

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.