Skip to content

Commit

Permalink
Release 8.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Jun 6, 2024
1 parent 0ecc91b commit e6caa0a
Show file tree
Hide file tree
Showing 17 changed files with 85 additions and 16 deletions.
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:452
// inference/put-inference.asciidoc:674

[source, python]
----
Expand Down
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:559
// inference/put-inference.asciidoc:802

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

[source, python]
----
Expand Down
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:55
// inference/delete-inference.asciidoc:70

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

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

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

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

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

[source, python]
----
resp = client.inference.put_model(
task_type="text_embedding",
inference_id="mistral-embeddings-test",
body={
"service": "mistral",
"service_settings": {
"api_key": "<api_key>",
"model": "mistral-embed",
},
},
)
print(resp)
----
2 changes: 1 addition & 1 deletion docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// inference/put-inference.asciidoc:406
// inference/put-inference.asciidoc:629

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

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

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

[source, python]
----
resp = client.inference.put_model(
task_type="completion",
inference_id="google_ai_studio_completion",
body={
"service": "googleaistudio",
"service_settings": {
"api_key": "<api_key>",
"model_id": "<model_id>",
},
},
)
print(resp)
----
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:516
// inference/put-inference.asciidoc:759

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

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

* <<rn-8-14-0>>
* <<rn-8-13-2>>
* <<rn-8-13-1>>
* <<rn-8-13-0>>
* <<rn-8-12-1>>
* <<rn-8-12-0>>
Expand Down Expand Up @@ -36,13 +39,45 @@
* <<rn-8-1-0>>
* <<rn-8-0-0>>

[discrete]
[[rn-8-14-0]]
=== 8.14.0 (2024-06-06)

- Fixed `node_pool_class` override (#2581, contributed by Tallak Hellebust)
- Added `retriever` to the Search API
- Added `deprecated` and removed `allow_auto_create` from the Create or update component template API
- Added `allow_auto_create`, `cause`, `deprecated`, `ignore_missing_component_templates` and `master_timeout` to the Create or update index template API
- Added `cause`, removed `flat_settings` and `timeout` from the Create or update index template legacy API
- Removed various unsupported parameters from the Simulate index API
- Added various supported paramters to the Simulate index template API
- Added the `completion` and `rerank` task types to the Inference APIs
- Added the `query` and `timeout` parameters to the Perform inference API
- Added `typed_keys` to the Search Application Search API
- Added `with_profile_uid` to the Get API key information and Query API key information APIs


[discrete]
[[rn-8-13-2]]
=== 8.13.2 (2024-05-24)

- Added the `ml.update_trained_model_deployment` API
- Marked Requests 2.32.2 as incompatible with the Elasticsearch client

[discrete]
[[rn-8-13-1]]
=== 8.13.1 (2024-05-03)

- Added `force_synthetic_source` to the Get API
- Added `wait_for_completion` to the Create trained model API
- Added `typed_keys` to the Query API key information API

[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 optional `orjson` (a fast, correct JSON library) serialization support
- Added the `text_structure.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**.
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.13.0"
__versionstr__ = "8.14.0"

0 comments on commit e6caa0a

Please sign in to comment.