2

I have a document pdf or docx (only accepted formats for multiturn), this contains alot of subheadings which translate to follow up prompts. This all works fine! But I would like to enable context-only for all of my prompts, because the answers are not relevant out of context.

Can I denote this in my document itself? There are way too many too manually check the button.

I could write a script that changes the contextOnly to true on the exported tsv, but this seems like it is a silly workaround.

stilllearning
  • 163
  • 10

1 Answers1

2

There does not seem to be any way to indicate whether a question is context-only through 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 but I don't know if that makes anything more convenient for you.

Kyle Delaney
  • 11,616
  • 6
  • 39
  • 66