Skip to content

MARP-4232 Update readme#265

Open
ntqdinh-axonivy wants to merge 4 commits into
masterfrom
feature/MARP-4232-documentation-generation
Open

MARP-4232 Update readme#265
ntqdinh-axonivy wants to merge 4 commits into
masterfrom
feature/MARP-4232-documentation-generation

Conversation

@ntqdinh-axonivy
Copy link
Copy Markdown

Using:

  • skillset of generate-ivy-readme
  • model: gpt-5-mini
  • reasoning level: high
  • consume: 0 premium request

@github-actions github-actions Bot added the enhancement New feature or request label May 4, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

Test Results

219 tests  +212   219 ✅ +212   1m 21s ⏱️ +38s
 58 suites + 57     0 💤 ±  0 
 58 files   + 57     0 ❌ ±  0 

Results for commit b911849. ± Comparison against base commit f2ae753.

♻️ This comment has been updated with latest results.

Comment thread smart-workflow-product/README.md Outdated

### Exposed CALLABLE_SUB processes

##### `invokeAgent(String,String,List<String>,Class)`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is an internal hook for the Portal. I think we don't want to expose it to other public use-cases. Have you considered only listing tagged sub processes? IMHO only "connector" tagged sub processes should be listed.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose that the callable sub listing mentioned that only subs with "connector" tag is listed but it was not strictly followed . I would update the checking section for it.

Comment thread smart-workflow-product/README.md Outdated
<dependency>
<groupId>com.axonivy.utils.ai</groupId>
<artifactId>smart-workflow-demo</artifactId>
<version>${version}</version>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd omit the version everywhere ... or are you planning to interpolate it on the website with a real latest version?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initially, We intended to replace it with specific version as what we did in maven tab in marketplace:
https://market.axonivy.com/smart-workflow?version=14.0.0-b4#dependency

But would you like to display version in Component tab, or we could omit it completely?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can pick whatever works best and adjust if a customer is asking for it.
For me personally omitting the version completely is fine. And keeping a dynamic version which is replaced at runtime is equally ok. So you may pick on your preference.

![Other configurations](img/agent-other-configurations.png)

## Components

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nice 👍
Q: Shouldn't reusable UI components be listed here as well? Are they available in Smart Workflow?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked and found UI components is only provided in demos project (currently, we will not mention UI dialogs/ components from demo or test project) -> there is no info about UI Components listed in this readme.

Please help me to confirm if we need to change that logic 😅

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirmed, there is no UI component in Smart Workflow 😄

@ntqdinh-axonivy ntqdinh-axonivy force-pushed the feature/MARP-4232-documentation-generation branch from c66e896 to b503ef4 Compare May 5, 2026 05:40
Comment thread smart-workflow-product/README.md Outdated
Comment on lines 125 to 136
#### SmartWorkflowAgentData — Data Class for AI agent invocation
- **Namespace:** Portal
- **Component type:** Data Class
- **Fields:**
- `query` (String) — The user query/message to send to the AI agent
- `systemMessage` (String) — System message to define agent behavior
- `tools` (List<String>) — List of tool names available to the agent. Keep empty to use all tools
- `resultType` (Class) — Expected result type class for structured output. Keep null for String result
- `resultObject` (Object) — The AI agent response result
- **Where used:** `SmartWorkflowAgent.p.json` (invokeAgent CallSubStart)
- **Purpose:** Provides parameters and result mapping for invoking the Smart Workflow Agent from Portal processes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why should we promote our internal data? the interface of the callable sub is the only public artifact.

Comment thread smart-workflow-product/README.md Outdated
Check the demo implementations provided in the `smart-workflow-demo` module, which include user-facing examples and integrations.

To quickly set up the demo data, start **Create data for shopping demo** from the process list.
### Demo workflows
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we aligned to start "only" with the "components" section ... but your PR still looks as if we are trying to achieve everything with a big bang solution. please reduce the scope if you are looking for feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants