guidanceEasy Playground

Constrained generation and templating for language models

Getting started with guidanceRun locally
Install
pip install guidance
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: guidance)

guidance is a third-party package. Constrained generation and templating for language models. Install with: pip install guidance

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?