Interface: QuestionAnswerReturn

Properties

answer

answer: string

A string that’s the answer within the text.

Defined in

HfInference.ts:103


end

end: number

The index (string wise) of the stop of the answer within context.

Defined in

HfInference.ts:107


score

score: number

A float that represents how likely that the answer is correct

Defined in

HfInference.ts:111


start

start: number

The index (string wise) of the start of the answer within context.

Defined in

HfInference.ts:115