Interface: QuestionAnswerReturn

Properties

answer

answer: string

A string that’s the answer within the text.

Defined in

HfInference.ts:109


end

end: number

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

Defined in

HfInference.ts:113


score

score: number

A float that represents how likely that the answer is correct

Defined in

HfInference.ts:117


start

start: number

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

Defined in

HfInference.ts:121