Skip to content

Class 4 Homework — DCI-based Natural Hazard corpus search - #16

Open
geomingical wants to merge 2 commits into
inference-ai-course:mainfrom
geomingical:geomingical/class4-homework
Open

geomingical wants to merge 2 commits into
inference-ai-course:mainfrom
geomingical:geomingical/class4-homework

Conversation

@geomingical

Copy link
Copy Markdown

Summary

  • Replaced the original RAG assignment with a Direct Corpus Interaction (DCI) approach using DCI-Agent-Lite + local Ollama model
  • Domain: Natural Hazard research papers (seismology, rockfall, etc.)
  • No embeddings or vector DB — agent searches pre-extracted sidecar files directly using rg, jq, and find

Contents

  • class4/Class 4 Homework.ipynb — updated notebook with DCI motivation, architecture, corpus layout exploration, system prompt explanation, and Streamlit UI demo
  • class4/HW/DCI.png — screenshot of Streamlit UI with an example query answered by gemma4:26b
  • class4/HW/DCI_search/ — full DCI_search source code (app.py, prompts, extensions, scripts, src)

Replaces the original RAG assignment with a Direct Corpus Interaction
(DCI) approach using DCI-Agent-Lite + local Ollama, applied to a
Natural Hazard research paper corpus.

- Updated Class 4 Homework.ipynb with DCI motivation, architecture,
  corpus layout exploration, system prompt explanation, and Streamlit
  UI demo screenshot
- Added HW/DCI.png (Streamlit UI screenshot)
- Added HW/DCI_search/ (DCI_search source code: app.py, prompts,
  extensions, scripts, src)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant