Skip to main content
AsyncPostgresDb stores a Team’s sessions and run history asynchronously in PostgreSQL. Use async Team methods such as arun() and aprint_response().

Usage

Install the sqlalchemy, psycopg, openai, and ddgs packages:

Run PostgreSQL

Install Docker Desktop, then start PostgreSQL with pgvector on port 5532:
async_postgres_for_team.py

Parameters