letaoj opened a new pull request, #239:
URL: https://github.com/apache/flink-agents/pull/239
# Conflicts:
#
e2e-test/integration-test/src/main/java/org/apache/flink/agents/integration/test/WorkflowSingleAgentExample.java
#
e2e-test/integration-test/src/main/java/org/apache/flink/agents/integration/test/agents/CustomTypesAndResources.java
#
e2e-test/integration-test/src/main/java/org/apache/flink/agents/integration/test/agents/ReviewAnalysisAgent.java<!--
* Thank you very much for contributing to Flink Agents.
* Please add the relevant components in the PR title. E.g., [api],
[runtime], [java], [python], [hotfix], etc.
-->
<!-- Please link the PR to the relevant issue(s). Hotfix doesn't need this.
-->
Linked issue: #200
### Purpose of change
<!-- What is the purpose of this change? -->
Add a multiple agent integration example in java.
### Tests
<!-- How is this change verified? -->
```
❯ cd examples; java --add-opens java.base/java.util=ALL-UNNAMED --add-opens
java.base/java.lang=ALL-UNNAMED --add-opens
java.base/java.lang.reflect=ALL-UNNAMED --add-opens
java.base/java.text=ALL-UNNAMED --add-opens
java.desktop/java.awt.font=ALL-UNNAMED -cp "target/classes:$(mvn
dependency:build-classpath -q -Dmdep.outputFile=/dev/stdout)"
org.apache.flink.agents.examples.WorkflowMultipleAgentExample; cd ..
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
com.esotericsoftware.kryo.util.UnsafeUtil
(file:/Users/ljiang/.m2/repository/com/esotericsoftware/kryo/kryo/2.24.0/kryo-2.24.0.jar)
to constructor java.nio.DirectByteBuffer(long,int,java.lang.Object)
WARNING: Please consider reporting this to the maintainers of
com.esotericsoftware.kryo.util.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Transportation issue for product [B000YFSR4W], the customer feedback: The
magazine was already damaged when I received it — the whole book was wet!
ProductSuggestion{id='B010RRWKT4', scoreHist=[0.0%, 0.0%, 0.0%, 0.0%,
100.0%], suggestions=[Maintain the high standards of comfort and performance
that users appreciate., Continue to ensure the product fits well and meets
customer expectations consistently., Monitor user feedback regularly to
identify and address any emerging concerns promptly.]}
ProductSuggestion{id='B014IBJKNO', scoreHist=[0.0%, 0.0%, 0.0%, 0.0%,
100.0%], suggestions=[Enhance product visibility by optimizing search
algorithms and increasing its presence in relevant categories., Leverage the
positive feedback on comfort and weight by creating marketing content that
highlights these features to attract more buyers., Consider expanding the
product line or offering complementary accessories to increase customer
satisfaction and engagement.]}
ProductSuggestion{id='B009MA34NY', scoreHist=[0.0%, 0.0%, 0.0%, 0.0%,
100.0%], suggestions=[Enhance marketing efforts to highlight the product's
comfort, support, and durability to attract more customers., Collect and
analyze more detailed feedback to identify potential areas for improvement,
even if some reviews are positive., Consider expanding the product line or
offering complementary accessories to increase customer satisfaction and
loyalty.]}
ProductSuggestion{id='B001IKJOLW', scoreHist=[0.0%, 0.0%, 0.0%, 50.0%,
50.0%], suggestions=[Improve the heel design to prevent slipping during turns
for better user comfort and safety., Conduct user feedback surveys to identify
additional pain points and prioritize improvements., Enhance product quality
control to reduce the occurrence of dissatisfaction issues.]}
ProductSuggestion{id='B000YFSR4W', scoreHist=[50.0%, 0.0%, 0.0%, 0.0%,
50.0%], suggestions=[Improve packaging and shipping processes to prevent
product damage during transit., Implement a quality check system before
shipping to ensure all products are in good condition., Provide clear
communication to customers about shipping status and potential delays.]}
Transportation issue for product [B001IKJOLW], the customer feedback: The
magazine was already damaged when I received it — the whole book was wet!
ProductSuggestion{id='B0092UF54A', scoreHist=[0.0%, 0.0%, 0.0%, 33.3%,
66.7%], suggestions=[Enhance product visibility by improving its description
and images to better align with customer expectations., Focus on maintaining
the high satisfaction levels by consistently ensuring comfort and fit in future
product iterations., Provide additional support or resources to address any
potential concerns or questions customers may have post-purchase.]}
```
### API
<!-- Does this change touches any public APIs? -->
### Documentation
<!-- Should this change be covered by the user documentation?-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]