A classic is a book you keep turning the pages waiting for something to happen and find that you have turned the last page without anything ever happening!! 😅😂🤣
Trying to make ChatGPT behave like a random number generator. Its output is obviously not random but it's not nonsensical. It always outputs a value different than the previous output. It seems like it tries to maintain the expectation of the initial distribution
Note that I tried around 5 prompts before that, the js and shell code output was correct, but the org mode format to output the code evaluation result in external files was not correct
This could be really valuable, since interacting with GPT leaves a trace, all development processes are recorded and therefore reproducible. Literate programming makes everything more readable, maintainable and reproducible www-cs-faculty.stanford.edu/~knuth/lp.html….
Creating a simple node.js api backend with @OpenAI GPT. The js code generated is exported to a new file with the command 'org-babel-tangle', shell cmds are executed with C-c C-c. Chatting with GPT like this looks a lot like literate programming
This all works by sending the file buffer + the instruction to the openai api edit gpt beta.openai.com/docs/api-refer… which does all the work 😆. It then replaces the file with the api response and so on.