Skip to content

Commit

Permalink
add the missing import in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mertyg committed Jul 20, 2024
1 parent 1cdcbe5 commit 9ed7bdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ Output:
TextGrad can also optimize prompts in PyTorch style! Here's how to do it with TextGrad, using GPT-4o for feedback, and optimizing a prompt for gpt-3.5-turbo:
```python
import textgrad as tg
from textgrad.tasks import load_task

llm_engine = tg.get_engine("gpt-3.5-turbo")
tg.set_backward_engine("gpt-4o")

Expand Down

0 comments on commit 9ed7bdf

Please sign in to comment.