Skip to content

Commit 1904f22

Browse files
improve wording
1 parent d903937 commit 1904f22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

learn/ai_powered_search/search_with_user_provided_embeddings.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ curl \
2929
```
3030

3131
<Warning>
32-
Embedders with `source: userProvided` are the incompatible with `documentTemplate` and `documentTemplateMaxBytes`.
32+
Embedders with `source: userProvided` are incompatible with `documentTemplate` and `documentTemplateMaxBytes`.
3333
</Warning>
3434

3535
## Add documents to Meilisearch

reference/api/settings.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2668,7 +2668,7 @@ This field is incompatible with `rest` and `userProvided` embedders.
26682668

26692669
##### `documentTemplate`
26702670

2671-
`documentTemplate` is a string containing a [Liquid template](https://shopify.github.io/liquid/basics/introduction). Meillisearch interpolates the template for each document and sends the resulting text to the embedder. The embedder then generates document vectors based on this text. This only happens when Meilisearch auto-generates embeddings—if you are using custom embedders, you must create an embedding generation pipeline outside of Meilisearch.
2671+
`documentTemplate` is a string containing a [Liquid template](https://shopify.github.io/liquid/basics/introduction). When using an embedding generation service such as OpenAI, Meillisearch interpolates the template for each document and sends the resulting text to the embedder. The embedder then generates document vectors based on this text. If used with a custom embedder, Meilisearch will return an error.
26722672

26732673
You may use the following context values:
26742674

0 commit comments

Comments
 (0)