Skip to content

thomasmarchioro3/open-rag-from-scratch

 
 

Repository files navigation

Open RAG From Scratch

This is a fork of RAG From Scratch that makes use of open local LLMs only (hosted using Ollama). It was created to allow following the RAG From Scratch tutorial using only local models and without any API key requirements.

All credits for the original repository go to rlancemartin.

The notebooks have been adapted to use only Ollama models and to not require any API keys. Additionally, chains have been adapted to be used with reasoning models too, excluding the parts within the <think></think> tags.

This is an ongoing project: not all notebooks have been adapted yet. Current progress:

  • rag_from_scratch_01_to_04.ipynb
  • rag_from_scratch_05_to_09.ipynb
  • rag_from_scratch_10_and_11.ipynb
  • rag_from_scratch_12_to_14.ipynb
  • rag_from_scratch_15_to_18.ipynb

Should you encounter any problems running the notebooks, feel free to open a Github issue.

About

Fork of rag-from-scratch using local agents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%