os1
1
Hello,
As for now the KNN search doesn’t work properly on float_vector columns added throw ALTER TABLE statement.
- ALTER TABLE table ADD COLUMN embbeding float_vector knn_type=‘hnsw’ knn_dims=‘1536’ hnsw_similarity=‘cosine’
- indexApi.bulk(‘\n’.join(map(json.dumps,docs)))
- select * from table where knn(embbeding, 5, doc_id) throws an exception java.sql.SQLSyntaxErrorException: Undefined array key 0
Related Issue (provide the link):
Thank you