Git Product home page Git Product logo

-chatgpt's Introduction

ChatGPT clone with GPT-3 Davinci prototype

At the moment, this is a quick and dirty prototype of a ChatBot UI to use GPT-3 in a similar way to ChatGPT by API calls. Keeping the API calls on the server side.

The project's goal aren't fully defined and may drastically change in the future. At the moment it's meant for personal usage. But I may end up making my server side code not depend on this specific front so that it could be used for instance as a Discord bot.

It currently serves as an AI assistant and support markdown. Ideally the client should be able to tweak the prompt to change the AI's emotions or purpose (i.e. fictional character impersonation)

Setup

# Install requirements with
pip install -r requirements.txt

Create a config.py file and write

API_KEY = "<OPEN AI API KEY HERE>"

Then run main.py and open localhost:5000

Goals

  • Markdown escape
  • Connect with DALL-E 2
  • Connect with WolframAlpha
  • Save conversations
  • Retrieve conversations
  • Delete conversations
  • Count tokens instead of characters
  • Display remaining OpenAI credits (If Possible)
  • Better short term memory1
  • Long term memory
  • Create "Character" system

Character system (to-do)

  • Save character
  • Retrieve character
  • Delete character
  • Characters should have a name
  • Characters should have a role
  • Characters may have a personality
  • Characters may have an emotion (maybe dynamic)
  • Characters may have long term memory1

Footnotes

  1. Long Term Memory: I currently have in mind a searchable KEY/VALUE database to take the role of long term memory, but that idea may evolve as it may be too simple. 2

-chatgpt's People

Contributors

monsalvogeoffrey avatar

Watchers

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