We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loader = GitbookLoader( web_page="https://docs.gitbook.com/", load_all_paths=True ) docs = loader.load() print(len(docs))
No response
The problem can be fixed by replacing the webpage in gitbook.py init by
if load_all_paths: # set web_path to the sitemap if we want to crawl all paths web_page = f"{self.base_url}/sitemap-pages.xml"
So perhaps a constructor parameter to provide custom sitemap url would be sufficient.
OS: Windows OS Version: 10.0.19045 Python Version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
langchain_core: 0.3.48 langchain: 0.3.21 langchain_community: 0.3.20 langsmith: 0.1.137 langchain_openai: 0.3.10 langchain_text_splitters: 0.3.7
The text was updated successfully, but these errors were encountered:
PR submitted with fix in line with OP's suggestion + tests
Sorry, something went wrong.
No branches or pull requests
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
No response
Description
The problem can be fixed by replacing the webpage in gitbook.py init by
So perhaps a constructor parameter to provide custom sitemap url would be sufficient.
System Info
System Information
Package Information
The text was updated successfully, but these errors were encountered: