Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Can A* algorithm be applied to
Can A* algorithm be applied to
Inactive
0
Follow
N
Nouiri
10 months ago
Β·
Can A* algorithm be applied to similarity search
W
N
L
3 comments
Share
Open in Discord
W
WhiteFang_Jr
10 months ago
Yeah it can be done, you can subclass the embedding class and change the way it currently performs similarity search.
For instance llamaindex uses by default cosine, but you can change it to the given attached SS modes
https://github.com/run-llama/llama_index/blob/df7890c56bb69b496b985df9ad28121c7f620c45/llama-index-core/llama_index/core/base/embeddings/base.py#L52
Attachment
N
Nouiri
10 months ago
Ok thanks
L
Logan M
10 months ago
I don't think A* makes sense for vector seach.
Levenshtein is also very basic, and doesn't involve vectors (just edit distance)
Add a reply
Sign up and join the conversation on Discord
Join on Discord