Skip to content

Call create_collection during the first add_document call in Voyager index to infer embedding dimension #113

@NohTow

Description

@NohTow

Right now, we are creating the Voyager index during the initialization of the index model, which force us to have the target embedding dimension and so to ask the user to feed it.
@raphaelsty proposed to create the actual index object only when adding the first document (if index is none) so we can infer the embedding dimension, which is a way nicer UX.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions