Skip to content

Commit

Permalink
Document userProvided embedders have no templates (#3141)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellnix authored Feb 17, 2025
1 parent b423e3d commit d2e8015
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions reference/api/settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2529,15 +2529,20 @@ If a `field` does not exist in a document, its `value` is `nil`.

For best results, build short templates that only contain highly relevant data. If working with a long field, consider [truncating it](https://shopify.github.io/liquid/filters/truncatewords/). If you do not manually set it, `documentTemplate` will include all searchable and non-null document fields. This may lead to suboptimal performance and relevancy.

This field is optional but strongly encouraged for all embedders.
This field is incompatible with `userProvided` embedders.

This field is optional but strongly encouraged for all other embedders.

##### `documentTemplateMaxBytes`

The maximum size of a rendered document template. Longer texts are truncated to fit the configured limit.

`documentTemplateMaxBytes` must be an integer. It defaults to `400`.

This field is optional for all embedders.
This field is incompatible with `userProvided` embedders.

This field is optional for all other embedders.


##### `dimensions`

Expand Down

0 comments on commit d2e8015

Please sign in to comment.