paulbricman / dual-obsidian-client

A skilled virtual assistant for Obsidian.
https://paulbricman.com/thoughtware/dual
Mozilla Public License 2.0
242 stars 7 forks source link

Implement recipe matching in new frontend #51

Closed paulbricman closed 3 years ago

paulbricman commented 3 years ago

Based on a call to the backend (#48) containing bundled example commands from all recipes, the first task of the new recipe engine is to determine which recipe has to be followed given a query. This can be a user query in the chat, or a query made by another recipe when composed. This behavior should be contained in a function which simply returns the recipe filename based on a given query.