A ChatGPT based emulation of the therapist Doctor Kernel from the book "A digital Affair" by Neora Shem Shaul
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
The Dod 075a71e8ee Add a session with Neo 1 år sedan
book In Hebrew book, Add the zip index.html expects 1 år sedan
logs Add a session with Neo 1 år sedan
.gitignore Initial commit 1 år sedan
README.md Add `sys:` entries to `book-chats.txt` 1 år sedan
book-chats.txt Add `sys:` entries to `book-chats.txt` 1 år sedan
doctor.py Deal with utf-8 inside chat (add BOM). 1 år sedan
example.env Initial commit 1 år sedan
genlogs.py [BOOTSTRA.386 powered] logserver + better run.sh 1 år sedan
install.py Initial commit 1 år sedan
logs.tmpl Deal with utf-8 inside chat (add BOM). 1 år sedan
logserver.sh [BOOTSTRA.386 powered] logserver + better run.sh 1 år sedan
prompt-template.txt Add `sys:` entries to `book-chats.txt` 1 år sedan
requirements.txt [BOOTSTRA.386 powered] logserver + better run.sh 1 år sedan
run.sh Separate log and GUI output. New formatting 1 år sedan
screenshot-logs.jpg Typo fix + fresh screenshot 1 år sedan
screenshot.png New screenshot 1 år sedan
was-propmpt-template.txt Initial commit 1 år sedan

README.md

A ChatGPT based emulator of Doctor Kernel — JJ’s therapist from the book “A digital Affair” by Neora Shem Shaul (or rather, a partial translation of it to English, because [at least currently] ChatGPT’s Hebrew is not good enough.

It is run as a console app, and emulates slow typing like a chat over a modem in 1993. For best results, run on a green on black terminal, with a large and archaic monospace font (see screenshot below for inspiration).

Setup

  • run ./install.sh
  • copy example.env to .env and edit it according to the instructions inside.

Usage

./run.sh is an infinite loop of sessions with the doctor. Whenever you finish a non-empty session, the log is saved and the index.html of the logs/ folder gets regenerated (see below).

Serving session logs via web

./logserver.sh would serve session log files on port 8000

Note that you can try this as is (on a fresh repo clone, without even running install.py) to enjoy the 90s style gui (thanks to BOOTSTRA.386).

Resources

book/ contains the partial English translation of the book, and the entire original Hebrew book.

Screenshots

Screenshot

Screenshot of the session log web server