Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/craigomatic/sk-classifier

Runs classification against an input set of prompts
https://github.com/craigomatic/sk-classifier

Last synced: about 1 month ago
JSON representation

Runs classification against an input set of prompts

Awesome Lists containing this project

README

        

# sk-classifier
This small sample project shows how to perform basic classification on a series on prompts, against a pre-defined series of classifications using [Semantic Kernel](https://github.com/microsoft/semantic-kernel)

## Usage
1. Get your keys from Azure OpenAI and paste into [Program.cs](SkClassifier/Program.cs) - if you are using Open AI, you'll need to edit line 19.
2. Run the sample and observe the output:

image

Modify the classifications array and the toClassify array to match your scenario. Some adjustment to the [skprompt.txt](SkClassifier/skprompt.txt) may be required, depending on your scenario.