Hugging Face · Example Payload

Hugging Face Featureextraction Example

Hugging Face Featureextraction Example is an example object payload from Hugging Face, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "featureExtraction",
  "method": "POST",
  "path": "/models/{model_id}/feature-extraction",
  "summary": "Feature Extraction Inference",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "FeatureextractionRequestExample",
      "example": {
        "inputs": "example_value"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Featureextraction200Example",
      "example": [
        [
          42.5
        ]
      ]
    }
  ]
}