Skip to content

Use Langchain RAG with local LLMs, database updates, and testing. (forked from pixegami)

Notifications You must be signed in to change notification settings

linwangmeyer/RAG

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preparation

  1. Make sure Llama is running as a server: in the terminal, type: Ollama serve
  2. Use existing embedding models: "mxbai-embed-large" from OllamaEmbeddings (Note: couldn't get BedrockEmbeddings work from AWS)
  3. Make sure running scripts in the correct virtual environment

Steps

  1. To reset/add new PDF files, type in terminal: python populate_database.py --reset
  2. To run the model, type in terminal: python query_data.py "What is positive thought disorder?"

About

Use Langchain RAG with local LLMs, database updates, and testing. (forked from pixegami)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%