This is an example of RAG by using Larage Language Model.
-
Clone the repository:
git clone https://github.com/nishant9083/llm_application.git
-
Change the directory to llm_application
cd llm_application
-
Add .env file here with content like this:
HUGGINGFACEHUB_API_TOKEN = <Your HuggingFace Api Token>
-
Install dependencies by running:
pip install -r ./src/requirements.txt
-
Change to src directory:
cd src
-
Run the app.py file by:
streamlit run app.py