Skip to content

pythinker/Ryan-RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RyanRag

Introduction

This is a fully dockerized RAG system using Ollama and Streamlit which you can use to upload a PDF file and ask questions about it.

Ollama

Create a network for the containers to communicate with each other

docker network create ollama-network

Run Ollama on a separate container

docker run -d --name ollama --network ollama-network -p 11434:11434 ollama/ollama

Pull the LLM and the embedding model

docker exec -it -d ollama ollama run llama3.2:1b
docker exec -it -d ollama ollama run nomic-embed-text

RAG App

Installs the required libraries and runs the streamlit app

docker build -t ryan_rag .
docker run -d --name ryan_rag -p 8501:8501 --network ollama-network ryan_rag

Then, you'll see your app running on http://localhost:8501

About

A fully dockerized RAG app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published