- Overview
- Features
- Usage
- How to Run on Replit
- Configuration
- Example
- Contributing
- License
- Contact
- Future Endeavors
RanitGPT is a Discord chatbot project developed on Replit, integrating OpenAI's powerful GPT-3.5-turbo model. This chatbot provides an interactive and dynamic conversation experience within Discord servers.
- Chat Loading: Users can choose from different chat scenarios (1, 2, or 3) to set the initial context for the bot's responses.
- Discord Integration: RanitGPT seamlessly operates within the Discord platform, actively responding to user messages.
- OpenAI Integration: The chatbot leverages OpenAI's GPT-3.5-turbo model to generate context-aware and natural responses.
- Select Chat Scenario: Users input 1, 2, or 3 to load the desired chat context.
- Discord Interaction: The bot listens for messages in Discord channels, engaging in conversations with users.
- Dynamic Responses: Utilizing the OpenAI model, RanitGPT generates responses based on the provided chat history.
- Clone the Replit project.
- Install necessary dependencies:
pip install discord openai
. - Set environment variables for Discord token (
SECRET_KEY
) and OpenAI API key (OPENAI_API_KEY
). - Run the Replit project.
file
: Determines the loaded chat scenario (1, 2, or 3).openai.api_key
: API key for OpenAI authentication.openai.model
: GPT-3.5-turbo is used for response generation.
# Load chat scenario 2
file = "2"
# ... (rest of the script)
Contributions are welcome! Feel free to open issues or submit pull requests to enhance the project.
This project is licensed under the MIT License - see the LICENSE file for details.
Social Media | Username | Link | |
---|---|---|---|
ranitmanik.dev@gmail.com |
|||
Ranit Manik |
|||
ranit_manik_ |
|||
RanitKumarManik |
|||
RANIT_MANIK |
RanitGPT is an ongoing Replit project, with plans for future updates and improvements. Ranit Manik looks forward to expanding the capabilities of this Discord chatbot through continued development.
Enjoy chatting with RanitGPT on Discord!