EUrouter icon

EUrouter

Interact with the EUrouter API

Actions4

Embedding → Create

AI-generated

Summary

Create embeddings for provided text using a specified model from the EUrouter API.

Inputs

  • Model (required) — Model ID to use for embeddings.
  • Input (required) — Text to embed.
  • Additional Parameters — Additional request body fields as a JSON object.

Output shape

a JSON object containing the embeddings data as returned by the EUrouter API

The response includes the created embeddings. The operation makes a POST request to '/embeddings' endpoint including model, input, and any additional parameters. No pagination applies.

Examples

Example 1: Generate text embeddings

Use the 'Create' operation with a model ID and provide the text to embed in the 'Input' field, optionally including additional parameters in JSON format.

Links

Discussion