Welcome to the Chatbot Application project, a complete AI-powered chatbot solution featuring a robust backend and an intuitive frontend. This project demonstrates the seamless integration of machine learning capabilities and user-friendly interfaces, making it an excellent addition to any portfolio.
This project consists of two main components:
Backend (Chatbot
folder):
Frontend (ChatbotUI
folder):
config.py
and .env
files.Backend:
Frontend:
Clone the repository:
git clone https://github.com/yourusername/chatbot.git cd chatbot
Install dependencies for the backend:
pip install -r requirements.txt
Set up environment variables:
.env
file in the chatbot
folder with the required configuration:
BACKEND_SERVER_URL=http://127.0.0.1
BACKEND_SERVER_PORT=5000
Start the backend server:
python chatbot/server.py
Navigate to the ChatbotUI
folder and install frontend dependencies:
cd ChatbotUI npm install # Optional, if using additional Node.js-based tools
Start the frontend:
python app.py
http://127.0.0.1:5500
chatbot/
├── chatbot/ # Backend code
│ ├── config.py # Configuration settings
│ ├── server.py # Main server script
│ ├── indexing.py # Document indexing utilities
│ ├── schemas.py # Data models
│ ├── utils.py # Helper functions
│ └── documents/ # Input documents (e.g., PDFs)
├── chatbot-ui/ # Frontend code
│ ├── app.py # Main UI script
│ ├── styles.py # UI styling
│ └── config.py # Frontend configuration
├── .env # Environment variables
├── README.md # Project documentation
└── requirements.txt # Python dependencies
Below is an example of the Chatbot UI in action:
We welcome contributions to enhance the functionality and design of this chatbot application! To contribute:
git checkout -b feature-name
git commit -m "Description of changes" git push origin feature-name
This project is licensed under the MIT License. See the LICENSE
file for details.
For questions, feedback, or collaboration opportunities, feel free to reach out:
There are no models linked
There are no datasets linked
There are no models linked
There are no datasets linked