Skip to content

Files

Latest commit

310cc96 · Nov 15, 2021

History

History
27 lines (19 loc) · 602 Bytes

api-qa-response.md

File metadata and controls

27 lines (19 loc) · 602 Bytes

Api Qa Response

Structure

ApiQaResponse

Fields

Name Type Tags Description
score float Required What is the confident score of the answer
start float Required Start position of the answer in the context
end float Required End position of the answer in the context
answer string Required Answer to the question.
Constraints: Minimum Length: 1

Example (as JSON)

{
  "score": 147.4,
  "start": 224.84,
  "end": 12.78,
  "answer": "answer4"
}