bramses / chatgpt-md

A (nearly) seamless integration of ChatGPT into Obsidian.
MIT License
854 stars 64 forks source link

Unclear how to hit "trigger" (or equivalent) the assistant to work #6

Closed jasmeetchadha closed 1 year ago

jasmeetchadha commented 1 year ago

I am playing around but I havent figured a consistant command or set of commands to get the assistant mode on. I have used highlighted words, chat, or template.

chat mode works sometimes.

bramses commented 1 year ago

Hi @jasmeetchadha, assistant is simply the role OpenAI uses to refer to the GPT response. There are three roles in the docs: assistant, user (you) and system (basically pre rules). (https://platform.openai.com/docs/guides/chat/introduction ) Does that make sense?

If you use the chat command, the plug-in parses by looking for <hr> lines and if it doesn't find any it automatically sends the current note as a user role