How krishnaik06/updated-langchain works
This repository is a collection of LangChain demos: interactive chat, document-question-answering apps, and a small HTTP API with a Streamlit client. The main document workflow loads web or PDF material, splits it into chunks, creates embeddings and a vector store, retrieves relevant context, and generates an answer. The graph separates the demos because the sampled code does not show them sharing runtime components. README documentation is minimal; unsampled notebooks and integrations are not expanded beyond what the tree supports.
Main entry points: objectbox/app.py ObjectBox RAG · groq/app.py Web RAG demo · llama3.py PDF RAG demo · api/app.py LangServe API
Components 25
Chat demos
- OpenAI chat
chatbot/app.py - Ollama chat
chatbot/localama.py
Document Q&A
- Web RAG demo
groq/app.py - PDF RAG demo
groq/llama3.py - ObjectBox RAG
objectbox/app.py - Web loader
groq/app.py - PDF loader
groq/llama3.py - PDF loader
objectbox/app.py - Chunk splitter
groq/app.py - Chunk splitter
groq/llama3.py - Chunk splitter
objectbox/app.py - FAISS store
groq/app.py - FAISS store
groq/llama3.py - ObjectBox store
objectbox/app.py - Retrieval chain
groq/app.py - Retrieval chain
groq/llama3.py - Retrieval chain
objectbox/app.py
HTTP API
- Streamlit client
api/client.py - LangServe API
api/app.py
External services
- OpenAI
- Ollama
- Groq models
Other components
- User
- LangSmith docs
- Census PDFs
Connections 33
- User → OpenAI chat: asks
chatbot/app.py - User → Ollama chat: asks
chatbot/localama.py - User → Web RAG demo: asks
groq/app.py - User → PDF RAG demo: asks
groq/llama3.py - User → ObjectBox RAG: asks
objectbox/app.py - User → Streamlit client: enters prompts
api/client.py - OpenAI chat → OpenAI: invokes model
chatbot/app.py - Ollama chat → Ollama: invokes model
chatbot/localama.py - Web RAG demo → Web loader: loads pages
groq/app.py - LangSmith docs → Web loader: provides pages
groq/app.py - Web RAG demo → Chunk splitter: splits documents
groq/app.py - Web RAG demo → FAISS store: embeds and stores
groq/app.py - Web RAG demo → Retrieval chain: builds and invokes
groq/app.py - Retrieval chain → FAISS store: retrieves context
groq/app.py - Web RAG demo → Groq models: generates answer
groq/app.py - PDF RAG demo → PDF loader: loads PDFs
groq/llama3.py - Census PDFs → PDF loader: provides PDFs
groq/llama3.py - PDF RAG demo → Chunk splitter: splits documents
groq/llama3.py - PDF RAG demo → FAISS store: embeds and stores
groq/llama3.py - PDF RAG demo → Retrieval chain: builds and invokes
groq/llama3.py - Retrieval chain → FAISS store: retrieves context
groq/llama3.py - PDF RAG demo → Groq models: generates answer
groq/llama3.py - ObjectBox RAG → PDF loader: loads PDFs
objectbox/app.py - Census PDFs → PDF loader: provides PDFs
objectbox/app.py - ObjectBox RAG → Chunk splitter: splits documents
objectbox/app.py - ObjectBox RAG → ObjectBox store: embeds and stores
objectbox/app.py - ObjectBox RAG → Retrieval chain: builds and invokes
objectbox/app.py - Retrieval chain → ObjectBox store: retrieves context
objectbox/app.py - ObjectBox RAG → Groq models: generates answer
objectbox/app.py - ObjectBox RAG → OpenAI: creates embeddings
objectbox/app.py - Streamlit client → LangServe API: posts prompts
api/client.py - LangServe API → OpenAI: routes requests
api/app.py - LangServe API → Ollama: routes poems
api/app.py