6 ms·
chatgpt-shell in org-mode does not support chaining together multiple messages whereas org-assistant supports: #+BEGIN_SRC ? A #+END_SRC #+BEGIN_EXAMPLE A-
by tyler-dodge 3y ago
chatgpt-shell in org-mode does not support chaining together multiple messages whereas org-assistant supports:
#+BEGIN_SRC ?
A
#+END_SRC
#+BEGIN_EXAMPLE
A-response
#+END_EXAMPLE
#+BEGIN_SRC ?
B
#+END_SRC
Where if you run Ctrl-c Ctrl-C on the block it sends the conversation to chatgpt:
User: A
Assistant: A-response
User: B
This enables notebook style development if you are tinkering with a prompt and want to see how the responses cascade based on further input.
- iLemming 3y agoOh, that's cool. I'll give it a try. Thank you!
- dumpsterlid 3y ago[dead]
- tmalsburg2 3y agoClarification question: When you press C-c C-c on the B block, what is sent to ChatGPT, only B or the whole previous conversation? If the latter, this would break Org Babel semantics. Not necessarily a dealbreaker, but something to be aware of.
- tyler-dodge 3y agoIt's the whole previous conversation prior to the top level headline containing the block. Makes sense, I won't be changing it from the current way. I think chatgpt-shell works more idiomatically in the org way in that context so that can be an alternative for people who prefer the former variant.