Repository navigation
Quick Start
Anjana Tiha edited this page Mar 28, 2026
·
1 revision
Get RAG Agent running with your first document in under 5 minutes.
- Ollama installed and running (
ollama servein a separate terminal) - Models pulled (see Installation)
- Virtual environment activated (
source rag_env_311/bin/activate)
streamlit run app.pyOpen http://localhost:8501 in your browser.
From a file:
- Use the Upload a file panel in the sidebar
- Select any supported file (PDF, DOCX, XLSX, CSV, TXT, etc.)
- Wait for the indexing progress bar to complete
From a URL:
- Paste any public URL into the Add a URL field
- Click Add — the page is fetched, parsed, and indexed automatically
From a topic search:
- Type a topic into the Search a topic field (e.g. "climate change")
- Click Search — DuckDuckGo results are crawled and indexed automatically
Type your question in the chat box at the bottom and press Enter.
Example questions:
What is the candidate's most recent job title? ← on a resume PDF
What was the revenue in Q3? ← on a spreadsheet
Summarise the main findings of this report ← any document
What is 15% of the salary mentioned in the resume? ← agent mode
python main.pyPlace documents in ./docs/ first (see folder structure below), then start the chatbot. Type your question at the You: prompt.
python main.py --agent # agent mode with tool callingPlace files in the matching subfolder under ./docs/, or drop any folder anywhere under ./docs/ — the scanner walks recursively:
docs/
pdfs/ ← PDF files
txts/ ← plain text files
docx/ ← Word documents
xlsx/ ← Excel spreadsheets
pptx/ ← PowerPoint presentations
csv/ ← CSV files
md/ ← Markdown files
html/ ← HTML files
Files placed in the wrong subfolder are still processed — the system detects the correct type by file extension.
- Usage Guide — all features in detail
- Agent Mode — calculator, sentiment, translate, and more
- Supported File Types — full format details