Auto-generated code for main (#2566)

This commit is contained in:
Elastic Machine
2025-01-13 15:44:45 +00:00
committed by GitHub
parent 2b2a9947c7
commit 63104b5e5e
29 changed files with 1978 additions and 536 deletions

View File

@ -0,0 +1,18 @@
// 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: "text_embedding",
inference_id: "jinaai-embeddings",
inference_config: {
service: "jinaai",
service_settings: {
model_id: "jina-embeddings-v3",
api_key: "<api_key>",
},
},
});
console.log(response);
----