[Feature Request]: Combine queryTexts
and queryEmbeddings
into a single query
field in the interface for the queryRecords method.
#2483
Labels
enhancement
New feature or request
Describe the problem
Today, in the JS client library at least, the there is a
queryTexts
property and aqueryEmbeddings
property. The logic of the client is such that exactly one of them need to be supplied.Describe the proposed solution
I think it would clean up the interface a bit and make it clearer to callers if there were just a single
query
that could accept eitherqueryTexts
orqueryEmbeddings
and do the right thing according to whether it was an array of strings or an array of array of numbers supplied.Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: