![]() ![]() Use small heading size to denote subsequent hierarchy. For example, use a h1 to denote the parent QnA and h2 to denote the QnA that should be taken as prompt. Use headings and sub-headings to denote hierarchy. If you are creating a multi-turn document, keep in mind the following guidelines: For an example of structure, view an image of a Microsoft Surface user manual PDF file. Multi-turn structure can be inferred only from URLs, PDF files, or DOCX files. You can provide the 'Default Answer Text' to be used as a substitute answer text to extract such hierarchies. In some documents, the root of the hierarchy does not have content, which could serve as an answer. The hierarchy is converted in to follow up prompts and the root of the hierarchy serves as the parent QnA. When you select this option, QnA Maker extracts the hierarchy present in the document structure. When you create a knowledge base, the Populate your KB section displays an Enable multi-turn extraction from URLs. Create a multi-turn conversation from a document's structure The prompts will appear in the chat clients that you have enabled for your bot. Use multi-turn in a botĪfter publishing your KB, you can select the Create Bot button to deploy your QnA Maker bot to Azure Bot service. This sequence continues (#5) until the user determines the correct, final answer (#6). ![]() When the user selects an option (#3), the next list of refining options (#4) is presented. The question (#1), has three follow-up prompts, which are presented in the chat bot as three options (#2). To refine the answer, the user selects one of the three choices in the knowledge base. The knowledge base has three linked question-and-answer pairs. In the preceding image, a user has started a conversation by entering My account. With multi-turn, a chat bot manages a conversation with a user to determine the final answer, as shown in the following image: Example multi-turn conversation with chat bot If you need multi-turn extraction, remove the question marks that designate the QnA pairs as FAQs. Multi-turn prompts are not extracted from FAQ documents. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |