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

fix(azure-cosmosdb): Add caches for Azure CosmosDB vCore [comments resolved] #7307

Merged
merged 6 commits into from
Dec 20, 2024

Conversation

crisjy
Copy link
Contributor

@crisjy crisjy commented Dec 3, 2024

Fixes # (issue)

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 3, 2024
Copy link

vercel bot commented Dec 3, 2024

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

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Dec 18, 2024 11:02am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Dec 18, 2024 11:02am

@dosubot dosubot bot added the auto:improvement Medium size change to existing code to handle new use-cases label Dec 3, 2024
Copy link
Collaborator

@jacoblee93 jacoblee93 left a comment

Choose a reason for hiding this comment

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

Sorry about the delayed review!

@dosubot dosubot bot added the lgtm PRs that are ready to be merged as-is label Dec 10, 2024
@jacoblee93 jacoblee93 changed the title Add caches for Azure CosmosDB vCore fix(azure-cosmosdb): Add caches for Azure CosmosDB vCore Dec 10, 2024
@jacoblee93
Copy link
Collaborator

Actually - would love to tag @sinedied for a second look!

@jacoblee93 jacoblee93 added the hold On hold label Dec 10, 2024
Copy link
Contributor

@sinedied sinedied left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

Could you restructuring the current file structure to:

- src/
  - caches/
    - nosql.ts
    - mongodb.ts

The same could be done for the tests, so you could duplicate the existing test that exist for the NoSQL version to have one for the MongoDB version.

libs/langchain-azure-cosmosdb/src/caches.ts Outdated Show resolved Hide resolved
libs/langchain-azure-cosmosdb/src/caches.ts Outdated Show resolved Hide resolved
libs/langchain-azure-cosmosdb/src/caches.ts Outdated Show resolved Hide resolved
libs/langchain-azure-cosmosdb/src/caches.ts Outdated Show resolved Hide resolved
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Dec 16, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Dec 18, 2024
@crisjy
Copy link
Contributor Author

crisjy commented Dec 18, 2024

@jacoblee93 @sinedied comments and conflict resolved, also add test for mongo cache. Could you help review and approve this PR? Thanks a lot

@crisjy crisjy changed the title fix(azure-cosmosdb): Add caches for Azure CosmosDB vCore fix(azure-cosmosdb): Add caches for Azure CosmosDB vCore [comments resolved] Dec 18, 2024
Copy link
Collaborator

@jacoblee93 jacoblee93 left a comment

Choose a reason for hiding this comment

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

Thank you!

@jacoblee93 jacoblee93 merged commit 51bf619 into langchain-ai:main Dec 20, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:improvement Medium size change to existing code to handle new use-cases hold On hold lgtm PRs that are ready to be merged as-is size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants