Files
elasticsearch-js/docs/doc_examples/141ef0ebaa3b0772892b79b9bb85efb0.asciidoc
2025-01-28 11:52:55 -06:00

17 lines
369 B
Plaintext

// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
[source, js]
----
const response = await client.inference.put({
task_type: "my-inference-endpoint",
inference_id: "_update",
inference_config: {
service_settings: {
api_key: "<API_KEY>",
},
},
});
console.log(response);
----