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

partners/mongodb: Improved search index commands #24745

Merged

Conversation

caseyclements
Copy link
Contributor

@caseyclements caseyclements commented Jul 27, 2024

Hardens index commands with try/except for free clusters and optional waits for syncing and tests.

efriis These are the upgrades to the search index commands (CRUD) that I mentioned.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
… waits for free clusters and tests.
@efriis efriis added the partner label Jul 27, 2024
@efriis efriis self-assigned this Jul 27, 2024
Copy link

vercel bot commented Jul 27, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 8:16pm

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Ɑ: vector store Related to vector store module 🔌: mongo Primarily related to Mongo integrations 🤖:improvement Medium size change to existing code to handle new use-cases labels Jul 27, 2024
@caseyclements
Copy link
Contributor Author

@efriis I'll discuss with my team how best to make tests non-trivial in the morning and get back to you.

…e 2nd set of cases
@caseyclements
Copy link
Contributor Author

Ok. Added an additional exception to pytest.raises. That's sufficient to capture all cases that I want to test that shouldn't work.

… to capture 2nd set of cases
@caseyclements
Copy link
Contributor Author

@efriis If you have a spare minute, would you please merge this? It will make the Retrievers one cleaner.

@caseyclements
Copy link
Contributor Author

@eyurtsev Hi Eugene, would you please take a look at this? Quick and easy, and it will really help me deal with merge conflicts on #23237 (or what will be our HybridSearchRetriever PR).

Erick Friis added 3 commits August 1, 2024 13:10
Copy link
Contributor

@efriis efriis left a comment

Choose a reason for hiding this comment

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

just updated some kwargs to be keyword only (to avoid a breaking change in future of reordering positionals on things that should be kw-only)

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Aug 1, 2024
@efriis efriis enabled auto-merge (squash) August 1, 2024 20:12
@efriis efriis merged commit db3ceb4 into langchain-ai:master Aug 1, 2024
16 checks passed
@caseyclements
Copy link
Contributor Author

Thanks, @efriis . Appreciate the review and additional commits.

olgamurraft pushed a commit to olgamurraft/langchain that referenced this pull request Aug 16, 2024
Hardens index commands with try/except for free clusters and optional
waits for syncing and tests.

[efriis](https://github.com/efriis) These are the upgrades to the search
index commands (CRUD) that I mentioned.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖: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. 🔌: mongo Primarily related to Mongo integrations partner size:L This PR changes 100-499 lines, ignoring generated files. Ɑ: vector store Related to vector store module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants