Skip to content

Commit 9e8766c

Browse files
committed
comment
1 parent de54885 commit 9e8766c

File tree

1 file changed

+1
-0
lines changed
  • examples/rag-spring-article/src/main/java/co/elastic/clients/rag/article

1 file changed

+1
-0
lines changed

examples/rag-spring-article/src/main/java/co/elastic/clients/rag/article/RagService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public RagService(ElasticsearchVectorStore vectorStore, ChatModel model) {
6060

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

0 commit comments

Comments
 (0)