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.
org-ai does and was recommended here before[1]. The readme mentions the differences:
org-assistant.el and org-ai.el
org-ai.el is focused more on runtime interaction with AI
org-assistant.el is focused more on reproducible sessions via org babel
org-assistant.el supports branching conversations
org-assistant.el is not meant to be used downstream as a library for AI endpoint interactions.
In org-assistant.el, all interaction is async using org-babel, which allows for notebook style prompt development
In org-ai.el, interaction is synchronous and inline, which is better for in-editor use cases
org-ai.el supports a lot of other AI use cases like text to speech
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.
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.