Skip to content

Commit ac27e73

Browse files
authored
[DOCS] Improves inference workflow tutorial. (#112870)
1 parent 7f83eab commit ac27e73

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

docs/reference/tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[source,console]
44
----
5-
DELETE _ingest/pipeline/*_embeddings
5+
DELETE _ingest/pipeline/*_embeddings_pipeline
66
----
77
// TEST
88
// TEARDOWN
@@ -13,7 +13,7 @@ DELETE _ingest/pipeline/*_embeddings
1313

1414
[source,console]
1515
--------------------------------------------------
16-
PUT _ingest/pipeline/cohere_embeddings
16+
PUT _ingest/pipeline/cohere_embeddings_pipeline
1717
{
1818
"processors": [
1919
{
@@ -39,7 +39,7 @@ and the `output_field` that will contain the {infer} results.
3939

4040
[source,console]
4141
--------------------------------------------------
42-
PUT _ingest/pipeline/elser_embeddings
42+
PUT _ingest/pipeline/elser_embeddings_pipeline
4343
{
4444
"processors": [
4545
{
@@ -65,7 +65,7 @@ and the `output_field` that will contain the {infer} results.
6565

6666
[source,console]
6767
--------------------------------------------------
68-
PUT _ingest/pipeline/hugging_face_embeddings
68+
PUT _ingest/pipeline/hugging_face_embeddings_pipeline
6969
{
7070
"processors": [
7171
{
@@ -91,7 +91,7 @@ and the `output_field` that will contain the {infer} results.
9191

9292
[source,console]
9393
--------------------------------------------------
94-
PUT _ingest/pipeline/openai_embeddings
94+
PUT _ingest/pipeline/openai_embeddings_pipeline
9595
{
9696
"processors": [
9797
{
@@ -117,7 +117,7 @@ and the `output_field` that will contain the {infer} results.
117117

118118
[source,console]
119119
--------------------------------------------------
120-
PUT _ingest/pipeline/azure_openai_embeddings
120+
PUT _ingest/pipeline/azure_openai_embeddings_pipeline
121121
{
122122
"processors": [
123123
{
@@ -143,7 +143,7 @@ and the `output_field` that will contain the {infer} results.
143143

144144
[source,console]
145145
--------------------------------------------------
146-
PUT _ingest/pipeline/azure_ai_studio_embeddings
146+
PUT _ingest/pipeline/azure_ai_studio_embeddings_pipeline
147147
{
148148
"processors": [
149149
{
@@ -169,7 +169,7 @@ and the `output_field` that will contain the {infer} results.
169169

170170
[source,console]
171171
--------------------------------------------------
172-
PUT _ingest/pipeline/google_vertex_ai_embeddings
172+
PUT _ingest/pipeline/google_vertex_ai_embeddings_pipeline
173173
{
174174
"processors": [
175175
{
@@ -195,7 +195,7 @@ and the `output_field` that will contain the {infer} results.
195195

196196
[source,console]
197197
--------------------------------------------------
198-
PUT _ingest/pipeline/mistral_embeddings
198+
PUT _ingest/pipeline/mistral_embeddings_pipeline
199199
{
200200
"processors": [
201201
{
@@ -221,7 +221,7 @@ and the `output_field` that will contain the {infer} results.
221221

222222
[source,console]
223223
--------------------------------------------------
224-
PUT _ingest/pipeline/amazon_bedrock_embeddings
224+
PUT _ingest/pipeline/amazon_bedrock_embeddings_pipeline
225225
{
226226
"processors": [
227227
{
@@ -247,7 +247,7 @@ and the `output_field` that will contain the {infer} results.
247247

248248
[source,console]
249249
--------------------------------------------------
250-
PUT _ingest/pipeline/alibabacloud_ai_search_embeddings
250+
PUT _ingest/pipeline/alibabacloud_ai_search_embeddings_pipeline
251251
{
252252
"processors": [
253253
{

docs/reference/tab-widgets/inference-api/infer-api-reindex.asciidoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ POST _reindex?wait_for_completion=false
1010
},
1111
"dest": {
1212
"index": "cohere-embeddings",
13-
"pipeline": "cohere_embeddings"
13+
"pipeline": "cohere_embeddings_pipeline"
1414
}
1515
}
1616
----
@@ -37,7 +37,7 @@ POST _reindex?wait_for_completion=false
3737
},
3838
"dest": {
3939
"index": "elser-embeddings",
40-
"pipeline": "elser_embeddings"
40+
"pipeline": "elser_embeddings_pipeline"
4141
}
4242
}
4343
----
@@ -60,7 +60,7 @@ POST _reindex?wait_for_completion=false
6060
},
6161
"dest": {
6262
"index": "hugging-face-embeddings",
63-
"pipeline": "hugging_face_embeddings"
63+
"pipeline": "hugging_face_embeddings_pipeline"
6464
}
6565
}
6666
----
@@ -84,7 +84,7 @@ POST _reindex?wait_for_completion=false
8484
},
8585
"dest": {
8686
"index": "openai-embeddings",
87-
"pipeline": "openai_embeddings"
87+
"pipeline": "openai_embeddings_pipeline"
8888
}
8989
}
9090
----
@@ -112,7 +112,7 @@ POST _reindex?wait_for_completion=false
112112
},
113113
"dest": {
114114
"index": "azure-openai-embeddings",
115-
"pipeline": "azure_openai_embeddings"
115+
"pipeline": "azure_openai_embeddings_pipeline"
116116
}
117117
}
118118
----
@@ -140,7 +140,7 @@ POST _reindex?wait_for_completion=false
140140
},
141141
"dest": {
142142
"index": "azure-ai-studio-embeddings",
143-
"pipeline": "azure_ai_studio_embeddings"
143+
"pipeline": "azure_ai_studio_embeddings_pipeline"
144144
}
145145
}
146146
----
@@ -167,7 +167,7 @@ POST _reindex?wait_for_completion=false
167167
},
168168
"dest": {
169169
"index": "google-vertex-ai-embeddings",
170-
"pipeline": "google_vertex_ai_embeddings"
170+
"pipeline": "google_vertex_ai_embeddings_pipeline"
171171
}
172172
}
173173
----
@@ -189,7 +189,7 @@ POST _reindex?wait_for_completion=false
189189
},
190190
"dest": {
191191
"index": "mistral-embeddings",
192-
"pipeline": "mistral_embeddings"
192+
"pipeline": "mistral_embeddings_pipeline"
193193
}
194194
}
195195
----
@@ -212,7 +212,7 @@ POST _reindex?wait_for_completion=false
212212
},
213213
"dest": {
214214
"index": "amazon-bedrock-embeddings",
215-
"pipeline": "amazon_bedrock_embeddings"
215+
"pipeline": "amazon_bedrock_embeddings_pipeline"
216216
}
217217
}
218218
----
@@ -235,7 +235,7 @@ POST _reindex?wait_for_completion=false
235235
},
236236
"dest": {
237237
"index": "alibabacloud-ai-search-embeddings",
238-
"pipeline": "alibabacloud_ai_search_embeddings"
238+
"pipeline": "alibabacloud_ai_search_embeddings_pipeline"
239239
}
240240
}
241241
----

0 commit comments

Comments
 (0)