-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Smart Chat is not answering simple queries correctly (or does not have the data) #441
Comments
Hey @annie-elequin & welcome to the community 😊 Thanks for the detailed insights into this issue. You might like to know that the Debug at startup time will implement source maps, making the logs a little easier to navigate: For the specific gatecode query, I just tested it a bit in my test vault and similarly received poor results. Now that v2.0 is in general release, I am changing focus to improve the Smart Chat (v2.1). So, issues like this will be a priority in the short term. I'm still clarifying the exact roadmap, but seeing weak points like this will go a long way in helping me recognize what will have the biggest impact. And while I don't think that the parsing error is related to the poor-performing query (though it could be), I do appreciate you providing the detailed error report. It looks like the error might be caused by a patch I added last week to compensate for inconsistent formatting coming from OpenAI's streaming APIs. Back to the gatecode query:
I think I found the issue! Results for the Smart Chat weren't being properly sorted. And the effect of this would actually be more pronounced on a small vault, as the Top 20 results would have much more variance, making sorting more important, than it would if it were the top 20 from a large vault. 🤞 I think if you update to You'll need to change:
to
or
You probably already knew that and were just providing an example, but I wanted to point this out just in case: the current Smart Chat (still a v1 relic) requires a self-referential pronoun to trigger note retrieval. Ok, so I'm running on fumes and apologize for the lack of coherence above. Hopefully, things work a little better for you, starting with Thanks for helping to make Smart Connections the best it can be! PS- I'm going to tweet that awesome testimonial from your second sentence 😊 🌴 |
First of all, where can I buy you a coffee for your awesome response time and detailed notes on this issue? I updated to .107 and immediately started seeing better results (3 queries in a row on mundane topics in my tiny vault worked just as I expected them to). I'm excited to start querying the heck out of my notes :) |
Hello, I'm having some trouble with Smart Chat. I have an extremely small vault, I actually decided to start using Obsidian BECAUSE of Smart Connections.
Lets say I have a note with a gate code to a vacation home. The note will have in it:
"The gate code to the mountain cabin is 1234."
I ask Smart Chat "What is the gate code to the mountain cabin?"
Expected Behavior:
Smart Chat answers "The gate code is 1234."
Actual Behavior:
Smart Chat answers "Based on your notes, there is no information provided about a code for the lakehouse."
It's true that the prompt (using the copy feature in smart chat) does not seem to have the note in question.
Settings info:
perhaps this is some kind of embeddings issue? How can I ensure that all my notes are embedded correctly? Or is there something else going on here?
Here is a screenshot where the error linked me to in the code - line 4427.
The text was updated successfully, but these errors were encountered: