Live data from Hacker News

Org-assistant.el – Org Babel extension for Chat Assistant APIs

github.com

1–10 of 11 posts

Re: Org-assistant.el – Org Babel extension for Chat Assistant APIs

#3
post #2

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.

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 APIs

#4
post #2

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.

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 APIs

#5
post #2

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.

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 t…

Oh, that's cool. I'll give it a try. Thank you!

Re: Org-assistant.el – Org Babel extension for Chat Assistant APIs

#6
post #4
post #2

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.

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.

> 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 APIs

#7
post #2

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.

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 t…

[dead]

Re: Org-assistant.el – Org Babel extension for Chat Assistant APIs

#9
post #6
post #4

Earlier quoted context omitted.

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.

> 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.

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

[1] https://github.com/rksm/org-ai

Re: Org-assistant.el – Org Babel extension for Chat Assistant APIs

#10
post #2

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.

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 t…

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.
Post reply on HN