Class PdfFile

java.lang.Object
dev.langchain4j.data.pdf.PdfFile

public class PdfFile extends Object
  • Method Details

    • builder

      public static PdfFile.Builder builder()
      Create a new PdfFile.Builder.
      Returns:
      the new PdfFile.Builder.
    • url

      public URI url()
      Get the url of the PDF.
      Returns:
      the url of the PDF, or null if not set.
    • base64Data

      public String 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object