Giter VIP home page Giter VIP logo

ranitmanik / ranitgpt Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 45 KB

This is an amazing Discord Bot powered by ChatGPT that has been designed to enhance your chatting experience. With its advanced capabilities, this bot is capable of engaging in meaningful conversations and providing you with a truly interactive and enjoyable chat environment.

Home Page: https://replit.com/@ranit-manik/RanitGpt#chat3.txt

License: MIT License

Python 100.00%
bot chatbot chatbot-application chatgpt discord discord-bot gpt gpt-3 openai openai-api

ranitgpt's Introduction

RanitGPT - Discord Chatbot with OpenAI Integration

Table of Contents

Overview

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.

Features

  • 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.

Usage

  1. Select Chat Scenario: Users input 1, 2, or 3 to load the desired chat context.
  2. Discord Interaction: The bot listens for messages in Discord channels, engaging in conversations with users.
  3. Dynamic Responses: Utilizing the OpenAI model, RanitGPT generates responses based on the provided chat history.

How to Run on Replit

  1. Clone the Replit project.
  2. Install necessary dependencies: pip install discord openai.
  3. Set environment variables for Discord token (SECRET_KEY) and OpenAI API key (OPENAI_API_KEY).
  4. Run the Replit project.

Configuration

  • 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.

Example

# Load chat scenario 2
file = "2"

# ... (rest of the script)

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to enhance the project.

License

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

Contact

Social Media Username Link
Email [email protected] Email
LinkedIn Ranit Manik LinkedIn
Instagram ranit_manik_ Instagram
Facebook RanitKumarManik Facebook
Twitter RANIT_MANIK Twitter

Future Endeavors

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!

ranitgpt's People

Contributors

ranitmanik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.