typesense
typesense copied to clipboard
feat: support average embeddings of multiple ids on vector search
Change Summary
- add array syntax for id parameter:
vec:([], id: [doc1, doc2, doc3]) - maintain backwards compatibility with single id syntax
- average embeddings when multiple document ids provided
- exclude all source documents from search results
- validate all embeddings have same dimensions before averaging
PR Checklist
- [x] I have read and signed the Contributor License Agreement.