Hugging Face · JSON Structure

Hugging Face Inference Providers Embedding Request Structure

Type: object Properties: 3

EmbeddingRequest is a JSON Structure definition published by Hugging Face, describing 3 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

model input encoding_format

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "EmbeddingRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string"
    },
    "input": {
      "type": "string"
    },
    "encoding_format": {
      "type": "string"
    }
  }
}