Skip to content

Commit

Permalink
Bring 8.15.1 release notes to main (#2656)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Sep 12, 2024
1 parent ac64e9f commit 14e6265
Show file tree
Hide file tree
Showing 85 changed files with 454 additions and 93 deletions.
2 changes: 1 addition & 1 deletion docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// inference/service-elasticsearch.asciidoc:111
// inference/service-elasticsearch.asciidoc:112

[source, python]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resp1 = client.cluster.put_component_template(
"day_of_week": {
"type": "keyword",
"script": {
"source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))"
"source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/033838729cfb5d1a28d04f69ee78d924.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:300
// mapping/types/geo-shape.asciidoc:299

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0350ff5ebb8207c004eb771088339cb4.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// search/rrf.asciidoc:123
// search/rrf.asciidoc:121

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0ad8edd10542ec2c4d5d8700d7e2ba97.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// inference/service-amazon-bedrock.asciidoc:144
// inference/service-amazon-bedrock.asciidoc:136

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0b47b0bef81b9b5eecfb3775695bd6ad.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// monitoring/production.asciidoc:94
// monitoring/production.asciidoc:96

[source, python]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resp = client.search(
"day_of_week": {
"type": "keyword",
"script": {
"source": "emit(doc['@timestamp'].value.dayOfWeekEnum\n .getDisplayName(TextStyle.FULL, Locale.ROOT))"
"source": "emit(doc['@timestamp'].value.dayOfWeekEnum\n .getDisplayName(TextStyle.FULL, Locale.ENGLISH))"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0e0d8f652d7d29371b5ea7c7544385eb.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-search.asciidoc:473
// tab-widgets/inference-api/infer-api-search.asciidoc:538

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/0e3abd15dde97a2334621190c4ad4f96.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:171
// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:197

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/113ac8466084ee6ac4ed272e342dc468.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-reindex.asciidoc:161
// tab-widgets/inference-api/infer-api-reindex.asciidoc:183

[source, python]
----
Expand Down
23 changes: 23 additions & 0 deletions docs/examples/13fe12cdb73bc89f07a83f1e6b127511.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-mapping.asciidoc:208

[source, python]
----
resp = client.indices.create(
index="google-vertex-ai-embeddings",
mappings={
"properties": {
"content_embedding": {
"type": "dense_vector",
"dims": 768,
"element_type": "float",
"similarity": "dot_product"
},
"content": {
"type": "text"
}
}
},
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/14afe65afee3d43f27aaaa5b37f26a31.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:165
// mapping/types/geo-shape.asciidoc:164

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/1736545c8b5674f6d311f3277eb387f1.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:128
// data-streams/lifecycle/tutorial-manage-data-stream-retention.asciidoc:131

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/19c00c6b29bc7dbc5e92b3668da2da93.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// ingest/apis/simulate-ingest.asciidoc:201
// ingest/apis/simulate-ingest.asciidoc:205

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/1cadbcf2cfeb312f73b7f098291356ac.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:346
// mapping/types/geo-shape.asciidoc:345

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/200f6d4cc7b9c300b8962a119e03873f.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// indices/get-data-stream.asciidoc:276
// indices/get-data-stream.asciidoc:280

[source, python]
----
Expand Down
25 changes: 25 additions & 0 deletions docs/examples/20179a8889e949d6a8ee5fbf2ba35c96.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-search.asciidoc:408

[source, python]
----
resp = client.search(
index="google-vertex-ai-embeddings",
knn={
"field": "content_embedding",
"query_vector_builder": {
"text_embedding": {
"model_id": "google_vertex_ai_embeddings",
"model_text": "Calculate fuel cost"
}
},
"k": 10,
"num_candidates": 100
},
source=[
"id",
"content"
],
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/2081739da0c69de8af6f5bf9e94433e6.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:377
// mapping/types/geo-shape.asciidoc:376

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/22cb99d4e6ba3101a2d9f59764a90877.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:178
// mapping/types/geo-shape.asciidoc:177

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/2342a56279106ea643026df657bf7f88.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// index-modules/similarity.asciidoc:22
// index-modules/similarity.asciidoc:24

[source, python]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resp = client.search(
runtime_mappings={
"date.day_of_week": {
"type": "keyword",
"script": "emit(doc['date'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))"
"script": "emit(doc['date'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))"
}
},
aggs={
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/2a9d3119a9e26e29220be436b9382955.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-mapping.asciidoc:208
// tab-widgets/inference-api/infer-api-mapping.asciidoc:241

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/318e209cc4d6f306e65cb2f5598a50b1.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:195
// mapping/types/geo-shape.asciidoc:194

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/349823d86980d40ac45248c19a59e339.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:197
// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:223

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/3b1ff884f3bab390ae357e622c0544a9.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// search/rrf.asciidoc:182
// search/rrf.asciidoc:180

[source, python]
----
Expand Down
20 changes: 20 additions & 0 deletions docs/examples/3c0d0c38e1c819a35a68cdba5ae8ccc4.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-task.asciidoc:254

[source, python]
----
resp = client.inference.put(
task_type="text_embedding",
inference_id="alibabacloud_ai_search_embeddings",
inference_config={
"service": "alibabacloud-ai-search",
"service_settings": {
"api_key": "<api_key>",
"service_id": "<service_id>",
"host": "<host>",
"workspace": "<workspace>"
}
},
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/3faec4ca15d8c2fbbd16781b1c8693d6.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-search.asciidoc:408
// tab-widgets/inference-api/infer-api-search.asciidoc:473

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/435e0d6a7d86e074d572d9671b7b9676.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:227
// mapping/types/geo-shape.asciidoc:226

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/48de51de87a8ad9fd8b8db1ca25b85c1.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// index-modules/similarity.asciidoc:540
// index-modules/similarity.asciidoc:542

[source, python]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resp = client.search(
"day_of_week": {
"type": "keyword",
"script": {
"source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))"
"source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ENGLISH))"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/4c9350ed09b28f00e297ebe73c3b95a2.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// inference/service-elasticsearch.asciidoc:143
// inference/service-elasticsearch.asciidoc:144

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/528e5f1c345c3769248cc6889e8cf552.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// index-modules/similarity.asciidoc:45
// index-modules/similarity.asciidoc:47

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/529b975b7cedaac58dce9821956adc37.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:391
// mapping/types/geo-shape.asciidoc:390

[source, python]
----
Expand Down
20 changes: 20 additions & 0 deletions docs/examples/52f4c5eb08d39f98e2e2f5527ece9731.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// This file is autogenerated, DO NOT EDIT
// inference/service-alibabacloud-ai-search.asciidoc:154

[source, python]
----
resp = client.inference.put(
task_type="sparse_embedding",
inference_id="alibabacloud_ai_search_sparse",
inference_config={
"service": "alibabacloud-ai-search",
"service_settings": {
"api_key": "<api_key>",
"service_id": "ops-text-sparse-embedding-001",
"host": "default-j01.platform-cn-shanghai.opensearch.aliyuncs.com",
"workspace": "default"
}
},
)
print(resp)
----
22 changes: 22 additions & 0 deletions docs/examples/54c12d5099d7b715c15f5bbf65b386a1.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-mapping.asciidoc:310

[source, python]
----
resp = client.indices.create(
index="alibabacloud-ai-search-embeddings",
mappings={
"properties": {
"content_embedding": {
"type": "dense_vector",
"dims": 1024,
"element_type": "float"
},
"content": {
"type": "text"
}
}
},
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/553d79817bb1333970e99507c37a159a.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// index-modules/similarity.asciidoc:520
// index-modules/similarity.asciidoc:522

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/5f8fb5513d4f725434db2f517ad4298f.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// index-modules/similarity.asciidoc:357
// index-modules/similarity.asciidoc:359

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/60d689aae3f8de1e6830329dfd69a6a6.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-reindex.asciidoc:184
// tab-widgets/inference-api/infer-api-reindex.asciidoc:206

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/6fbbf40cab0187f544ff7bca31d18d57.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:254
// mapping/types/geo-shape.asciidoc:253

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/6fd82baa17a48e09e3d2eed514af7f46.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:360
// mapping/types/geo-shape.asciidoc:359

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/71c629c44bf3c542a0daacbfc253c4b0.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// cluster/stats.asciidoc:1614
// cluster/stats.asciidoc:1812

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/7594a9a85c8511701e281974cbc253e1.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-task.asciidoc:204
// tab-widgets/inference-api/infer-api-task.asciidoc:228

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/79e8bbbd6c440a21b0b4260c8cb1a61c.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:208
// mapping/types/geo-shape.asciidoc:207

[source, python]
----
Expand Down
Loading

0 comments on commit 14e6265

Please sign in to comment.