+

The useChat hook along with the streamText function allows you to build applications with retrieval augmented generation (RAG) capabilities. Data is stored as vector embeddings using DrizzleORM and PostgreSQL.

Learn how to build this project by following this guide.