brianpetro/obsidian-smart-connections

Apparently language related issue when searching through notes

Opened this issue · 0 comments

I experiment with research issues in my notes depending on the language used. All my notes are in French and I have to use messages in English so that the notes are correctly found.

Here is an excerpt from a note about John Doe (I replaced the real person's name.).

## Liens :LiLink2:
- ### Facebook: [John Doe](https://www.facebook.com/jonh-doe.9) :LiFacebook:. 
- ### LinkedIn: [John Doe](https://www.linkedin.com/in/jonh-doe/) :LiLinkedin:.

With those settings:

  • Assistant language 'en'
  • Creativity: 50%
  • Similarity: 50%

If I asked "What is the Facebook URL of John Doe?", I got the answer "Hello! As your assistant, I'm happy to help you with your query. According to the knowledge enclosed by XML tags, the Facebook URL of John Doe is [https://www.facebook.com/jonh-doe.9].", which is correct.

With those settings:

  • Assistant language 'fr'
  • Creativity: 50%
  • Similarity: 50%

If I asked "Quelle est l'URL Facebook John Doe?", I got the answer "Bonjour! Je suis heureux de vous aider. Cependant, je peux vous informer que il n'y a pas de note spécifique qui fournirait directement l'URL Facebook de John Doe dans les notes résumées fournies.", which is totally false.

Strange?

I'm using Ollama with llama2 with the embedding model mxbai-embed-large.

Is it possible that there are issues when searching in notes when the assistant is in French? Especially when searching in vectors?