Below you’ll find an overview of each file, what it showcases, and links to the actual code. You can run these examples (assuming you’ve installed FlashLearn and set your “OPENAI_API_KEY”) simply by using:
- Clone or download the FlashLearn repository (or just copy the examples folder).
- Install FlashLearn:
pip install flashlearn
- Set your “OPENAI_API_KEY” (or other provider keys) in your environment:
export OPENAI_API_KEY="YOUR_API_KEY"
- Navigate to the “examples” folder and pick any script. Then run, for example:
python sentiment_classification.py
- Check the console output and JSON results files (e.g., “results.jsonl”).