Skip to content

Commit 1fa57ac

Browse files
committed
feat: Adding support Multimodal embedders.
1 parent 990815b commit 1fa57ac

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.code-samples.meilisearch.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,3 +763,17 @@ get_batch_1: |-
763763
client.get_batch(BATCH_UID)
764764
get_similar_post_1: |-
765765
client.index("INDEX_NAME").get_similar_documents({"id": "TARGET_DOCUMENT_ID", "embedder": "default"})
766+
search_parameter_reference_media_1: |-
767+
client.index('movies_fragments').search(
768+
"",
769+
{
770+
"media": {
771+
"image_url": "https://image.tmdb.org/t/p/w500/gEU2QniE6E77NI6lCU6MxlNBvIx.jpg"
772+
},
773+
"hybrid": {
774+
"embedder": "voyage",
775+
"semanticRatio": 1.0
776+
},
777+
"limit": 3
778+
}
779+
)

0 commit comments

Comments
 (0)