Re:Org-assistant.el – Org Babel extension for Chat Assistant...
by iLemming on Tuesday May 02, 2023 @02:50PM
(#35792374)
There are so many Emacs chat-gpt packages already. How does this one differ from xenodium/chatgpt-shell? That one too, has org-mode integration.
[ Parent
| on HN ]
Re:Org-assistant.el – Org Babel extension for Chat Assistant...
by koito17 on Tuesday May 02, 2023 @03:19PM
(#35792745)
How many of them specifically integrate with org-babel? I agree that there are a ton of Emacs packages trying to take advantage of ChatGPT, but I don't remember any particular ones that integrate with org-babel to give you a sort of "AI-assisted notebooks" software.
Re:Org-assistant.el – Org Babel extension for Chat Assistant...
by iLemming on Tuesday May 02, 2023 @05:02PM
(#35794163)
> How many of them specifically integrate with org-babel?
The one I asked about. It does integrate with babel. I simply didn't know to what extent.
Re:Org-assistant.el – Org Babel extension for Chat Assistant...
by rjzzleep on Tuesday May 02, 2023 @09:21PM
(#35796530)
org-ai does and was recommended here before[1]
Re:Org-assistant.el – Org Babel extension for Chat Assistant...
by tyler-dodge on Tuesday May 02, 2023 @03:02PM
(#35792533)
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.
Re:Org-assistant.el – Org Babel extension for Chat Assistant...
by iLemming on Tuesday May 02, 2023 @05:01PM
(#35794145)
Oh, that's cool. I'll give it a try. Thank you!
Re:Org-assistant.el – Org Babel extension for Chat Assistant...
by tmalsburg2 on Wednesday May 03, 2023 @03:10AM
(#35799090)
Clarification 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.
Re:Org-assistant.el – Org Babel extension for Chat Assistant...
by tyler-dodge on Wednesday May 03, 2023 @11:30AM
(#35803594)
It'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.