If you save a document once as a Word / *.dox and once as a PDF / *.pdf file, Copilot provides significantly different responses to the content of the files, even if they have identical content.
Technically, the *.docx format and the *.pdf format differ significantly in their structure and details. And that is why the information available to Copilot via the M365 Graph / the index of the search is different, even though it is the same document / the same content.
Details on pdf
Texts are determined by the following attributes: font, font size, character string, color, position on the page and the type of display, e.g. italics, etc. Information such as line breaks, headers, paragraphs, indents etc. are not included. This means that information on the formatting of paragraphs, as used in *.docx files, is not included. The text itself is divided into fragments, which can be as small as individual characters or as large as an entire line. These fragments are stored randomly and are like pieces of a puzzle that form an overall picture only when they are positioned correctly.
As a result, the actual text has no structure, as it is the case in a *.docx file. A *.pdf file essentially has a header, a body and a trailer. The header contains information about the pdf file, such as the version of the pdf file format, the creation date and the author of the file. The body of the pdf file contains the actual content of the file, e.g. text, images and other media. The trailer of the pdf file contains information about the file, e.g. the size of the file, the checksum of the file and the location of the file on the hard disk.
Structure of a pdf file:
- Header
- Body
- xref Table
- Trailer
- Incremental updates
Details on docx
- document.xml
- Content_Types].xml
- docProps
- _rels
- text
- Media
- Topic
- user-definedXml
- Settings.xml
- FontTable.xml
- webSettings.xml
- Styles.xml
- header.xml
- footer.xml
- footnotes.xml
- endnotes.xml
- comments.xml
An example
- Prompt for the pdf file:
- Copilot tells: To provide a detailed description of the “Medium,” “High,” and “Very High” levels, I would need access to the full content of the document. If you can provide the document or direct me to it, I would be able to summarize the different levels as requested.
- Prompt: Here you can finde the document: %Link%
Then the result is much better, even Copilot suggests in the first answer that he has found and used the correct file. See screenshot above.
- Prompt for the docx file:
- Prompt: Please describe in more detail what the levels mean. Create a list with the details for each level.
The result is slightly better than the initial prompt, but still different from the example with the pdf file with the same content.
Conclusion
Keine Kommentare:
Kommentar veröffentlichen