We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b98229 commit ee26856Copy full SHA for ee26856
.code-samples.meilisearch.yaml
@@ -821,3 +821,13 @@ get_all_batches_1: |-
821
client.getBatches();
822
get_batch_1: |-
823
client.getBatch(BATCH_UID);
824
+# Vector search
825
+update_embedders_1: |-
826
+ client.index('INDEX_NAME').updateEmbedders({
827
+ default: {
828
+ source: 'openAi',
829
+ apiKey: 'OPEN_AI_API_KEY',
830
+ model: 'text-embedding-3-small',
831
+ documentTemplate: 'A document titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}'
832
+ }
833
+ });
0 commit comments