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
|`n_dim`| Number of dimensions of embeddings to be stored and retrieved |**This is always required**|
44
-
|`data_path`| The data folder where the data is located |**A random temp folder**|
45
-
|`metric`| Distance metric to be used during search. Can be 'cosine', 'dot' or 'euclidean' | 'cosine' |
46
-
|`ef_construction`| The size of the dynamic list for the nearest neighbors (used during the construction) |`None`, defaults to the default value in the AnnLite package*|
47
-
|`ef_search`| The size of the dynamic list for the nearest neighbors (used during the search) |`None`, defaults to the default value in the AnnLite package*|
48
-
|`max_connection`| The number of bi-directional links created for every new element during construction. |`None`, defaults to the default value in the AnnLite package*|
|`n_dim`| Number of dimensions of embeddings to be stored and retrieved |**This is always required**|
44
+
|`data_path`| The data folder where the data is located |**A random temp folder**|
45
+
|`metric`| Distance metric to be used during search. Can be 'cosine', 'dot' or 'euclidean' | 'cosine' |
46
+
|`ef_construction`| The size of the dynamic list for the nearest neighbors (used during the construction) |`None`, defaults to the default value in the AnnLite package*|
47
+
|`ef_search`| The size of the dynamic list for the nearest neighbors (used during the search) |`None`, defaults to the default value in the AnnLite package*|
48
+
|`max_connection`| The number of bi-directional links created for every new element during construction. |`None`, defaults to the default value in the AnnLite package*|
49
+
|`n_components`| The output dimension of PCA model. Should be a positive number and less than `n_dim` if it's not `None`|`None`, defaults to the default value in the AnnLite package*|
49
50
50
51
*You can check the default values in [the AnnLite source code](https://github.com/jina-ai/annlite/blob/main/annlite/core/index/hnsw/index.py)
0 commit comments