Custom DynamoDB Client in @langchain/community/stores/message/dynamodb #8358
alexbaileyuk
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
As a user of the
@langchain/community/stores/message/dynamodb
component, I'd like to be able to provide my ownDynamoDBClient
rather than it being created for me in the constructor.Motivation
I would like to be able to instrument the client with AWS X-Ray. It would also allow me to instantiate the client once and re-use the client across other areas of my application.
Proposal (If applicable)
From what I can tell, the constructor could be changed with relative ease:
I'd be happy to take a look at this in a PR. Would just like some steer on how we'd want tests modifying. Would we want to duplicate all tests for both options (providing custom client vs providing client config) or should we just have a 'happy path' test for it?
Beta Was this translation helpful? Give feedback.
All reactions