justyns / silverbullet-ai

Plug for SilverBullet to integrate LLM functionality
https://ai.silverbullet.md/
GNU Affero General Public License v3.0
26 stars 1 forks source link

Add support for treating templated prompts as chats #50

Closed justyns closed 1 month ago

justyns commented 1 month ago

Idea from https://community.silverbullet.md/t/thoughts-on-applications-of-ai-or-smarts-in-silverbullet/559/21?u=justyns

This lets you use "chat mode" for templated prompts, which in theory can help get better results from LLMs when using a multi-turn chat.

Also adds the start of allowing attributes in chat messages. Right now, [enrich:false] can be used to disable enriching messages, per message.