ChatStream-Dynamic-Themed-Chatbot

ChatStream is an interactive chatbot application using Streamlit and AI models from LangChain and Ollama. It features a dynamic theme switcher for enhanced user experience.

MIT License

Stars
1
Committers
2

ChatStream: Dynamic-Themed-Chatbot

ChatStream is an interactive chatbot application built using Streamlit and integrated with the LangChain and Ollama AI models. The application features dynamic theme switching between light and dark modes to enhance user experience.

Project Overview

This project demonstrates the integration of an AI model into a web-based chatbot interface with customizable themes. Users can interact with the chatbot and receive responses based on their queries, with a seamless switch between light and dark themes.

Getting Started

Follow these instructions to set up and run the project locally.

Prerequisites

  1. Python: Ensure you have Python 3.8 or higher installed on your machine.

Installation

  1. Clone the Repository

    git clone https://github.com/DevaRajan8/ChatStream-Dynamic-Themed-Chatbot
    cd app
    
  2. Create a Virtual Environment

    python -m venv chatbot
    
  3. Activate the Virtual Environment

    • On Windows:

      chatbot\Scripts\activate
      
    • On macOS/Linux:

      source chatbot/bin/activate
      
  4. Install Dependencies

    pip install -r requirements.txt
    
  5. Run the Application

    Start the Streamlit application:

    streamlit run main.py
    

    This command will open the application in your default web browser.

Project Structure

  • main.py: The main script that initializes and runs the chatbot application.
  • chatbot/: Directory for the virtual environment (ignored in version control).
  • requirements.txt: List of Python dependencies for the project.

Features

  • Dynamic Theme Switching: Toggle between light and dark themes using the sidebar.
  • Interactive Chat: Engage with the chatbot and receive real-time responses based on your queries.

Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • Streamlit: For creating a powerful tool for building interactive web apps.
  • LangChain: For providing an advanced language model interface.
  • Ollama: For their AI models integrated into the application.

For any inquiries, please contact us at:

For additional information and to contribute to the project, please check the repository or open an issue.

Related Projects