File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -1383,16 +1383,14 @@ get_embedders_1: |-
13831383 -X GET 'http://localhost:7700/indexes/INDEX_NAME/settings/embedders'
13841384update_embedders_1 : |-
13851385 curl \
1386- -X PATCH 'http://localhost:7700/indexes/INDEX_NAME/settings' \
1386+ -X PATCH 'http://localhost:7700/indexes/INDEX_NAME/settings/embedders ' \
13871387 -H 'Content-Type: application/json' \
13881388 --data-binary '{
1389- "embedders": {
1390- "default": {
1391- "source": "openAi",
1392- "apiKey": "anOpenAiApiKey",
1393- "model": "text-embedding-3-small",
1394- "documentTemplate": "A document titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}"
1395- }
1389+ "default": {
1390+ "source": "openAi",
1391+ "apiKey": "anOpenAiApiKey",
1392+ "model": "text-embedding-3-small",
1393+ "documentTemplate": "A document titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}"
13961394 }
13971395 }'
13981396reset_embedders_1 : |-
You can’t perform that action at this time.
0 commit comments