Hugging Face · Schema
QuestionAnsweringResponse
Properties
| Name | Type | Description |
|---|---|---|
| answer | string | The extracted answer |
| score | number | Confidence score |
| start | integer | Start character position in context |
| end | integer | End character position in context |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/QuestionAnsweringResponse",
"title": "QuestionAnsweringResponse",
"type": "object",
"properties": {
"answer": {
"type": "string",
"description": "The extracted answer",
"example": "Paris"
},
"score": {
"type": "number",
"format": "float",
"description": "Confidence score",
"example": 42.5
},
"start": {
"type": "integer",
"description": "Start character position in context",
"example": 10
},
"end": {
"type": "integer",
"description": "End character position in context",
"example": 10
}
}
}