docwho2 / java-connect-lex-chatgpt Goto Github PK
View Code? Open in Web Editor NEWAmazon Connect Multi-Lingual ChatGPT Voice Bot via AWS Lex written in Java
License: MIT License
Amazon Connect Multi-Lingual ChatGPT Voice Bot via AWS Lex written in Java
License: MIT License
Deployment failed and returned the following error
Error: Failed to create/update the stack: connect-chatgpt, Waiter StackCreateComplete failed: Waiter encountered a terminal failure state: For expression "Stacks[].StackStatus" we matched expected path: "ROLLBACK_COMPLETE" at least once
==============================
Prior to the deployment, the "sam build" also failed (partially)
"=============================="
Build Failed
Error: JavaMavenWorkflow:MavenBuild - Maven Failed: [INFO] Scanning for projects...
[INFO]
[INFO] ---------< cloud.cleo.awsconnect-chatgpt:generate-poly-prompt >---------
[INFO] Building Polly Prompt Generator 1.0
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.amazonaws:aws-lambda-java-events:jar:4.0.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.662 s
[INFO] Finished at: 2023-09-13T17:03:53-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project generate-poly-prompt: Could not resolve dependencies for project cloud.cleo.awsconnect-chatgpt:generate-poly-prompt:jar:1.0: The following artifacts could not be resolved: com.amazonaws:aws-lambda-java-events:jar:4.0.0 (absent): com.amazonaws:aws-lambda-java-events:jar:4.0.0 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
========================
When I ran ./init.bash before sam build, it also failed :
"========================"
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.024 s
[INFO] Finished at: 2023-09-13T17:03:11-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.1:shade (default) on project aws-lambda-java-serialization: Error creating shaded jar: duplicate entry: META-INF/services/com.amazonaws.lambda.thirdparty.com.fasterxml.jackson.core.JsonFactory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
When deploying, I am encountering the following error:
Resource handler returned message: "Resource of type 'AWS::Lambda::Version' with identifier 'arn:aws:lambda:us-west-2:543274669242:function:connect-chatgpt-ChatGPT:3' did not stabilize. Status Reason is An error occurred during function initialization." (RequestToken: dc471de3-75b5-4737-efc8-de9c60cbcc2b, HandlerErrorCode: NotStabilized)
I have tried to look for information, but it has not been satisfactory.
Do you have any advice?
Is there any way to either 1. keep continuous dialogue going w/out a lex bot?, or 2. immediately trigger a fallback intent for lex? This is a fantastic project, but responses are extremely slow and break the 'feel' of a real conversation. Thanks for sharing it openly!
Facing an issue for the Lambda ChatGPT role during deployment, is there a workaround for this?
Resource handler returned
message: "'MemorySize' value
failed to satisfy constraint:
Member must have value less
than or equal to 3008
(Service: Lambda, Status
Code: 400, Request ID: e5bf05
4b-d513-410f-9946-
490e2a73d8a9)" (RequestToken:
9ccc96b1-2dbc-1e2e-2a73-
a915b3607337,
HandlerErrorCode:
InvalidRequest)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.