Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Ollama → embed_ollama_api_embed__url_idx__post

AI-generated

Summary

Send a POST request to the Ollama API's embed endpoint with a specified URL index and JSON body containing model, input, and optional parameters to generate embeddings.

Inputs

  • Skip Authentication — Optionally skip authentication for this request (default is false).
  • Path Parameters (required) — Specify the url_idx path parameter to target the embedding endpoint for a particular index.
  • Request Body (required) — Provide JSON data with required fields 'model' (string) and 'input' (string or array of strings). Optional fields include 'truncate' (boolean), 'options' (object), and 'keep_alive' (integer|string).
  • Media Type (required) — Set to 'application/json' to specify the request format.

Output shape

a JSON object response from the embed endpoint

The response shape depends on the Ollama API's embedding generation for the given URL index and request body. Authentication is required unless explicitly skipped. Only POST method is relevant for this operation.

Links

Discussion