DOC: documentation Update Request: Deprecation of loadAndSplit in NotionAPI Web Loader Example #7494
Closed
2 tasks done
Labels
auto:documentation
Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
Checklist
Issue with current documentation:
Documentation Update Request: NotionAPI Web Loader Deprecation Notice
Summary
The
loadAndSplit
method in the NotionAPI Web Loader example is deprecated and needs to be updated to reflect current best practices.Current Documentation
The NotionAPI Web Loader documentation currently shows:
Issue
VSCode displays a deprecation warning for this method:
Related Links
Idea or request for content:
Suggested Update
The example should be updated to use the two separate methods as recommended:
Benefits of Change
Additional Notes
This change maintains the same functionality while using the current recommended approach. The split operation is now more visible in the code, making it easier for developers to understand and modify the splitting behavior if needed.
The text was updated successfully, but these errors were encountered: