How backblaze-b2-samples/ai-rag-examples works
This repository is a pair of notebook-based LLM demonstrations, not a packaged application. The principal workflow is the RAG notebook: a user asks a question, the notebook uses PDF context from Backblaze B2 and conversation history to generate a response. A separate notebook demonstrates local GPT4All question answering without custom context. The README documents these capabilities, but notebook source was not provided, so internal component boundaries and implementation-level calls cannot be verified.
Main entry points: rag_demo.ipynb RAG chatbot · gpt4all_demo.ipynb GPT4All demo
Components 8
LLM demos
- GPT4All demo
gpt4all_demo.ipynb - RAG chatbot
rag_demo.ipynb
RAG workflow
- PDF context
rag_demo.ipynb - Message history
rag_demo.ipynb
External services
- Local LLM
- B2 bucket
- LangChain
Other components
- User
Connections 9
- User → GPT4All demo: asks questions
README.md - GPT4All demo → Local LLM: loads model
README.md - GPT4All demo → User: answers questions
README.md - User → RAG chatbot: asks questions
README.md - RAG chatbot → LangChain: uses framework
README.md - RAG chatbot → B2 bucket: loads PDF context
README.md - B2 bucket → PDF context: provides PDFs
README.md - RAG chatbot → Message history: uses history
README.md - RAG chatbot → User: returns responses
README.md