Replies: 1 comment
-
+1 to this request. Using the AWS SDK implementation will also enable alternative authentication methods, such as assuming IAM roles. This is mandatory in some companies that prohibit the use of static access keys. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
I work at New Relic on the Node.js agent team. We have instrumented langchain to get observability for customers using the library. We're getting insights into calls from
openai
by instrumenting theopenai
calls. However with AWS Bedrock, it appears that langchain is using its own implementation of bedrock. Would you be open to updating this file to rely on@aws-sdk/client-bedrock-runtime
?Motivation
At New Relic we want to avoid instrumenting similar libraries to get telemetry for interactions with AWS Bedrock. I have noticed the embeddings bit relies on
@aws-sdk/client-bedrock-runtime
but the LLM interactions are bespoke.Proposal (If applicable)
Update
@langchain/community/llms/bedrock
to rely on@aws-sdk/client-bedrock-runtime
Beta Was this translation helpful? Give feedback.
All reactions