Skip to main content

Code

structured_output.py

Usage

1

Set up your virtual environment

2

Install LlamaCpp

Follow the LlamaCpp installation guide and start the server:
3

Install dependencies

4

Run Agent

Save the code above as structured_output.py, then run: