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