Skip to content

lokesh-repaka/End-to-End-RAG-using-Amazon-Bedrock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

End-to-End-RAG-using-Amazon-Bedrock

How to run?

1. Create a new environment

conda create -n llmapp python=3.8 -y

2.Activate the environmrnt

conda activate llmapp 

3. Install the requirements package

pip install -r requirements.txt

4. run your application

streamlit run main.py

How to deploy Streamlit app on EC2 instance

1. Login with your AWS console and launch an EC2 instance

2. Run the following commands

Note: Do the port mapping to this port:- 8501

sudo apt update
sudo apt-get update
sudo apt upgrade -y
sudo apt install git curl unzip tar make sudo vim wget -y
git clone "Your-repository"

Create .env file and set the environment variables

sudo apt install python3-pip
pip3 install -r requirements.txt
#Temporary running
python3 -m streamlit run app.py
#Permanent running
nohup python3 -m streamlit run app.py

Note: Streamlit runs on this port: 8501

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published