diff --git a/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc b/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc index 852ec4273..38ca7ceb1 100644 --- a/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc +++ b/docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:452 +// inference/put-inference.asciidoc:674 [source, python] ---- diff --git a/docs/examples/10c3fe2265bb34964bd1005f9da66773.asciidoc b/docs/examples/10c3fe2265bb34964bd1005f9da66773.asciidoc index 4a4f388c8..30d6ce178 100644 --- a/docs/examples/10c3fe2265bb34964bd1005f9da66773.asciidoc +++ b/docs/examples/10c3fe2265bb34964bd1005f9da66773.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:559 +// inference/put-inference.asciidoc:802 [source, python] ---- diff --git a/docs/examples/1dadb7efe27b6c0c231eb6535e413bd9.asciidoc b/docs/examples/1dadb7efe27b6c0c231eb6535e413bd9.asciidoc index b114a67e1..432656fc5 100644 --- a/docs/examples/1dadb7efe27b6c0c231eb6535e413bd9.asciidoc +++ b/docs/examples/1dadb7efe27b6c0c231eb6535e413bd9.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:671 +// inference/put-inference.asciidoc:539 [source, python] ---- diff --git a/docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc b/docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc index eebe7e709..e35592536 100644 --- a/docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc +++ b/docs/examples/4e3414fc712b16311f9e433dd366f49d.asciidoc @@ -1,4 +1,4 @@ -// inference/delete-inference.asciidoc:55 +// inference/delete-inference.asciidoc:70 [source, python] ---- diff --git a/docs/examples/59d736a4d064ed2013c7ead8e32e0998.asciidoc b/docs/examples/59d736a4d064ed2013c7ead8e32e0998.asciidoc index 695942d2e..40c8df0e2 100644 --- a/docs/examples/59d736a4d064ed2013c7ead8e32e0998.asciidoc +++ b/docs/examples/59d736a4d064ed2013c7ead8e32e0998.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:600 +// inference/put-inference.asciidoc:863 [source, python] ---- diff --git a/docs/examples/6ddd4e657efbf45def430a6419825796.asciidoc b/docs/examples/6ddd4e657efbf45def430a6419825796.asciidoc index dcbb1f44d..54ec93794 100644 --- a/docs/examples/6ddd4e657efbf45def430a6419825796.asciidoc +++ b/docs/examples/6ddd4e657efbf45def430a6419825796.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:689 +// inference/put-inference.asciidoc:557 [source, python] ---- diff --git a/docs/examples/77b90f6787195767b6da60d8532714b4.asciidoc b/docs/examples/77b90f6787195767b6da60d8532714b4.asciidoc index 38ad4091a..97cfde499 100644 --- a/docs/examples/77b90f6787195767b6da60d8532714b4.asciidoc +++ b/docs/examples/77b90f6787195767b6da60d8532714b4.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:623 +// inference/put-inference.asciidoc:584 [source, python] ---- diff --git a/docs/examples/8619bd17bbfe33490b1f277007f654db.asciidoc b/docs/examples/8619bd17bbfe33490b1f277007f654db.asciidoc index 3a2a78872..1dcf2b5ec 100644 --- a/docs/examples/8619bd17bbfe33490b1f277007f654db.asciidoc +++ b/docs/examples/8619bd17bbfe33490b1f277007f654db.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:424 +// inference/put-inference.asciidoc:647 [source, python] ---- diff --git a/docs/examples/99803d7b111b862c0c82e9908e549b16.asciidoc b/docs/examples/99803d7b111b862c0c82e9908e549b16.asciidoc new file mode 100644 index 000000000..9298df58a --- /dev/null +++ b/docs/examples/99803d7b111b862c0c82e9908e549b16.asciidoc @@ -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": "", + "model": "mistral-embed", + }, + }, +) +print(resp) +---- \ No newline at end of file diff --git a/docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc b/docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc index 6358786d3..b11acd0db 100644 --- a/docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc +++ b/docs/examples/9a203aae3e1412d919546276fb52a5ca.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:406 +// inference/put-inference.asciidoc:629 [source, python] ---- diff --git a/docs/examples/9f16fca9813304e398ee052aa857dbcd.asciidoc b/docs/examples/9f16fca9813304e398ee052aa857dbcd.asciidoc index 1da3cf8d8..42085f7a6 100644 --- a/docs/examples/9f16fca9813304e398ee052aa857dbcd.asciidoc +++ b/docs/examples/9f16fca9813304e398ee052aa857dbcd.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:584 +// inference/put-inference.asciidoc:847 [source, python] ---- diff --git a/docs/examples/cedb56a71cc743d80263ce352bb21720.asciidoc b/docs/examples/cedb56a71cc743d80263ce352bb21720.asciidoc index c1628c21e..b025e4108 100644 --- a/docs/examples/cedb56a71cc743d80263ce352bb21720.asciidoc +++ b/docs/examples/cedb56a71cc743d80263ce352bb21720.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:477 +// inference/put-inference.asciidoc:699 [source, python] ---- diff --git a/docs/examples/e9fc47015922d51c2b05e502ce9c622e.asciidoc b/docs/examples/e9fc47015922d51c2b05e502ce9c622e.asciidoc new file mode 100644 index 000000000..51f597199 --- /dev/null +++ b/docs/examples/e9fc47015922d51c2b05e502ce9c622e.asciidoc @@ -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": "", + "model_id": "", + }, + }, +) +print(resp) +---- \ No newline at end of file diff --git a/docs/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc b/docs/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc index 90444ee2a..9b7f9de8f 100644 --- a/docs/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc +++ b/docs/examples/eee6110831c08b9c1b3f56b24656e95b.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:516 +// inference/put-inference.asciidoc:759 [source, python] ---- diff --git a/docs/examples/f57ce7de0946e9416ddb9150e95f4b74.asciidoc b/docs/examples/f57ce7de0946e9416ddb9150e95f4b74.asciidoc index 79e082f07..f04d4709a 100644 --- a/docs/examples/f57ce7de0946e9416ddb9150e95f4b74.asciidoc +++ b/docs/examples/f57ce7de0946e9416ddb9150e95f4b74.asciidoc @@ -1,4 +1,4 @@ -// inference/put-inference.asciidoc:641 +// inference/put-inference.asciidoc:602 [source, python] ---- diff --git a/docs/guide/release-notes.asciidoc b/docs/guide/release-notes.asciidoc index bcad88527..bb246a064 100644 --- a/docs/guide/release-notes.asciidoc +++ b/docs/guide/release-notes.asciidoc @@ -1,6 +1,9 @@ [[release-notes]] == Release notes +* <> +* <> +* <> * <> * <> * <> @@ -36,13 +39,45 @@ * <> * <> +[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**. diff --git a/elasticsearch/_version.py b/elasticsearch/_version.py index 43e7f92a8..9860a8968 100644 --- a/elasticsearch/_version.py +++ b/elasticsearch/_version.py @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -__versionstr__ = "8.13.0" +__versionstr__ = "8.14.0"