8000 GitHub - tistaharahap/young-tista
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tistaharahap/young-tista

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Young Tista

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.

Running In The CLI

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

Running As An API

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

Credit

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

[tutorial] how to create your own "inner child" chatbot using GPT-3https://t.co/lsWcUK7RYA

— michelle huang (@michellehuang42) November 29, 2022

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0