obsidian-copilot icon indicating copy to clipboard operation
obsidian-copilot copied to clipboard

[FR]: Remove frontmatter / properties from notes

Open Mara-Li opened this issue 1 year ago • 6 comments

Is your feature request related to a problem? Please describe. Asking information about a note will sometimes includes the informations from the frontmatter. For example, when resuming in bullet point, GPT will also give the frontmatter information, like cssclasses or title.

Describe the solution you'd like Before the note is send to the IA, frontmatter must be removed and the note is send after to the IA, without the frontmatter

Describe alternatives you've considered /

Additional context /

Mara-Li avatar Feb 22 '24 10:02 Mara-Li

Thanks for the last contribution @Lisandra-dev! Are you interested in working on this one too?

logancyang avatar Feb 22 '24 22:02 logancyang

I can do it using the last obsidian API if you want

Mara-Li avatar Feb 23 '24 06:02 Mara-Li

Another comment I thought of is that this could be an option users can turn on and off. Sometimes it's useful to have frontmatter sent to the prompt, for example, if the frontmatter has time and date for meetings and projects.

logancyang avatar Feb 25 '24 20:02 logancyang

This could be in the settings or custom prompt? Or in context modal? The last option seems to brme better.

Mara-Li avatar Feb 25 '24 23:02 Mara-Li

This could be in the settings or custom prompt? Or in context modal? The last option seems to brme better.

I agree, it could be a toggle in the custom prompt modal.

logancyang avatar Feb 25 '24 23:02 logancyang

Will do it later today! O/

Mara-Li avatar Feb 26 '24 07:02 Mara-Li