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

Improve documentation of vector_embedding_error #2888

Open
guimachiavelli opened this issue Jun 24, 2024 · 0 comments
Open

Improve documentation of vector_embedding_error #2888

guimachiavelli opened this issue Jun 24, 2024 · 0 comments

Comments

@guimachiavelli
Copy link
Member

From this Slack discussion (private link):

Meilisearch is complaining that:

  • The user is using a userProvided embedder
  • The user is not correctly providing vectors for this embedder for at least one document.

They should get the document described by the error message, and check:

  • it has a _vectors field
  • a subfield of the _vectors field is named pixolutionV5
  • the value of that subfield is one of:
    • null, to opt-out of embedding for this document
    • [...] an array of 128 numbers
    • [[...], ..., [...]] an array of arrays of 128 numbers

To fix the error:

The correct procedure would be:

  • Fix the _vectors field in all documents to contain the embedders following the syntax described above
  • Attempt to add the embedder again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant