Skip to content

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

License

Notifications You must be signed in to change notification settings

Deemocean/GhostGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published