ExtractiveQueryAnswer interface
从以自然语言表示的查询中返回的文档内容中提取答案候选项。
属性
| answer |
|
| count | 返回的答案数。 默认计数为 1 |
| threshold | 置信度阈值。 默认阈值为 0.7 |
属性详细信息
answerType
answerType: "extractive"
属性值
"extractive"
count
返回的答案数。 默认计数为 1
count?: number
属性值
number
threshold
置信度阈值。 默认阈值为 0.7
threshold?: number
属性值
number