# Bangla-RAG-FAQ-Chatbot-Md.-Shoaib-Ahmed (Updated)
To run this chatbot follow these steps:
## Generate openai api key (4.1) from github models and paste it to .env file.
## Then Run the FastAPI Backend in Windows PowerShell
Open **Windows PowerShell** in your project directory and run the following commands:
```powershell
# 1. Create a virtual environment
python -m venv venv
# 2. Activate the virtual environment
venv\Scripts\activate
# 3. Install dependencies
pip install -r requirements.txt
# 4. Start FastAPI with Uvicorn
uvicorn app:app --reload --host 0.0.0.0 --port 8000
```
## Access the FastAPI Swagger UI
Once the server is running, open your browser and navigate to:
```
localhost
```
## Now Run the Streamlit Chatbot UI in a separate Windows PowerShell in your project directory:
```
streamlit run streamlit.py
```
Some example questions:
আমি কীভাবে একটি স্কলারশিপ পেতে পারি?
ডায়াবেটিস কিভাবে নিয়ন্ত্রণ করা যায়?