Package dev.langchain4j.data.pdf
Class PdfFile
java.lang.Object
dev.langchain4j.data.pdf.PdfFile
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the base64 data of the rich format document.static PdfFile.Builder
builder()
Create a newPdfFile.Builder
.boolean
int
hashCode()
toString()
url()
Get the url of the PDF.
-
Method Details
-
builder
Create a newPdfFile.Builder
.- Returns:
- the new
PdfFile.Builder
.
-
url
Get the url of the PDF.- Returns:
- the url of the PDF, or null if not set.
-
base64Data
Get the base64 data of the rich format document.- Returns:
- the base64 data of the rich format document, or null if not set.
-
equals
-
hashCode
public int hashCode() -
toString
-