Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "auto-id" capability to Embeddings #502

Closed
davidmezzetti opened this issue Jul 8, 2023 · 0 comments
Closed

Add "auto-id" capability to Embeddings #502

davidmezzetti opened this issue Jul 8, 2023 · 0 comments
Assignees
Milestone

Comments

@davidmezzetti
Copy link
Member

Currently, an Embeddings instance requires each input to be a tuple of 3 elements, (id, data, tags). The vast majority of time, tags is empty and the id is an auto-generated number.

This change will allow the following inputs when passing data to an insert/upsert operation.

  • (id, data, tags) tuples (CURRENT)
  • (id, data) tuples
  • data elements

In the case of just data elements, an auto id index will be used.

Note: The application interface already has similar functionality.

@davidmezzetti davidmezzetti added this to the v5.6.0 milestone Jul 8, 2023
@davidmezzetti davidmezzetti self-assigned this Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant