Open JoanFM opened 1 year ago
@numb3r3 I sitll want to do a change which is to set the key from which to extract the embedding, not always rely on embedding.
SInce my idea is to expose via DocArray, I will not use Pydantic for this since the validation would come from DocArray.
The idea here is that here it remains focused only on ANN search, nothing else
Maybe we can define a simple
pydantic
model as the basic data structure:Anyway, this idea can be in a new PR instead.