Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. A Document being uploaded into Luma Knowledge should follow basic formatting for the QnA generator to process and generate QnA pairs. QnA generator identifies sections and subsections, and relationships in the file based on visual clues such as font size, font style, numbering, colors.

  2. Luma Knowledge supports markdown format to bring rich text capabilities to your content. Use Markdown formattingto create rich text content while adding or editing your content.

  3. QnA Extraction works best on documents with a Table of Content or an index page and a clear structure with hierarchical headings. When Luma Knowledge processes the file, it extracts the headings and subheadings as questions and the subsequent content as answers.

  4. Documents without an Index or table of content can also be used to create artifacts, provided they have a clear structure and layout. 

  5. When uploading a FAQ document, it should be in the form of alternating Questions and Answers per line, one question per line followed by its answer in the following line.

  6. Luma Knowledge also supports structured .txt and .xls files to build Knowledge Base. The files could be in plain text, Rich text, or HTML. Question-Answer pair should be added in the same row with column names ‘Question’ and ‘Answer.’ Any additional columns are ignored. For example:

  7. Follow the below formatting tips when creating a document for upload:

    1. Use headings and sub-headings to denote hierarchy. For example, You can h1 to denote the parent QnA and h2 to denote the QnA that should be taken as a prompt.

    2. Use a smaller heading size to denote subsequent hierarchy.

    3. Don't use style, color, or some other mechanism to imply structure in your document. Luma Knowledge does not extract the multi-turn prompts.

    4. The first character of the heading must be capitalized.

    5. Do not end a heading with a question mark (?).

...