Skip to content

Commit 890b575

Browse files
authored
Release 8.13.2 (#2568)
1 parent e7b4360 commit 890b575

28 files changed

+200
-102
lines changed

docs/examples/00fea15cbca83be9d5f1a024ff2ec708.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/put-inference.asciidoc:381
1+
// inference/put-inference.asciidoc:452
22

33
[source, python]
44
----

docs/examples/10c3fe2265bb34964bd1005f9da66773.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/put-inference.asciidoc:488
1+
// inference/put-inference.asciidoc:559
22

33
[source, python]
44
----
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// inference/put-inference.asciidoc:671
2+
3+
[source, python]
4+
----
5+
resp = client.inference.put_model(
6+
task_type="text_embedding",
7+
inference_id="azure_ai_studio_embeddings",
8+
body={
9+
"service": "azureaistudio",
10+
"service_settings": {
11+
"api_key": "<api_key>",
12+
"target": "<target_uri>",
13+
"provider": "<model_provider>",
14+
"endpoint_type": "<endpoint_type>",
15+
},
16+
},
17+
)
18+
print(resp)
19+
----

docs/examples/3541d4a85e27b2c3896a7a7ee98b4b37.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// health/health.asciidoc:478
1+
// health/health.asciidoc:481
22

33
[source, python]
44
----

docs/examples/36b86b97feedcf5632824eefc251d6ed.asciidoc

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/examples/4ca15672fc5ab1d80a127d086b6d2837.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cluster/allocation-explain.asciidoc:342
1+
// cluster/allocation-explain.asciidoc:344
22

33
[source, python]
44
----

docs/examples/5553cf7a02c22f616cd994747f2dd5a5.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// mapping/types/nested.asciidoc:58
1+
// mapping/types/nested.asciidoc:60
22

33
[source, python]
44
----

docs/examples/59d736a4d064ed2013c7ead8e32e0998.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// inference/put-inference.asciidoc:529
1+
// inference/put-inference.asciidoc:600
22

33
[source, python]
44
----

docs/examples/6cd083045bf06e80b83889a939a18451.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// mapping/types/nested.asciidoc:85
1+
// mapping/types/nested.asciidoc:87
22

33
[source, python]
44
----
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// inference/put-inference.asciidoc:689
2+
3+
[source, python]
4+
----
5+
resp = client.inference.put_model(
6+
task_type="completion",
7+
inference_id="azure_ai_studio_completion",
8+
body={
9+
"service": "azureaistudio",
10+
"service_settings": {
11+
"api_key": "<api_key>",
12+
"target": "<target_uri>",
13+
"provider": "<model_provider>",
14+
"endpoint_type": "<endpoint_type>",
15+
},
16+
},
17+
)
18+
print(resp)
19+
----

0 commit comments

Comments
 (0)