This project is a simple chatbot application using Streamlit and the LangChain library with the Ollama model. It allows users to interact with the chatbot and see responses in real-time.
Ensure you have Python 3.8 or later installed on your machine. It's also recommended to use a virtual environment to manage dependencies.
-
Clone the Repository
git clone <your-repository-url> cd <your-repository-directory>
-
Create and Activate a Virtual Environment
python -m venv venv
-
Install Required Packages
pip install -r requirements.txt
-
Run Streamlit
streamlit run main.py
-
Open the application
Once the server is running, open your web browser and navigate to http://localhost:8501 to interact with the chatbot.
You can generate the requirements.txt file using the following command:
```bash
pip freeze > requirements.txt