Skip to content
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

IVYPORTAL-17923: Added Portal AI functions #1181

Conversation

mnhnam-axonivy
Copy link
Contributor

No description provided.

mnhnam-axonivy and others added 30 commits January 11, 2024 14:23
- Implement render normal paragraph
- Implement iframe capability
- Integrate AI logic to Portal
- Create suggestions
- Adapt UI of streaming message
- Adapt for the assistant approach
- Implemented JSON for assistants and tools
- Implemented UI to show tools of assistant
- Implemented permission check
- Implemented tool to find users
- Improve logic to handle tools
- UI/UX: added typing dots when waiting for AI
- UI/UX: disable textbox and button when waiting for AI
- enhance validation
- check NPE
- update UI
…ortal-Chatbot

# Conflicts:
#	AxonIvyPortal/portal-components/src/com/axonivy/portal/components/service/impl/ProcessService.java
#	AxonIvyPortal/portal/processes/Start Processes/PortalStart.p.json
#	AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/enums/PortalVariable.java
#	AxonIvyPortal/portal/webContent/resources/css/module.css
…o feature/IVYPORTAL-16295-SPIKE-UI-PoC-for-Portal-Chatbot

# Conflicts:
#	AxonIvyPortal/portal/cms/cms_de.yaml
#	AxonIvyPortal/portal/cms/cms_en.yaml
#	AxonIvyPortal/portal/cms/cms_es.yaml
#	AxonIvyPortal/portal/cms/cms_fr.yaml
#	AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/dto/dashboard/TaskDashboardWidget.java
#	AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/enums/DashboardStandardCaseColumn.java
#	AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/enums/DashboardStandardTaskColumn.java
#	AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/enums/PortalVariable.java
#	AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml
#	AxonIvyPortal/portal/webContent/resources/css/portal-root-variables.css
…o feature/IVYPORTAL-16295-SPIKE-UI-PoC-for-Portal-Chatbot
…o feature/IVYPORTAL-16295-SPIKE-UI-PoC-for-Portal-Chatbot
…o feature/IVYPORTAL-16295-SPIKE-UI-PoC-for-Portal-Chatbot

# Conflicts:
#	AxonIvyPortal/portal/processes/Start Processes/PortalStart.p.json
- Update feature to show image in the answer
…o feature/IVYPORTAL-16295-SPIKE-UI-PoC-for-Portal-Chatbot
…o feature/IVYPORTAL-16295-SPIKE-UI-PoC-for-Portal-Chatbot
mnhnam-axonivy and others added 19 commits September 18, 2024 14:52
…o feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description
…o feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description

# Conflicts:
#	AxonIvyPortal/portal/cms/cms_de.yaml
#	AxonIvyPortal/portal/cms/cms_en.yaml
#	AxonIvyPortal/portal/cms/cms_fr.yaml
#	AxonIvyPortal/portal/webContent/layouts/includes/topbar.xhtml
- Mentioned AI Assistant in Portal document
…nt - Preparation

- Fixed bug: error when find task by expiry day
…nt - Preparation

- Skip permission check when running AI Tool processes
…-Stage-1-Make-Portal-Adaptions-documented

IVYPORTAL-17352 Stage 1 - Make Portal Adaptions documented
- Remove unnecessary error when found 0 process
…r-description' of https://github.com/axonivy-market/portal into feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description
…o feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description

# Conflicts:
#	AxonIvyPortal/portal/cms/cms_de.yaml
#	AxonIvyPortal/portal/cms/cms_en.yaml
#	AxonIvyPortal/portal/cms/cms_es.yaml
#	AxonIvyPortal/portal/cms/cms_fr.yaml
#	AxonIvyPortal/portal/src/ch/ivy/addon/portal/generic/bean/ChatRendererBean.java
#	AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/bean/CompactDashboardProcessBean.java
#	AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml
#	AxonIvyPortal/portal/webContent/resources/css/module.css
#	AxonIvyPortal/portal/webContent/resources/css/portal-variables-dark.css
#	AxonIvyPortal/portal/webContent/resources/css/portal-variables-light.css
- Resolved conflicts after merge with master
…o feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description
…o feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description

# Conflicts:
#	AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/ActionsCell.xhtml
#	AxonIvyPortal/portal/webContent/resources/css/module.css
…o feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description
…o feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description

# Conflicts:
#	AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/CaseWidget/CaseWidget.xhtml
#	AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/StartCell.xhtml
#	AxonIvyPortal/portal/src_hd/ch/ivy/addon/portal/generic/dashboard/component/TaskWidget/TaskWidget.xhtml
…r-description' of https://github.com/axonivy-market/portal into feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description
@github-actions github-actions bot added the enhancement New feature or request label Nov 4, 2024
- Fixed wrong format reply
- Added pretty print feature for BusinessEntityConverter which is needed for the export conversation feature
AI:
Error:
CanceledFlow: You have canceled the flow. If you have any requests, please let me know.
ErrorWhenProceedRequest: An error has occurred while trying to process your request. Please, try again later.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should remove the comma -> Please try again later

AI:
Error:
CanceledFlow: You have canceled the flow. If you have any requests, please let me know.
ErrorWhenProceedRequest: An error has occurred while trying to process your request. Please, try again later.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should remove the comma -> Please try again later

AI:
Error:
CanceledFlow: You have canceled the flow. If you have any requests, please let me know.
ErrorWhenProceedRequest: An error has occurred while trying to process your request. Please, try again later.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should remove the comma -> Please try again later

AI:
Error:
CanceledFlow: You have canceled the flow. If you have any requests, please let me know.
ErrorWhenProceedRequest: An error has occurred while trying to process your request. Please, try again later.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should remove the comma -> Please try again later

…ORTAL-17923 Merge Portal AI functions to master

- Fixed CMS
Copy link
Contributor

@lmluat-axonivy lmluat-axonivy left a comment

Choose a reason for hiding this comment

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

LGTM

…o feature/IVYPORTAL-17170-Stage-1-Start-process-by-name-or-description

# Conflicts:
#	AxonIvyPortal/portal/webContent/resources/css/module.css
@mnhnam-axonivy mnhnam-axonivy changed the title Feature/ivyportal 17170 stage 1 start process by name or description IVYPORTAL-17923: Added Portal AI functions Nov 19, 2024
@mnhnam-axonivy mnhnam-axonivy merged commit 87d7ae5 into master Nov 19, 2024
1 check passed
@lndanh-axonivy lndanh-axonivy added skip-changelog Will skip when running release drafter and removed enhancement New feature or request labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Will skip when running release drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants