// 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.transport.request({ method: "POST", path: "/_inference/text_embedding/my-cohere-endpoint", body: { input: "The sky above the port was the color of television tuned to a dead channel.", task_settings: { input_type: "ingest", }, }, }); console.log(response); ----