Support return_embedding
param in DocumentStore's get_document_by_id
#3007
Labels
P3
Low priority, leave it in the backlog
topic:document_store
type:feature
New feature or request
wontfix
This will not be worked on
Is your feature request related to a problem? Please describe.
BaseDocumentStore
'sget_all_documents
supportsreturn_embedding
as method param butget_document_by_id
does not. This is inconsistent and a bit confusing.Describe the solution you'd like
Add
return_embedding
param toget_doucment_by_id
ofBaseDocumentStore
and all its subclasses.Describe alternatives you've considered
None
Additional context
Besides API consistency this could be handy if you want to check whether an individual document has (correct) embeddings.
The text was updated successfully, but these errors were encountered: