{
  "name": "embed-text",
  "title": "Embed text (OpenAI-compatible)",
  "category": "AI",
  "tags": [
    "ai",
    "curl-jq"
  ],
  "version": "1.0.0",
  "date": "2026-07-17",
  "notes": "Initial release.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/embed-text/1.0.0.json",
  "entrypoint": "embed",
  "parameters": [
    {
      "name": "input-text",
      "title": "Input text",
      "description": "The text to embed.",
      "type": "string",
      "required": true
    },
    {
      "name": "model",
      "title": "Model",
      "description": "Embedding model identifier understood by the target endpoint.",
      "type": "string",
      "required": true,
      "example": "text-embedding-3-small"
    },
    {
      "name": "api-key-secret-key",
      "title": "API key secret key",
      "description": "Key within the Secret that holds the API key.",
      "type": "string",
      "required": false,
      "default": "api-key"
    },
    {
      "name": "api-key-secret-name",
      "title": "API key secret name",
      "description": "Name of the Kubernetes Secret holding the API key (sent as a bearer token).",
      "type": "string",
      "required": false,
      "default": "embeddings-api-key"
    },
    {
      "name": "base-url",
      "title": "Base URL",
      "description": "Base URL of an OpenAI-compatible API. The request goes to \u003cbase-url\u003e/v1/embeddings.",
      "type": "string",
      "required": false,
      "default": "https://api.openai.com",
      "example": "https://api.openai.com"
    }
  ],
  "images": [
    {
      "ref": "badouralix/curl-jq@sha256:38362e9b8ef4bd09a88c0db07941e61e0bf0f7240e9f36a3ff2c31ad75546be2",
      "repository": "badouralix/curl-jq",
      "digest": "sha256:38362e9b8ef4bd09a88c0db07941e61e0bf0f7240e9f36a3ff2c31ad75546be2"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/embed-text",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
