You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`max_elements`| Maximum number of vector that can be stored | 1024 |
129
+
|`space`| Vector space (distance metric) the index operates in. Supports 'l2', 'ip', and 'cosine'. <br/><spanstyle="color:black">**Note:** In contrast to the other backends, for HnswDocumentIndex `'cosine'` refers to **cosine distance**, not cosine similarity. To transform one to the other, you can use: `cos_sim = 1 - cos_dist`. For more details see [here](https://en.wikipedia.org/wiki/Cosine_similarity#Cosine_Distance)</span>. | 'l2' |
130
+
|`index`| Whether or not an index should be built for this field. | True |
131
+
|`ef_construction`| defines a construction time/accuracy trade-off | 200 |
0 commit comments