When indexing a text, save the sentences as well as the vectors in a database, indexed by an ID. Return this ID as a result to the requester.
The query call takes as an additional argument an ID returned by index. The backend then applies the query on the database record indexed by the given ID.
When indexing a text, save the sentences as well as the vectors in a database, indexed by an ID. Return this ID as a result to the requester.
The
query
call takes as an additional argument an ID returned byindex
. The backend then applies the query on the database record indexed by the given ID.