2 ms·
Can you search both by an equality comparison and a vector search in weaviate? I’d like to do something along the lines of `SELECT * FROM table t WHERE cosine_d
by supriyo-biswas 4y ago
Can you search both by an equality comparison and a vector search in weaviate? I’d like to do something along the lines of `SELECT * FROM table t WHERE cosine_dist(:my_embedding, t.doc_embedding) < :x AND some_column = “XYZ”`
- imaurer 4y agoWell Weaviate is graphql and it has filtering and hybrid search which is a great feature that pg can’t fully support because it doesn’t have bm25 https://weaviate.io/developers/weaviate/api/graphql/filters https://weaviate.io/developers/weaviate/api/graphql/filters https://weaviate.io/blog/hybrid-search-explained https://weaviate.io/blog/hybrid-search-explained I have a ChatGPT session where I have asked it to do a hybrid search using filtering, pg fts and vector search. Looks reasonable just need to test it and write it up somewhere.