Skip to content

Commit

Permalink
Add get_similar_documents code-sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ellnix authored and sanders41 committed Jan 24, 2025
1 parent fbd7ee0 commit 319baff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -751,3 +751,5 @@ get_all_batches_1: |-
client.get_batches()
get_batch_1: |-
client.get_batch(BATCH_UID)
get_similar_post_1: |-
client.index("INDEX_NAME").get_similar_documents({"id": "TARGET_DOCUMENT_ID", "embedder": "default"})

0 comments on commit 319baff

Please sign in to comment.