https://github.com/tistaharahap/young-tista
https://github.com/tistaharahap/young-tista
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tistaharahap/young-tista
- Owner: tistaharahap
- Created: 2022-12-01T08:21:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T16:49:47.000Z (over 2 years ago)
- Last Synced: 2025-01-13T06:25:44.972Z (5 months ago)
- Language: Python
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```shell
$ git clone [email protected]: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
```shell
$ git clone [email protected]: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](https://twitter.com/michellehuang42) 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