Tutorial
Find your optimized system prompt automatically
Stop spending time on prompt iteration! Follow a few steps to automatically generate your optimized prompt.
Want to integrate even quicker? Try out Farsight AI on a Colab notebook here.
Note: To utilize our package, you must have access to an OpenAI API Key.
Setup A Python Environment
Go to the root directory of your project and create a virtual environment (if you don't already have one). In the CLI, run:
Installation
Install our library by running:
Suggested Starter Workflow
Fully automated approach: Utilize our fully automation prompt optimization function that generates, evaluates and iteratively improves system prompts based on your shadow traffic, evaluation rubric, and optional ground truth outputs.
We've provided an example of this suggested generation and evaluation process below.
Last updated