Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

A simple local RAG for querying a PDF file using Ollama and Langchain

Description

This repository contains a Python script which can be used for running a retrieval-augmented generation (RAG) locally using Ollama.

How to use

  1. Install Ollama and pull the model you want (mistral as LLM and nomic-embed-text for embedding were used for this project)
  2. Clone the repository
  3. Set up a virtual environment
  4. Install dependencies using pip install -r requirements.txt
  5. Start the Ollama server
  6. Run the script

About

A simple local RAG for querying a PDF file using Ollama and Langchain

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages