Skip to content
New issue

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

community: Use astrapy built-in pagination prefetch in AstraDBLoader #17569

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

cbornet
Copy link
Collaborator

@cbornet cbornet commented Feb 15, 2024

No description provided.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 15, 2024
Copy link

vercel bot commented Feb 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Feb 15, 2024 2:49pm

@dosubot dosubot bot added Ɑ: doc loader Related to document loader module (not documentation) 🤖:improvement Medium size change to existing code to handle new use-cases labels Feb 15, 2024
@cbornet cbornet changed the title Use astrapy built-in pagination prefetch in AstraDBLoader community: Use astrapy built-in pagination prefetch in AstraDBLoader Feb 15, 2024
@eyurtsev eyurtsev self-assigned this Feb 15, 2024
@eyurtsev eyurtsev self-requested a review February 15, 2024 14:50
@@ -33,6 +30,7 @@ class AstraDBLoader(BaseLoader):
def __init__(
self,
collection_name: str,
*,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR, but the loader could use a lot of in code documentation. It's surfaced in the APIReference and in interactive environments. Some of the variables are self explanatory, but other variables like filter_criteria or projection would require reading through the code or fishing for documentation somewhere else.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I'll add pydoc as follow-up PR.

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Feb 15, 2024
@eyurtsev eyurtsev merged commit 789cd51 into langchain-ai:master Feb 15, 2024
58 checks passed
@cbornet cbornet deleted the doc-loader-refacto branch February 15, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ɑ: doc loader Related to document loader module (not documentation) 🤖:improvement Medium size change to existing code to handle new use-cases lgtm PR looks good. Use to confirm that a PR is ready for merging. size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants