Project Overview
Backend:
Uses Flask along with LangChain for retrieval-augmented generation. The backend:- Loads data from a technical courses webpage using
WebBaseLoader. - Splits and processes the text with
RecursiveCharacterTextSplitter. - Creates embeddings with
HuggingFaceEmbeddingsand stores them in a FAISS vector store. - Sets up a retrieval-based QA chain using
RetrievalQAwith ChatGroq. - Formats responses in Markdown for improved readability.
- Provides a
/chatendpoint to process chat requests.
- Loads data from a technical courses webpage using
Frontend:
Uses React to create a modern, responsive chat UI. The frontend:- Sends user queries to the Flask backend via axios.
- Receives responses and renders them using
ReactMarkdownfor proper markdown format
Built With
- chatgroq
- flask
- javascript
- langchain
- react
Log in or sign up for Devpost to join the conversation.