A practice project to learn more about how to incorporate RAG into an OpenAI chatbot. This project uses the following:
- NextJS
- Vercel's AI SDK
- OpenAI (LLM and embedding models)
- RAG (from a few example URLs, which I used Puppeteer/LangChain to scrape)
- DataStax Astra (for storing the RAG data)
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.