We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 279fdd9 commit ba5ca4bCopy full SHA for ba5ca4b
.code-samples.meilisearch.yaml
@@ -791,3 +791,12 @@ get_all_batches_1: |-
791
$client->getBatches();
792
get_batch_1: |-
793
$client->getBatch(BATCH_UID);
794
+update_embedders_1: |-
795
+ $client->updateEmbedders([
796
+ 'default' => [
797
+ 'source' => 'openAi',
798
+ 'apiKey' => 'OPEN_AI_API_KEY',
799
+ 'model' => 'text-embedding-3-small',
800
+ 'documentTemplate' => 'A document titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}'
801
+ ]
802
+ ]);
0 commit comments