Open NicolasHoferer opened 3 days ago
@NicolasHoferer Thanks for reporting this issue. Acknowledge that this is a concern, but would need more data to reproduce this and verify if this is an issue with the LangChain implementation or an underlying issue with the Bedrock service.
It does not happen everytime only sometimes and until now only when we run the application in the Azure cloud.
One thing that could help here is turning on the CloudWatch logs in AWS for Bedrock services, so that you can see if the request completed on the Bedrock side. Here is the documentation to turn on monitoring for Bedrock. https://docs.aws.amazon.com/bedrock/latest/userguide/model-invocation-logging.html
We are experiencing issues when using langchain-aws to connect to the bedrock-runtime service in AWS. Sometimes we don't get any response. We could not find any helpful information in our logs, not even with DEBUG log level. The issue is critical because our application requires minimal latency, and even a 3-second timeout can impact performance.
It does not happen everytime only sometimes and until now only when we run the application in the Azure cloud.
Anyone has an idea or similar issues?
Here is the code we use to setup the ChatBedrock using boto3.