Skip to content

[Feature]: Remove the embedding_function argument in get_collection API #50

@hnwyllmm

Description

@hnwyllmm

Describe your use case

If we remember the embedding function in collection metadata, so we don't need to pass the embedding function when we call get_collection.

Describe the solution you'd like

  1. Add a kv_attributes of table to remember the embedding function name
  2. Retrieve the attribute when get_collection
  3. Create embedding function object by the attribute

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

priority: p0This issue will be fixed in the latest major/minor versiontype: feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions