You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In response to my own needs as well as this issue#107 I plan to develop a syntax for defining templates that also doubles as a preprocessor for chat prompts. Thus, templates could be invoked like a codeAgent, or the syntax can be used at any point in a chat buffer. #107 (comment)
I'm also considering the syntax looking something like [[file:path/to/file]] in such a way that it can recursively expand on links found in nvim-orgmode files. Though if that's the case, we may want to:
support other markup links,
or provide a way to implement a function that searches for a syntax and can parse it for the file path.
We would also want the recursive feature to be able to be turned off
and/or take a depth parameter,
and probably even make sure there are no loops by keeping track of all the file paths already expanded.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In response to my own needs as well as this issue#107 I plan to develop a syntax for defining templates that also doubles as a preprocessor for chat prompts. Thus, templates could be invoked like a codeAgent, or the syntax can be used at any point in a chat buffer.
#107 (comment)
Here is the very loose set of features that I aim to be in parity with for the syntax.
https://docs.text-gen.com/_notes/3-+Templates/02+Template+Writing
for documentation purposes I will link
handlebars
andliquid
documentations to aid in the discussion of what the syntax should look like.https://handlebarsjs.com
https://shopify.github.io/liquid/
I'm also considering the syntax looking something like
[[file:path/to/file]]
in such a way that it can recursively expand on links found innvim-orgmode
files. Though if that's the case, we may want to:Beta Was this translation helpful? Give feedback.
All reactions