chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.57k stars 141 forks source link

[FEATURE REQUEST] llm function calling for macros or scripts #714

Open LePenseur13 opened 4 months ago

LePenseur13 commented 4 months ago

Is your feature request related to a problem? Please describe. The ability to use function calling within quickAdd scripts, or macros. This could supercharge quickAdd even more.

Describe the solution you'd like a new function in the quickAdd api (optionally in the ai commands). this function takes a prompt and a list of functions with descriptions and then calles one of them based on the given prompt

https://platform.openai.com/docs/api-reference/chat/create?lang=curl

And then even a step further is to allow pralell function calling, meaning the llm can call multiple functions/macros etc.