Skip to main content
For free and developer tiers, Groq will shut down llama-3.3-70b-versatile on August 16, 2026. Replace it with openai/gpt-oss-120b before that date. See Groq deprecations.
db.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your Groq API key

4

Run PgVector

5

Replace Llama 3.3

Replace llama-3.3-70b-versatile with openai/gpt-oss-120b in the saved file.
6

Run the example

Save the code above as db.py, then run:
Full source: cookbook/90_models/groq/db.py