Added AgenticServices helper#835
Merged
ricardozanini merged 2 commits intoserverlessworkflow:mainfrom Oct 8, 2025
Merged
Conversation
2401aa7 to
61bd518
Compare
Member
There was a problem hiding this comment.
I think we already have something pretty similar on the agentic-langchain4j module. Is it doable to share the same class?
21fa658 to
bfec4eb
Compare
fjtirado
reviewed
Oct 7, 2025
experimental/lambda/src/main/java/io/serverlessworkflow/impl/executors/func/JavaFuncUtils.java
Outdated
Show resolved
Hide resolved
fjtirado
reviewed
Oct 7, 2025
...mental/lambda/src/main/java/io/serverlessworkflow/impl/expressions/func/HasAgenticScope.java
Outdated
Show resolved
Hide resolved
bfec4eb to
18e031d
Compare
Signed-off-by: Dmitrii Tikhomirov <chani.liet@gmail.com>
18e031d to
0089734
Compare
fjtirado
approved these changes
Oct 8, 2025
Member
ricardozanini
left a comment
There was a problem hiding this comment.
It's getting pretty neat!
...chain4j/src/test/java/io/serverlessworkflow/fluent/agentic/langchain4j/WorkflowAgentsIT.java
Outdated
Show resolved
Hide resolved
| AgentsUtils.NovelCreator novelCreator = | ||
| io.serverlessworkflow.fluent.agentic.AgenticServices.of(AgentsUtils.NovelCreator.class) | ||
| .flow(workflow("seqFlow").agent(creativeWriter).sequence(audienceEditor, styleEditor)) | ||
| .build(); |
Member
There was a problem hiding this comment.
This DSL is looking pretty cool. We should do the same for FuncWorkflowBuilder, which is the one we are using on quarkus-flow next.
...chain4j/src/test/java/io/serverlessworkflow/fluent/agentic/langchain4j/WorkflowAgentsIT.java
Show resolved
Hide resolved
...ental/fluent/agentic/src/main/java/io/serverlessworkflow/fluent/agentic/AgenticWorkflow.java
Show resolved
Hide resolved
Signed-off-by: Dmitrii Tikhomirov <chani.liet@gmail.com>
e521094 to
e23c225
Compare
ricardozanini
approved these changes
Oct 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.