How do you actually use branching? #1173
Replies: 3 comments 8 replies
-
I use it to create conversation branches following a general question or two. In this example, each heading is a parallel conversation branch, and they all follow from the general query about Parquet. (It's a little difficult to see the prompt text in the HTML export since I didn't use a prompt-prefix in this conversation, but in the Emacs buffer I use
Yeah, the hierarchical structure of Org documents cannot be used for this. Instead, I would run
I know this is gptel's default, but I've never been a fan of this. It doesn't scale well to longer conversations. |
Beta Was this translation helpful? Give feedback.
-
|
Hey, I'm sure this is obvious to others, but I'm not sure how best to handle the LLM responses when using branching. In my initial prompt, the LLM will use level 2 org headings (**) on its own to structure its reply. Ill then reply with a branch like this: My issue is, do i need to tell the LLM to never use org headings? Or are the org headings that the LLM outputs not considered for the branching? Or am I just using this wrong? Thanks!!! |
Beta Was this translation helpful? Give feedback.
-
|
I don't actually use branching. I was finding that the AI returning it's own headlines was messing things up. Even if you use a 'higher' headline for the next question, then the previous replies don't become part of the context, and it's kind of confusing! I instead use gptel-org-set-topic to limit context to top level headlines. I also wrote (or had claude code write for me...) a module to update the headlines returned by AI to not create new top level headlines. Here is my write up and code: https://github.com/ryanobjc/gptel-org-utils |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What I would like to use branching for is a typical scenario where, during a conversation, I need some clarification about an idea or a term, and the process of getting that information sort of derails the conversation and adds a lot of messy context. I would like to be able to branch the conversation at that point, ask my questions, and then get back into the main flow of the conversation.
However, due to the structure of org mode (which is something I've never really understood the reason for), once you open a heading in a certain level, all text after that heading belongs to that heading, so if I cannot continue the conversation directly under That's not very elegant, and also adds some confusing text to the prompt. I can also just give all prompts as headings, like in the default setting - that's maybe the cleanest looking solution?
How do you use it?
Beta Was this translation helpful? Give feedback.
All reactions