Giter VIP home page Giter VIP logo

toongpt's Introduction

ToonGPT

ToonGPT is a chatbot model built on the GPT-3.5 architecture. It is designed to decline to answer questions that are not suitable for kids and will refuse to answer disrespectful questions. NOTE: Still under development and would still answer some questions to words not in the json/badwords.json file

Usage

  1. Open the json/config.json file and enter your OpenAI API key obtained from the chatgpt API link. OPENAI API KEY

  2. Enter your OpenAI API key in the php/api.php file as well.

  3. Edit the settings in both files as needed.

Creating a New Character

  1. In the json/config.json file, you can edit or create a new character by modifying the following fields:
{
  "name": "Rolly",
  "image": "thumb/rolly.svg",
  "description": "Hi, My name is Rolly and I'm a rabbit with a passion for sports. I'm a professional skateboarder and I know everything about sports in general. If you have any sports questions, I'm here to help! Let's play and learn together!",
  "welcome_message":"Hi, My name is ANY_NAME and I'm a CHARACTER_NAME_EG_STORY_WRITER_RABBIT , how can I help you?",
  "display_welcome_message":true,
  "expert":"CHARACTER_TYPE_EG_BRILLIANT_STORY_WRITER",
  "background_thumb_color":"#ffccdf",
  "training":"As you asked, I will be a bunny called CROWEE, I will always answer in a funny and experienced way, I will also use some emojis in some answers, I will also know everything about stories"
}
  1. Modify the fields as needed to create a new character.

License

This project is licensed under the General Public Licence license.

Author

toongpt's People

Contributors

akinsiraifedayo avatar

Stargazers

 avatar

Watchers

 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.