Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I like the idea! #47

Closed
Ikealightbulb opened this issue Mar 4, 2023 · 7 comments
Closed

I like the idea! #47

Ikealightbulb opened this issue Mar 4, 2023 · 7 comments

Comments

@Ikealightbulb
Copy link

Ikealightbulb commented Mar 4, 2023

Thanks for doing this. I love the idea to have OpenAI help look through my notes to find connections.

So, I'm a noob. I don't know why my notes are "excluded".

What is happening? haha
Regards

@brianpetro
Copy link
Owner

Hi @Ikealightbulb

Re: #44 (comment) I wonder why your API key isn't working. But that's why the plugin is stuck on "Making smart connections...N" (I see you edited your post so I hope you got that solved!)

The excluded message occurs when the current note matches any patterns configured in the "Exclusions" section of the settings.

@Ikealightbulb
Copy link
Author

Ikealightbulb commented Mar 4, 2023

Thanks Brian.

Yes, the first issue has been resolved because I ran out of credit :)

Excluded error.

  • Under "file_exclusions" I entered morning pages,. because I use obsidian as my morning pages journal. I title those notes as "Morning pages for xxxxx" Is that the way? <---- Resolved. I put all my morning pages in one folder, and exclude that folder.

-hmm, initial feedback every time I open a note. I guess it gets sent to OpenAI? Takes some time for it to make smart connections, and I see the open usage going up. I wonder how much it will cost to process the whole vault.

@brianpetro
Copy link
Owner

Your whole vault will be processed once when you first install the plugin. individual notes will also be re-embedded when you make substantial changes to them. While the logic is a bit more nuanced than this, essentially, your notes shouldn't be processed more than once unless you make substantial changes to them.

Changing the note folder will re-embed the note. And if you rename a folder, all notes contained in the folder will be re-embedded.

Changing a sentence in a note will re-embed a part of the note, but the note as a whole will only be re-embedded if the size of the note changes by >10%.

I'm still working on improving the speed of the plugin, particularly when you open a new note. Currently, to prevent outdated results, the whole vault is checked for changes each time a note is opened. This is mostly what's happening when you see "Making Smart Connections..."

If you want to learn more about what's happening in your vault, you can toggle on the "render logs" settings and keep the console log open. This will display your token usage, which notes are being embedded, and some other usage stats.

@Ikealightbulb
Copy link
Author

Ikealightbulb commented Mar 5, 2023 via email

@sam1am
Copy link

sam1am commented Mar 16, 2023

Hopping on to also say thanks. I have been wanting this feature in something ever since reading about tad starners remembrance agent in the 90s! And this is even better.

@pinuke
Copy link
Contributor

pinuke commented Mar 16, 2023

@brianpetro do you have a supporter link (patreon, buymeacoffee, etc)? This plugin is fantastic

@brianpetro
Copy link
Owner

@smartguy1196 thank you 🙏

The best way to support me is by referring anyone who might be interested in hiring me as a consultant to this page https://wfhbrian.com/build-with-ai/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants