Files
elasticsearch-js/docs/doc_examples/e9fc47015922d51c2b05e502ce9c622e.asciidoc
2024-09-03 09:36:33 -05:00

19 lines
439 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: "completion",
inference_id: "google_ai_studio_completion",
inference_config: {
service: "googleaistudio",
service_settings: {
api_key: "<api_key>",
model_id: "<model_id>",
},
},
});
console.log(response);
----