Skip to content

Commit 78d327c

Browse files
Update learn/ai_powered_search/image_search_with_multimodal_embeddings.mdx
Co-authored-by: Louis Dureuil <[email protected]>
1 parent d28766d commit 78d327c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

learn/ai_powered_search/image_search_with_multimodal_embeddings.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ Use `searchFragments` to tell Meilisearch how to send search query data to the c
9898
}
9999
```
100100

101-
This configuration tells Meilisearch how to submit query data for vectorization.
101+
In this example, two modes of search are configured:
102+
103+
1. A textual search based on the `q` parameter, which will be embedded as text
104+
2. An image search based on [data url](https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Schemes/data) rebuilt from the `image.mime` and `image.data` field in the `media` field of the query
102105

103106
Search fragments have access to data present in the query parameters `media` and `q`.
104107

0 commit comments

Comments
 (0)