Ecosyste.ms: Awesome

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

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

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

Last synced: 27 days ago
JSON representation

Runs classification against an input set of prompts

Lists

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.