Skip to main content

Code

knowledge.py
Vercel retired the v0 Model API endpoint (https://api.v0.dev/v1/) that this integration targets, in favor of the Platform API. Requests made with V0 will fail until Agno updates this integration. See Vercel’s community announcement.
PgVector defaults to OpenAIEmbedder for embeddings, so this example also needs OPENAI_API_KEY.

Usage

1

Set up your virtual environment

2

Set your API keys

3

Install dependencies

4

Run PgVector

5

Run Agent

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