Skip to content

Commit 7519189

Browse files
Update README.md
1 parent d4d034e commit 7519189

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/prompt/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ This example uses `gpt-4o-mini` via the OpenAI API by default. Ensure your `OPEN
2727
# Ensure you have weco installed: pip install weco
2828
pip install openai datasets # Add any other dependencies if needed
2929
```
30-
3. **Set your OpenAI API Key.**
31-
```bash
32-
export OPENAI_API_KEY="your_openai_api_key_here"
33-
```
30+
3. **Set your Google Gemini API Key.**
31+
`export GEMINI_API_KEY="your_key_here"` (Google AI Studio has a free API usage quota. Create a key [here](https://aistudio.google.com/apikey) to use `weco` for free.)
3432
4. **Run Weco.** The command below iteratively modifies `EXTRA_INSTRUCTIONS` in `optimize.py`, runs `eval.py` to evaluate the prompt's effectiveness, reads the printed accuracy, and keeps the best prompt variations found.
3533
```bash
3634
weco run --source optimize.py \

0 commit comments

Comments
 (0)