-
Notifications
You must be signed in to change notification settings - Fork 264
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
Bug: Same error in response for all queries in the example demos. #141
Comments
Hi, 1 - Have you checked if the LLM models are available in your account? Make sure you activate them following the procedure https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html This demo uses 2 models 2 - Once you do this, if you still have errors, you can check the logs of the Lambda function. |
Hi @cornelcroi I have enabled the models and the chat demo app is working now: However the AI ecommerce support simulator still shows the same response: I checked the cloudwatch logs for the lambda function: AiEcommerceSupportSimulat-CustomerMessageLambda135-Nuw3lBsD0lt3 I can see the following error in the log: `INIT_START Runtime Version: nodejs:18.v57 Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:8865cfc6a1d3f2dfabf5c509eaa9fbd70aa12fa4bbe614047030158c21978bcc 2024-12-13T04:42:46.394Z undefined INFO Human agent init 2024-12-13T04:42:46.430Z bdb9015a-5f33-507b-8299-5e8fe242d76e INFO Received event: 2024-12-13T04:42:46.466Z bdb9015a-5f33-507b-8299-5e8fe242d76e INFO Human agent init 2024-12-13T04:42:46.468Z bdb9015a-5f33-507b-8299-5e8fe242d76e INFO Calling the orchestrator sessionId:pqdnswnyrf, message: Hello, I would like to check the status of my order #12345. 2024-12-13T04:42:46.714Z bdb9015a-5f33-507b-8299-5e8fe242d76e INFO sendToSQS message="[ERROR] Error processing request: {"name":"AccessDeniedException","$fault":"client","$metadata":{"httpStatusCode":403,"requestId":"1ac5178e-0f39-433c-95b7-0067916d3e18","attempts":1,"totalRetryDelay":0}}" 2024-12-13T04:42:46.715Z bdb9015a-5f33-507b-8299-5e8fe242d76e INFO sendToSQS message="[ERROR] Error during intent classification: {"name":"AccessDeniedException","$fault":"client","$metadata":{"httpStatusCode":403,"requestId":"1ac5178e-0f39-433c-95b7-0067916d3e18","attempts":1,"totalRetryDelay":0}}" 2024-12-13T04:42:46.716Z bdb9015a-5f33-507b-8299-5e8fe242d76e INFO orchestratorResponse= 2024-12-13T04:42:46.763Z bdb9015a-5f33-507b-8299-5e8fe242d76e INFO Message sent to SQS: ef0c0431-3d82-4c38-8bb2-4381bed7a91d END RequestId: bdb9015a-5f33-507b-8299-5e8fe242d76e REPORT RequestId: bdb9015a-5f33-507b-8299-5e8fe242d76e Duration: 339.96 ms Billed Duration: 340 ms Memory Size: 2048 MB Max Memory Used: 277 MB Init Duration: 1977.86 ms |
Hi, We are in the middle of refactoring many examples (this one included). |
Expected Behaviour
I followed the documentation and deployed both the Multi agent orchestrator demo and AI-Powered E-commerce Support Simulator apps.
https://awslabs.github.io/multi-agent-orchestrator/cookbook/examples/chat-demo-app/
https://awslabs.github.io/multi-agent-orchestrator/cookbook/examples/ecommerce-support-simulator/
For any query I should have got a response other than an error.
Current Behaviour
I am getting the error:
I'm sorry, an error occurred while processing your request. Please try again later.
for both the apps.
Code snippet
Possible Solution
No response
Steps to Reproduce
Follow the deployment steps for both example demos:
https://awslabs.github.io/multi-agent-orchestrator/cookbook/examples/chat-demo-app/#-deployment-steps
https://awslabs.github.io/multi-agent-orchestrator/cookbook/examples/ecommerce-support-simulator/#-deployment-guide
Then enter the sample queries suggested in the docs in both cases.
The text was updated successfully, but these errors were encountered: