Auto-generated code for 8.15 (#2359)

This commit is contained in:
Elastic Machine
2024-09-03 15:36:52 +01:00
committed by GitHub
parent 411f379006
commit 8f028a522a
82 changed files with 767 additions and 403 deletions

View File

@ -3,10 +3,10 @@
[source, js]
----
const response = await client.transport.request({
method: "PUT",
path: "/_inference/completion/google_ai_studio_completion",
body: {
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>",