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
* Bump version to 0.1.0 for development
* feat(api): introduce unified `create()` method for extensible vector index creation
* Refactor internal tests to use new generic `.create()` API
* Refactor internal tests to use new generic `.create()` API
* test: Update test suite for new .create() API
* 📄 docs(readme): updated the content information
* Add: latest uv.lock file for reproducible Python dependency management
* 📄 docs(readme): updated the content information
* 📄 docs(readme): updated the content information
* 📄 docs(changelog): update for v0.1.0 release
- All HNSW parameters now default to best-practice values; dim is the only commonly customized field. Most of the settings like `m`, `ef_construction`, `expected_size`, and `space` already have good defaults, so users typically don't change them. The only one they usually set themselves is `dim`, since it must match the shape of their data.
26
+
- Improved error messages with dynamic type listing
27
+
28
+
### Fixed
29
+
- Updated all internal testing files to use the new .create()` API
30
+
31
+
### Removed
32
+
- Index-specific factory methods (replaced by unified `create()` interface)
|`index_type`|`str`|`"hnsw"`| The type of vector index to create. Currently supports `"hnsw"`. Future options include `"ivf"`, `"flat"`, etc. Case-insensitive. |
192
194
|`dim`|`int`|`1536`| Dimensionality of the vectors to be indexed. Each vector must have this length. The default dim=1536 is chosen to match the output dimensionality of OpenAI’s text-embedding-ada-002 model. |
193
195
|`space`|`str`|`"cosine"`| Distance metric used for similarity search. Options include `"cosine"`. Additional metrics such as `"l2"`, and `"dot"` will be added in future versions. |
194
-
|`M`|`int`|`16`| Number of bi-directional connections created for each new node. Higher `M` improves recall but increases index size and build time. |
196
+
|`m`|`int`|`16`| Number of bi-directional connections created for each new node. Higher `m` improves recall but increases index size and build time. |
195
197
|`ef_construction`|`int`|`200`| Size of the dynamic list used during index construction. Larger values increase indexing time and memory, but improve quality. |
196
198
|`expected_size`|`int`|`10000`| Estimated number of elements to be inserted. Used for preallocating internal data structures. Not a hard limit. |
0 commit comments