- Introduction
- Project Structure
- Installation
- Usage
- Configuration
- Discord Bot
- Web Interface
- Wikipedia Search
- Error Handling
- Contributing
- License
STELLA is an AI Chatbot that provides various functionalities through a Discord bot and a web interface. It can answer questions, perform calculations, and search Wikipedia for information. This documentation provides an overview of the project, its structure, installation instructions, and usage guidelines.
chatbot/
: Contains the Python code for the AI chatbot.assets/
: Stores essential data files and assets.discord/
: Holds the Discord bot code and configuration.web/
: Contains the web interface code and assets.log/
: Contains log files for error and application logs.
- Clone the repository:
git clone https://github.com/BYT-Bender/AI-Chatbot.git
- Set up the Python environment:
cd chatbot
pip install -r requirements.txt
- Set up the Discord Bot and Web Interface as described in the respective sections below.
- Start the Discord bot:
python bot.py
- Use the bot on your Discord server by sending messages in the configured channel.
- Start the web interface:
cd web
python app.py
Access the web interface by opening a web browser and visiting http://localhost:5000
.
STELLA can search Wikipedia for information. To use this feature, simply type what is <query>
in the Discord channel where the bot is active.
Error messages are logged in the following files:
log/error.log
: Logs unhandled errors.log/log_app.txt
: Logs application-related information.log/log_CL.txt
: Logs command-line interface interactions.log/log_discord.txt
: Logs Discord bot interactions.log/log_web.txt
: Logs web interface interactions.
Customization of STELLA can be done through configuration files and environment variables. Configuration files are stored in the config/
directory, and environment variables can be set as needed. See CONFIG GUIDE for more details.
If you want to contribute to the STELLA project, please follow these steps:
- Fork the project.
- Create a new branch.
- Make your changes.
- Submit a pull request.
This project is licensed under the Attribution-NonCommercial (CC BY-NC) License. See the LICENSE file for details.
- Share: The licensed material can be shared, copied, and redistributed.
- Adapt: The licensed material can be remixed, transformed, and built upon.
-
Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
-
Non-Commercial: You may not use the material for commercial purposes. Commercial use is not allowed without the licensor's permission.
-
No Derivatives: If you remix, transform, or build upon the material, you may not distribute the modified material.
- Allowed: Sharing, copying, redistribution, adaptation (with attribution).
- Not Allowed: Commercial use without permission, distribution of derivative works without permission.
Sourabh Srivastva (a.k.a. BYT-Bender)