Giter Site home page Giter Site logo

deemocean / ghostgpt Goto Github PK

View Code? Open in Web Editor NEW
27.0 4.0 6.0 102 KB

GPT/DALL-E-based ChatGPT-like chatbot that runs on both CLI and Telegram, with sharable imprints.

License: MIT License

Python 80.98% Shell 19.02%
chatbot chatgpt openai dalle2 gpt-3

ghostgpt's Introduction

Note*

The development of Ghost is paused.

openai is not opening anything interesting for its API

at this point the further development of ghost is just UI changes, which again, is not interesting.

GhostGPT

Screenshot 2023-03-02 at 6 28 17 PM

Ghost is a ChatBot based on the GPT3.5-turbo/DALLE model that runs in your terminal and on other platforms(Telegram). The unique thing about ghost is that you can create locally stored 'neural imprints' (.ni files) which for now are basically chat histories that shape Ghost's behavior. And you can also load imprints created by other people into Ghost to give it different personalities or features.

Requirements

System: MacOS/Linux

Python 3.9+

Usage

Clone this project :

git clone https://github.com/Deemocean/GhostGPT.git

cd into the project folder, you will find a shell script called gst.sh which is the overall menu for configuring your key/token/preferences, creating new imprints, injecting existing imprints into ghost, wiping imprints clean, install required libs. This is simply started by calling:

./gst.sh

Screenshot 2023-03-26 at 7 53 31 PM

  1. First, you need to install the required libraries, in the menu(./gst.sh), select:
4) [Config] -> 1) [Install] Required Libs
  1. Second, put the keys in

Generate a OpenAI's API KEY from https://platform.openai.com/account/api-keys

Generate a bot token from bot father(if you aren't gonna run it on telegram, you dont need this): https://telegram.me/BotFather

In the menu, select [Config] Keys, and fill in the necessary API keys:

4) [Config] -> 2) [Config] Keys

Ghost in the Shell

ezgif com-video-to-gif

Ghost in the Telegram

It is easy to deploy Ghost onto linux servers, more features with editing imprints in telegram client, and UI is in progress :) As here we are going to call either the chatbot or DALL-E through commands /g(ghost) and /imgc(image create), group chat is natually supported

Screenshot 2023-04-10 at 2 56 29 PM

Screenshot 2023-03-05 at 7 30 08 PM

Possible Future Updates

  1. Add more parameters of the model into the imprint
  2. Teach Ghost to do Google search before it replies-(by inputting Google API response of the prompt, and telling ghost it is the search result beforehand)
  3. and more

ghostgpt's People

Contributors

deemocean avatar drunkzebra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ghostgpt's Issues

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.