Hugging Face · Schema

EmbeddingRequest

Properties

Name Type Description
model string Embedding model ID
input string Text input(s) to embed
encoding_format string
View JSON Schema on GitHub

JSON Schema

hugging-face-inference-providers-embedding-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "EmbeddingRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "Embedding model ID"
    },
    "input": {
      "type": "string",
      "description": "Text input(s) to embed"
    },
    "encoding_format": {
      "type": "string"
    }
  }
}