Auto-generated code for main (#2357)

This commit is contained in:
Elastic Machine
2024-09-03 15:36:33 +01:00
committed by GitHub
parent 9e08aaebe2
commit 132d6d6062
82 changed files with 797 additions and 418 deletions

View File

@ -3,10 +3,10 @@
[source, js]
----
const response = await client.transport.request({
method: "PUT",
path: "/_inference/completion/azure_openai_completion",
body: {
const response = await client.inference.put({
task_type: "completion",
inference_id: "azure_openai_completion",
inference_config: {
service: "azureopenai",
service_settings: {
api_key: "<api_key>",