bramses / chatgpt-md

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

Title inference and path #56

Open DJHL opened 1 year ago

DJHL commented 1 year ago

It seems that it tries to rename and move the file to the standard directory from the settings of the plugin.

My suggestion would be to let it work with any note in the vault and not change the path of the note. Only rename it.

ENOENT: no such file or directory, rename '/Users/dirkjan/Vaults/Dirkjan/GPT/G.md' -> '/Users/dirkjan/Vaults/Dirkjan/ChatGPT_MD/chats/Discussion about Broccoli and Favorite Color.md'

By the way, would it be possible to add "Dutch" as infer title language?

bramses commented 1 year ago

Hi @DJHL, good catch. I don't want auto inference to fire outside of the chats folder but I see no reason why a manual title inference shouldn't work in any file as long as it conforms to ChatGPT MD spec. I'll look into it