fix: fix search in memory with AnyEmbedding#1696
Merged
Conversation
e484ff0 to
f96171f
Compare
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
f96171f to
bc0e40d
Compare
jupyterjazz
reviewed
Jul 10, 2023
Contributor
jupyterjazz
left a comment
There was a problem hiding this comment.
why was AnyEmbedding failing?
Member
Author
It does not have a computational backend attached, so it cannot stack or do anything on tensors |
samsja
reviewed
Jul 11, 2023
Member
samsja
left a comment
There was a problem hiding this comment.
I think it would be better to change
_extract_embedding directly to look at the type to the AnyTensor
Member
Author
and what about the compBackend, is it okey If I return the NumpyBackend for AnyTensor as default? |
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
d36a0b5 to
e7315e8
Compare
a41e3f7 to
4e013b4
Compare
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
4e013b4 to
2babe51
Compare
4d8a20a to
57bf37b
Compare
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
57bf37b to
bab8099
Compare
|
📝 Docs are deployed on https://ft-anytensor-in-memory-search-fix--jina-docs.netlify.app 🎉 |
samsja
approved these changes
Jul 12, 2023
6 tasks
8 tasks
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allows to do easy search in Memory when AnyEmbedding is used as with
TextDocorImageDoc: