QNAmaker:如何为子问题启用 context-only?

QNAmaker: How to enable context-only for subquestions?

我有一份 pdf 或 docx 文档(只接受多圈格式),其中包含许多副标题,这些副标题可以翻译成跟进提示。这一切都很好!但我想为我的所有提示启用 context-only,因为答案与上下文无关。

我可以在我的文档中注明吗?手动检查按钮的方式太多了。

我可以编写一个脚本,在导出的 tsv 上将 contextOnly 更改为 true,但这似乎是一个愚蠢的解决方法。

似乎没有任何方法可以通过 the document extraction process, so you will need to automate this with a script. If you don't want to modify the TSV directly, you can use the QnA REST API. You can also access this API through the Bot Framework CLI 来表明问题是否是上下文相关的,但我不知道这是否会让您更方便。