Files
elasticsearch-js/docs/doc_examples/d6a4548b29e939fb197189c20c7c016f.asciidoc
2025-02-03 12:54:23 -06:00

18 lines
403 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: "chat_completion",
inference_id: "chat-completion-endpoint",
inference_config: {
service: "elastic",
service_settings: {
model_id: "model-1",
},
},
});
console.log(response);
----