Skip to main content

Setup

Example

agent_with_knowledge.py

Async Support ⚡

PgVector also supports asynchronous operations, enabling concurrency and leading to better performance.

async_pgvector.py
Use aload() and aprint_response() methods with asyncio.run() for non-blocking operations in high-throughput applications.

PgVector Params