-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Again, thanks for the great plugin. I see that using Tree of Blocks as input was implemented in Use tree of blocks as input · Issue #44 · briansunter/logseq-plugin-gpt3-openai. It doesn't look like this is working yet with a custom prompt; only the top-level block is inserted into the content
of the message under the user
role:

Example Logseq page:
# Using Tree of Blocks as input to a custom prompt
- ## Custom prompt that should work on a tree of blocks
prompt-template:: Tree of Blocks Custom Prompt
- ```prompt
Answer the question by adding answers in sub-blocks
```
- ## Test Cases
- What is the coolest ...
- Car?
- Who is the greatest ...
- AI/ML Researcher?
- Describe this in a way that would make it relevant to a middle-schooler
- Logseq
-
I think this would be powerful because then one can define some general purpose prompt, and then give the prompt instructions to use the attributes in the header to help modify how it should process the sub-tree nodes.
briansunter
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working