Skip to main content

Data Extraction Method

Data extraction turns an uploaded document into text that the Knowledge Base can use. The method you choose can affect how well the system reads tables, scanned pages, and complex layouts.

This is different from choosing the model that answers chat questions. Extraction prepares the source material; the Agent later uses that material to answer users.

Before You Start​

You need permission to change the project's settings. Choose a few representative documents to test, including any scans, tables, or difficult layouts your users commonly upload.

Choose a Method​

Open Project Settings → General → Project Configs → Data Extraction Method.

MethodWhat It DoesWhen to Consider It
DefaultUses the standard document-processing path for the file typeStart here for documents that already contain readable text and straightforward layouts
LLMUses an AI model to read document pages as images in the PDF extraction pathRecommended for scanned PDFs, visually complex pages, and PDFs whose content is not captured well by Default

The processing path also depends on file type and platform configuration. Choosing Default does not mean that every file uses the same reader.

Choose Based on File Format​

LLM extraction is not required for all PDFs. The dropdown offers only Default and LLM. The recommendations below use those two options; the explanation column describes how each file type is handled.

Format or ContentDropdown SelectionWhat to Expect
Text-based PDF (.pdf)DefaultReads the text already in the PDF. Suitable for straightforward reports, policies, and other documents with readable text.
Scanned or image-only PDF (.pdf)LLMReads page images to extract information. Useful for scanned forms and documents without a usable text layer.
PDF with complex tables, columns, diagrams, or mixed text and imagesLLM; compare with Default on a sampleLLM can help capture information or reading order that ordinary text extraction misses. Verify important numbers and relationships against the original.
Word (.docx, .doc)DefaultWord files have a separate text-extraction path. Selecting LLM does not automatically apply page-image extraction to Word uploads.
PowerPoint (.pptx)DefaultSlide text is read through a separate presentation reader. Selecting LLM does not guarantee that every embedded image or chart will be interpreted.
Excel (.xlsx, .xls), CSV (.csv), and TSV (.tsv)DefaultThese files use their own table/data readers. The project LLM setting does not replace those readers.
Plain text (.txt), HTML (.html), and JSON (.json)DefaultTheir text or structured content is read directly; page-image extraction is generally unnecessary.
Standalone images, such as PNG or JPEGDefaultSelecting LLM does not automatically turn Knowledge Base image uploads into searchable extracted text. Images can be stored without text extraction.
Audio and videoDefaultSpeech is handled through the configured transcription service, separately from this extraction setting.
note

For PDFs, Default can fall back to AI vision extraction when no usable text is found. A scanned PDF may therefore still use AI processing with Default selected. Explicitly selecting LLM is useful when a PDF contains some text but important information is in images or a difficult layout.

Examples​

  • A policy PDF exported from Word: start with Default and check that headings and paragraphs are read correctly.
  • A scanned invoice PDF: use LLM and verify the supplier, invoice number, dates, and totals against the scan.
  • A technical PDF with diagrams and multi-column pages: compare a sample using both methods, checking that the extracted content preserves the meaning of the page.
  • An Excel sales workbook: keep the spreadsheet upload path; changing this setting to LLM is not needed to read the workbook's rows and columns.

If a Word or PowerPoint file depends heavily on images or visual layout, consider exporting a sample to PDF and testing LLM extraction on that PDF. Compare the extracted result before processing the full collection.

Change the Method​

  1. Open the project and go to Settings → General.
  2. Find Data Extraction Method and select Default or LLM.
  3. Wait for the page to show All changes saved.
  4. Upload a representative document and wait for processing to finish.
  5. Check the extracted content and ask the Agent questions whose answers you can verify against the original document.
note

Changing the setting does not start a bulk reprocessing of documents already in the Knowledge Base. Test with a new upload. If existing content needs to be processed again, plan that separately with the project administrator.

Check Quality and Usage​

Look for missing sections, mixed-up columns, incomplete tables, or incorrect numbers. For example, ask the Agent for a value from a table and compare it with the original page.

LLM extraction can add processing time and token-based credit usage. See Credits for how document processing is charged. Test a small sample before processing a large document collection.

Best Practices​

  • Choose the method based on the documents your users actually work with.
  • Check difficult pages as well as straightforward ones before deciding.
  • Keep the original documents available for comparison.
  • Review both extraction quality and Agent answers; a successful upload alone does not confirm that every detail was read correctly.

Troubleshooting​

IssueWhat to Check
The content is incomplete or poorly arrangedTry LLM extraction on a sample and compare the result with Default
Older documents look unchangedThe setting does not automatically reprocess existing content
Processing takes longer or uses more creditsReview the document size and the cost of the selected extraction method
You cannot change the methodAsk an administrator to check your project permissions