ExtractedDocument
org.llm4s.extract.ExtractedDocument
final case class ExtractedDocument(text: String, metadata: Map[String, String], format: DocumentFormat)
Extracted document content with metadata.
Represents the result of extracting text from a document, including any metadata that could be extracted (title, author, etc.)
Value parameters
- format
-
The detected document format
- metadata
-
Document metadata (title, author, pageCount, etc.)
- text
-
The extracted text content
Attributes
- Source
- DocumentExtractor.scala
- Graph
-
- Supertypes
Members list
In this article
