This is a simple Python CLI tool to interact with GPT-3's completion API. Fed the AI my past blog posts and used it to be able to ask anything to my younger me.
$ git clone git@github.com:tistaharahap/young-tista.git
$ cd young-tista
$ poetry shell
$ poetry install
$ tista --help
When you run without the --help
flag, it will ask you to input a question. The question will be sent to the AI and the response will be printed out.
$ git clone git@github.com:tistaharahap/young-tista.git
$ cd young-tista
$ poetry shell
$ poetry install
$ cp run-api.sh.example run-api.sh
$ vim run-api.sh # edit the env vars
$ ./run-api.sh
You need MongoDB to store the questions.
Read a tweet by Michelle Huang and worked on based on her work.
i've received a lot of requests on how to replicate my AI experiment so here goes --
— michelle huang (@michellehuang42) November 29, 2022
[tutorial] how to create your own "inner child" chatbot using GPT-3https://t.co/lsWcUK7RYA