Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
An AI chatbot for expert answers on university degrees, built with Vercel AI SDK, Langchain, Upstash Vector, and OpenAI.
DegreeGuru is an open-source project demonstrating how to build a Retrieval-Augmented Generation (RAG) AI chatbot using the Vercel AI SDK, Langchain, Upstash Vector, and OpenAI. It's designed to provide expert answers on custom data, exemplified by university degrees.
Key features include:
crawler.yaml configuration.The technical stack comprises:
gpt-3.5-turbo-1106 for generating expert responses.text-embedding-ada-002 for creating vector representations of text.The project provides a comprehensive quickstart guide for local development, covering environment setup (Upstash Vector, Upstash Redis, OpenAI API keys), Python library installation, and crawler configuration via crawler.yaml and settings.py. A Docker-compose option is also available for simplified deployment. Users can customize the chatbot's behavior, including streaming modes and the AGENT_SYSTEM_TEMPLATE, to tailor it to specific use cases. While robust, current limitations include the UpstashVectorStore being a work-in-progress within Langchain, potential message history issues in non-streaming mode, and challenges in explicitly displaying sources during streaming.