Coder Social home page Coder Social logo

c-sig / chatgui Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 23 KB

GUI for chatting with ChatGPT in the style of C.AI or Kobold

License: MIT License

Python 100.00%
ai characterai chatbot chatbot-application chatgpt elevenlabs kobold koboldai openai openai-api openapi pygmalion

chatgui's Introduction

ChatGUI

A Simple GUI to Interact with OpenAI Models

Screenshot

Disclaimer

Please refrain from using this program to break OpenAI Terms of Service!

Requirements

Python 3.9

Usage

0. Download the repository through git or by downloading the .zip file

git clone https://github.com/c-sig/ChatGUI.git

1. Install requirements by opening a terminal in the root folder

pip install -r requirements.txt

2. Put your OpenAI API key in config.ini

api_key = Your key here

2.1 Replace botname with your own value (optional)

botname = Name

2.2 Adapt immersion prompt to your needs (optional)

immersion_prompt = prompt preventing ChatGPT from acting out

3. Launch GUI by opening a terminal in the root folder again

python main.py

Guide

SEND - Sends your message. Pressing [ENTER] on your keyboard also sends your message.

RESET - Clears your chat history.

REGENERATE - Deletes previous bot message and regenerates a reply.

DELETE PREVIOUS - Deletes previous user and bot message from chat history.

SAVE CHAT - Option to save chat history with a custom name. Keep in mind that application can only read chat history if the file is named "working_history.txt"

PROMPT CREATION One way to generate character prompts would be to ask ChatGPT to "pretend they're the character". After they introduce themseves, ask ChatGPT to replace all personal pronouns with "you". Use this to help create your character.

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.