Skip to content

Conversation

@ellnix
Copy link
Contributor

@ellnix ellnix commented Feb 2, 2025

Really small thing, didn't make an issue for it.

curl \
  -X PATCH 'localhost:7700/indexes/books/settings/embedders' \
  -H 'Content-Type: application/json' \
  --data-binary '{
    "default": {
      "source":  "userProvided",
      "documentTemplate": "heya",
      "dimensions": 3
    }
  }' \
-H 'Authorization: Bearer masterKey'
{
  "message": "`.embedders.default`: Field `documentTemplate` unavailable for source `userProvided` (only available for sources: `huggingFace`, `openAi`, `ollama`, `rest`). Available fields: `source`, `dimensions`, `distribution`, `binaryQuantized`",
  "code": "invalid_settings_embedders",
  "type": "invalid_request",
  "link": "https://docs.meilisearch.com/errors#invalid_settings_embedders"
}

Copy link
Member

@guimachiavelli guimachiavelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ellnix! 🙇

@guimachiavelli guimachiavelli merged commit d2e8015 into meilisearch:main Feb 17, 2025
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants