Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Oct 25, 2024
1 parent de54885 commit 9e8766c
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 9e8766c

Please sign in to comment.