shamspias/langchain-chat
langchain-chat is an AI-driven Q&A system that leverages OpenAI's GPT-4 model and FAISS for efficient document indexing. It loads and splits documents from websites or PDFs, remembers conversations, and provides accurate, context-aware answers based on the indexed data. Easy to set up and extend.
Built on LangChain framework, it chains OpenAI's GPT-4 with FAISS vector embeddings to enable semantic similarity search across indexed documents, supporting multi-turn conversations with conversation history persistence. The system accepts website URLs and PDFs as data sources, automatically chunks documents for embedding, and retrieves relevant context before generating responses. Configuration via environment variables (`OPEN_AI_KEY`, `WEBSITE_URLS`) allows flexible deployment without code changes.
No commits in the last 6 months.
Stars
90
Forks
15
Language
Python
License
—
Category
Last pushed
Oct 11, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/vector-db/shamspias/langchain-chat"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
biocypher/biochatter
Backend library for conversational AI in biomedicine
7-docs/7-docs
Use local files or public GitHub repository as a source and ask questions through ChatGPT about it
pgalko/BambooAI
A Python library powered by Language Models (LLMs) for conversational data discovery and analysis.
redis-developer/ArXivChatGuru
Use ArXiv ChatGuru to talk to research papers. This app uses LangChain, OpenAI, Streamlit, and...
redis-developer/LLM-Document-Chat
Using LlamaIndex, Redis, and OpenAI to chat with PDF documents. Supplementary material for blog...