nlsh (Natural Language Shell) with GPT-3

1 · · June 15, 2021, noon
Summary I extend my openai-complete script with REPL capabilities and use it to create parameterised nlsh REPLs for different Operating Systems. I use comint, the emacs mode for managing REPLs and rlwrap to manage history and allow me to run the REPL without emacs. I also generalise it within my prompt description format as “conversation mode” which enables me to have rolling conversations with a prompt. So far, I have not implemented any kind of pseudo-memory system for rolling conversation....