Skip to content

BUGS-NYU/rag-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rag-tutorial

Basic RAG model tutorial

Setup Instructions

Ensure python3 installed

For basic tutorial: Run the following code in terminal to install necessary packages

pip install sentence-transformers transformers faiss-cpu numpy sentencepiece protobuf

For add your own context file:

pip install langchain langchain-huggingface langchain-community langchain-openai langchain-core faiss-cpu

Setup Errors (debug info)

Following package may fail during installation (tested with python 3.13)

pip install sentencepiece

If this command gives an error message, refer to the following options.

  • Filenotfound error: do pip install wheel & install cmake from website
  • Otherwise, try running a different python version

About

Basic RAG model tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published