Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Sep 10, 2024
1 parent 32334c9 commit 7688eed
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public RagService(ElasticsearchVectorStore vectorStore, ChatModel model) {

public void ingestPDF(String path) throws IOException, TikaException, SAXException {
// Initializing the PDF parser
// Keep in mind that AutoDetectParser is not thread safe
Parser parser = new AutoDetectParser();
// Using our custom single page handler class
PageContentHandler handler = new PageContentHandler();
Expand Down

0 comments on commit 7688eed

Please sign in to comment.