Skip to content

Commit e4a1f5c

Browse files
authored
Fix PdfLoader doc (#394)
1 parent fa7cc94 commit e4a1f5c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,27 @@
22

33
## Next
44

5+
### Fixed
6+
7+
- Fixed documentation for PdfLoader
8+
59
## 1.9.0
610

711
### Fixed
812

913
- Fixed a bug where Session nodes were duplicated.
1014

15+
## Added
16+
17+
- Added automatic rate limiting with retry logic and exponential backoff for all LLM providers using tenacity. The `RateLimitHandler` interface allows for custom rate limiting strategies, including the ability to disable rate limiting entirely.
18+
1119
## 1.8.0
1220

1321
### Added
1422

1523
- Support for Python 3.13
1624
- Added support for automatic schema extraction from text using LLMs. In the `SimpleKGPipeline`, when the user provides no schema, the automatic schema extraction is enabled by default.
1725
- Added ability to return a user-defined message if context is empty in GraphRAG (which skips the LLM call).
18-
- Added automatic rate limiting with retry logic and exponential backoff for all LLM providers using tenacity. The `RateLimitHandler` interface allows for custom rate limiting strategies, including the ability to disable rate limiting entirely.
1926

2027
### Fixed
2128

docs/source/user_guide_kg_builder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ This package currently supports text extraction from PDFs:
583583
from neo4j_graphrag.experimental.components.pdf_loader import PdfLoader
584584
585585
loader = PdfLoader()
586-
await loader.run(path=Path("my_file.pdf"))
586+
await loader.run(filepath=Path("my_file.pdf"))
587587
588588
To implement your own loader, use the `DataLoader` interface:
589589

0 commit comments

Comments
 (0)