Skip to content

Use explicit SQL without an ORM

The PostgreSQL examples use psycopg and explicit SQL so learners can inspect full-text search, pgvector operators, metadata filters, and hybrid ranking directly. An ORM would reduce routine persistence code but obscure the retrieval behavior being taught.