Skip to content

Bring 8.13.0 release notes to main #2512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// inference/put-inference.asciidoc:276
// inference/put-inference.asciidoc:275

[source, python]
----
Expand Down
2 changes: 0 additions & 2 deletions docs/examples/0e5d25c7bb738c42d471020d678e2966.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
resp = client.ml.start_trained_model_deployment(
model_id="my_model",
deployment_id="my_model_for_ingest",
wait_for="started",
timeout="1m",
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/10c3fe2265bb34964bd1005f9da66773.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// inference/put-inference.asciidoc:371
// inference/put-inference.asciidoc:369

[source, python]
----
Expand Down
9 changes: 9 additions & 0 deletions docs/examples/1147a02afa087278e51fa365fb9e06b7.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// api-conventions.asciidoc:344

[source, python]
----
resp = client.search(
body={"size": "1000"},
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/13ecdf99114098c76b050397d9c3d4e6.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// inference/post-inference.asciidoc:72
// inference/post-inference.asciidoc:73

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/3d1ff6097e2359f927c88c2ccdb36252.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
----
resp = client.info()
print(resp)
----
----
20 changes: 0 additions & 20 deletions docs/examples/46884e00674f82e7a7bc8b418d1777de.asciidoc

This file was deleted.

2 changes: 1 addition & 1 deletion docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// inference/delete-inference.asciidoc:51
// inference/delete-inference.asciidoc:53

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/633c8a9fc57268979d8735c557705809.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// mapping/types/keyword.asciidoc:219
// mapping/types/keyword.asciidoc:220

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/63d1c07d22a3ca3b0ec6d950547c011c.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// mapping/types/keyword.asciidoc:189
// mapping/types/keyword.asciidoc:190

[source, python]
----
Expand Down
17 changes: 17 additions & 0 deletions docs/examples/6dda348069f89ffb2379b3a281a24cc9.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// inference/put-inference.asciidoc:394

[source, python]
----
resp = client.inference.put_model(
task_type="text_embedding",
inference_id="openai_embeddings",
body={
"service": "openai",
"service_settings": {
"api_key": "<api_key>",
"model_id": "text-embedding-ada-002",
},
},
)
print(resp)
----
10 changes: 10 additions & 0 deletions docs/examples/70cc66bf4054ebf0ad4955cb99d9ab80.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// ml/trained-models/apis/update-trained-model-deployment.asciidoc:55

[source, python]
----
resp = client.ml.update_trained_model_deployment(
model_id="elastic__distilbert-base-uncased-finetuned-conll03-english",
body={"number_of_allocations": 4},
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/77113c65e1755313183a8969233a5a07.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// mapping/types/keyword.asciidoc:249
// mapping/types/keyword.asciidoc:250

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/8e286a205a1f84f888a6d99f2620c80e.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// setup/logging-config.asciidoc:235
// setup/logging-config.asciidoc:242

[source, python]
----
Expand Down
18 changes: 18 additions & 0 deletions docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// inference/put-inference.asciidoc:253

[source, python]
----
resp = client.inference.put_model(
task_type="text_embedding",
inference_id="cohere-embeddings",
body={
"service": "cohere",
"service_settings": {
"api_key": "<api_key>",
"model_id": "embed-english-light-v3.0",
"embedding_type": "byte",
},
},
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/a4a3c3cd09efa75168dab90105afb2e9.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// inference/get-inference.asciidoc:68
// inference/get-inference.asciidoc:69

[source, python]
----
Expand Down
15 changes: 0 additions & 15 deletions docs/examples/c0f4cbcb104747f38acdbc9a30bd13bf.asciidoc

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// inference/put-inference.asciidoc:301
// inference/put-inference.asciidoc:300

[source, python]
----
Expand All @@ -8,7 +8,6 @@ resp = client.inference.put_model(
body={
"service": "elser",
"service_settings": {"num_allocations": 1, "num_threads": 1},
"task_settings": {},
},
)
print(resp)
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/eec051555c8050d017d3fe38ea59e3a0.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// search/search.asciidoc:945
// search/search.asciidoc:956

[source, python]
----
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// inference/put-inference.asciidoc:341
// inference/put-inference.asciidoc:339

[source, python]
----
Expand Down
13 changes: 13 additions & 0 deletions docs/guide/release-notes.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[[release-notes]]
== Release notes

* <<rn-8-13-0>>
* <<rn-8-12-1>>
* <<rn-8-12-0>>
* <<rn-8-11-1>>
Expand Down Expand Up @@ -35,6 +36,18 @@
* <<rn-8-1-0>>
* <<rn-8-0-0>>

[discrete]
[[rn-8-13-0]]
=== 8.13.0 (2024-03-22)

- Added native OpenTelemetry support
- Added optional ``orjson`` (a fast, correct JSON library) serialization support
- Added the `text_strcuture.test_grok_pattern` API
- Added the `indices.resolve_cluster` API
- Renamed the `model_id` parameter to `inference_id` in the `inference` APIs
- Changed all `synonyms` APIs from **experimental** to **stable**.
- Fixed API key documentation

[discrete]
[[rn-8-12-1]]
=== 8.12.1 (2024-02-22)
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

__versionstr__ = "8.12.1"
__versionstr__ = "8.13.0"