File size: 1,306 Bytes
109d23a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | # Chat_RAG
## Steps to Run the Project
Follow these steps to set up and run the Chat_RAG project:
1. **Clone the Repository:**
Begin by cloning the repository to your local machine using the following command:
```sh
git clone https://github.com/Samilincoln/Chat_RAG.git
```
2. **Navigate to the Project Directory:**
Change your current directory to the project directory:
```sh
cd Chat_RAG
```
3. **Install Required Dependencies:**
Install all the necessary dependencies specified in the `requirements.txt` file:
```sh
pip install -r requirements.txt
```
4. **Set Up Environment Variables:**
- Create a `.env` file in the root directory of the project.
- Add your Groq API key to the `.env` file by including the following line:
```
GROQ_API_KEY=your_api_key_here
```
5. **Navigate to the Client Directory:**
Change your directory to the client directory where the Streamlit application is located:
```sh
cd client
```
6. **Run the Streamlit Application:**
Launch the Streamlit application using the following command:
```sh
streamlit run app.py
```
By following these steps, you will have the Chat_RAG project up and running on your local machine. |