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

feature/IVYPORTAL-17735-Stage-1-Use-internal-OpenSearch-of-ivy-engine-as-the-vector-store #3

Conversation

mnhnam-axonivy
Copy link
Collaborator

No description provided.

…e vector store

- Change from Elastic Search to Open Search
- Adapt code, error handling approach
- Improve approach to parsing Portal document
- Categorize questions before handle them
@github-actions github-actions bot added the enhancement New feature or request label Nov 6, 2024
@mnhnam-axonivy mnhnam-axonivy changed the base branch from master to develop November 6, 2024 02:43
Copy link
Contributor

github-actions bot commented Nov 6, 2024

Test Results

5 tests  ±0   5 ✅ ±0   30s ⏱️ -3s
4 suites ±0   0 💤 ±0 
4 files   ±0   0 ❌ ±0 

Results for commit 3b3a164. ± Comparison against base commit 808857f.

♻️ This comment has been updated with latest results.

Copy link

@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

- Improve answer quality
- Implement export conversation feature
@@ -638,6 +665,14 @@
{
"action": 26,
"case": "In the chat history, AI didn't metion any process"

Choose a reason for hiding this comment

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

AI didn't mention

Copy link

@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.

Sometimes AI response shows incorrect image
Question: How to add new column in task widget?
it shows Edit button in task detail
image
another incorrect image
image

- Handled feedback: Fix grammar error
- Handled feedback: Improve rephrase quality of the find tasks function
@mnhnam-axonivy mnhnam-axonivy merged commit 7d4444c into develop Dec 2, 2024
5 checks passed
nqhoan-axonivy added a commit that referenced this pull request Dec 11, 2024
* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Initialize project

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Clone code to ai-assistant project

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Implementing demo

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Preparing example
- Implement new step type: trigger flow step

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Preparing example
- Fix various bugs
- Improve efficient of approach to check message
- Simplify some prompt templates

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Finalize demo

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Simplify prompt template
- Refactor approach to get default language
- Reduce number of processing tokens

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Add interactive demo

* Revert "IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation"

This reverts commit 1ba0bdd.

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Clean code

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Create product part

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update document
- Remove debug log

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Added process to backup/restore assistant and AI functions
- Update document

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Implement notification (which step is running) to help user know that what is happening behind the scene

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Improve history flow
- Improve prompt to fulfill tool

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Improve history flow
- Improve prompts

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Convert to latest ivy version

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Handled feedback: change groupId to com.axonivy.utils.aiassistant
- Handled feedback: update zip.xml
- Removed unnecessary library Ollama from ai-assistant/pom.xml

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Updated behavior when end flow

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Updated behavior when end flow
- Implement new tool: find task details

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Improve find task flow

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Remove debug code

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Handled feedback: Make AI Assistant stand alone
- Handled feedback: Show error when cannot communicate with AI provider
- Handled feedback: Handle case Portal not existed in security context

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Add name and description for demo processes

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Remove debug log

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Handle endless logic loop
- Handle default answer for Retrieval QA Tool in case AI cannot find any relevant documents
- Handle feedback: Remove unnecessary cms
- Handle feedback: Guide user to upload Portal document
- Handle feedback: Improve the Create index process to allows user upload the official zip file downloaded from the Axon IVy Market
- Handled feedback: Added Json version when save assistant

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Added tooltip for buttons

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Improved UI

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Added version for AssistantTemplates.json
- Added version for AiModel.java

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- HAndled feedback: extend width of the the upload panel

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Updated note for user to run demo

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Enhance demo flow
- Fix bug: empty result from Ivy Tool not handled correctly

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Updated document
- Moved guide to create AI Flow to developer guide

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update link for images due to changes of Axon Ivy Market

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update doc

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Test downgrade to ivy 11.3

* Revert "IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation"

This reverts commit 2e6eb00.

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Remember selected Assistant in session

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Updated UI assistant selection

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Updated Disclaimer

* Feature/ivyportal 17131 stage 1 create a marketplace item for portal assistant (#3)

Created test project

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Fix errors

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Implement Assistant selection panel

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Improve prompts
- Enhance choose functions feature

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Make responds more stable

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Handle UI of adding new assistant

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Reduced thinking steps

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Clean up

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Added request names for process starts to avoid task name as UUID in management, configuration pages

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Handle shift enter for multiple lines, enter to send message

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Implemented

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Update document

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Use marked js to convert markdown to HTML

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Remove info panel empy assistant
Updated scenario that needs to handle collapsing system steps

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Convert to latest ivy version

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Enhance UI of notifications
- Improve default answer prompt

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Improve UI
- Implement default language by user language

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Handled feedback: pre-sort function list
- Handled feedback: fix bug cannot delete functions

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Handled feedback: Fix bug when add functions

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Fixed compile error after ivy engine changed to OpenSearch

* Create README_DE.md

init README_DE.md

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Convert to latest ivy version

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Convert project

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Handled feedback: clean code

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Clean code

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Converted projects

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Fix error

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Fix NPE

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Updated build and test

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Fixed NPE

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Clean code: create constant for ai-assistant and ai-assistant-demo

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Added Knowledge base step

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Changed package name
- Test and fix complex demo after change to OpenSearch

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Handled feedback: clean code

* Feature/ivyportal 17131 stage 1 create a marketplace item for portal assistant 1 > Updated tests (#7)

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Updated tests

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Handle feedback: CMS instead of fixed text in HTML dialog
- Handle feedback: clean code
- Handle feedback: create constants for frequent use strings

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Fixed compile error

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Updated tests

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Fixed logic errors when using flows

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Update document
- Fixed bug: Assistant sometimes answer the previous question
- Improve RAG prompt template
- Improve quality of the answer

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Added content for README_DE.md

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Added css for table in message

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Added document about Knowledge base step

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Improve the answer from AI

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Clean doc

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Update version to 12.0.0

* Revert "Reset readme for reviewer"

This reverts commit 25063ed.

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Fixed and clean tests

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Handle feedback: correct grammar error
- Handle feedback: explain more how to backup variable files
- Handle feedback: update user guide

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Updated German version of README file

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Handled feedbacks for German version of README file

* Update README_DE.md

Checked documentation for german readme

* IVYPORTAL-17735: Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Change from Elastic Search to Open Search
- Adapt code, error handling approach
- Improve approach to parsing Portal document
- Categorize questions before handle them

* IVYPORTAL-17735 Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Updated document to guide user setup external search
- Created scripts for quick setup

* IVYPORTAL-17735 Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Handled feedback: correct grammar errors
- Handled feedback: unified capitalize style

* IVYPORTAL-17735 Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Updated scripts to run the standalone OpenSearch instance better

* IVYPORTAL-17135 Stage 2: Improve the quality of answers from OpenSearch
- Improve answer quality
- Implement export conversation feature

* IVYPORTAL-17135 Stage 2: Improve the quality of answers from OpenSearch
- Handled feedback: Fix grammar error
- Handled feedback: Improve rephrase quality of the find tasks function

* IVYPORTAL-17735 Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Updated script: only create files and folders if not existed

* IVYPORTAL-17135 Stage 2: Improve the quality of answers from OpenSearch
- Updated the German version of README.md

* IVYPORTAL-17135 Stage 2: Improve the quality of answers from OpenSearch
- Fixed document errors

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Adapt for 12.0.0

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Improve decision maker quality
- Change default port for vector store from 19201 to 19300 to avoid conflict

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Handled feedback from customers

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Save conversations to session cache

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Updated github action builds

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Converted to latest ivy 12

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Updated configuration files

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Fixed 2 warnings
- Update document about quick setup vector store
- Remove debug code

---------

Co-authored-by: mnhnam-axonivy <[email protected]>
Co-authored-by: mnhnam <[email protected]>
Co-authored-by: Nam Mai <[email protected]>
Co-authored-by: Tung Le <[email protected]>
Co-authored-by: Tung Le <[email protected]>
Co-authored-by: AlexSchaIvy <[email protected]>
nqhoan-axonivy added a commit that referenced this pull request Dec 11, 2024
* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Initialize project

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Clone code to ai-assistant project

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Implementing demo

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Preparing example
- Implement new step type: trigger flow step

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Preparing example
- Fix various bugs
- Improve efficient of approach to check message
- Simplify some prompt templates

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Finalize demo

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Simplify prompt template
- Refactor approach to get default language
- Reduce number of processing tokens

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Add interactive demo

* Revert "IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation"

This reverts commit 1ba0bdd.

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Clean code

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Create product part

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update demo document

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update document
- Remove debug log

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Added process to backup/restore assistant and AI functions
- Update document

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Implement notification (which step is running) to help user know that what is happening behind the scene

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Improve history flow
- Improve prompt to fulfill tool

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Improve history flow
- Improve prompts

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Convert to latest ivy version

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Handled feedback: change groupId to com.axonivy.utils.aiassistant
- Handled feedback: update zip.xml
- Removed unnecessary library Ollama from ai-assistant/pom.xml

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Updated behavior when end flow

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Updated behavior when end flow
- Implement new tool: find task details

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Improve find task flow

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Remove debug code

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Handled feedback: Make AI Assistant stand alone
- Handled feedback: Show error when cannot communicate with AI provider
- Handled feedback: Handle case Portal not existed in security context

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Add name and description for demo processes

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Remove debug log

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Handle endless logic loop
- Handle default answer for Retrieval QA Tool in case AI cannot find any relevant documents
- Handle feedback: Remove unnecessary cms
- Handle feedback: Guide user to upload Portal document
- Handle feedback: Improve the Create index process to allows user upload the official zip file downloaded from the Axon IVy Market
- Handled feedback: Added Json version when save assistant

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Added tooltip for buttons

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Improved UI

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Added version for AssistantTemplates.json
- Added version for AiModel.java

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- HAndled feedback: extend width of the the upload panel

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Updated note for user to run demo

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Enhance demo flow
- Fix bug: empty result from Ivy Tool not handled correctly

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Updated document
- Moved guide to create AI Flow to developer guide

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update link for images due to changes of Axon Ivy Market

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Update doc

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Test downgrade to ivy 11.3

* Revert "IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation"

This reverts commit 2e6eb00.

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Remember selected Assistant in session

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Updated UI assistant selection

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Updated Disclaimer

* Feature/ivyportal 17131 stage 1 create a marketplace item for portal assistant (#3)

Created test project

* IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assistant - Preparation
- Fix errors

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Implement Assistant selection panel

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Improve prompts
- Enhance choose functions feature

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Make responds more stable

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Handle UI of adding new assistant

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Reduced thinking steps

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Clean up

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Added request names for process starts to avoid task name as UUID in management, configuration pages

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Handle shift enter for multiple lines, enter to send message

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Implemented

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Update document

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Use marked js to convert markdown to HTML

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Remove info panel empy assistant
Updated scenario that needs to handle collapsing system steps

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Convert to latest ivy version

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Enhance UI of notifications
- Improve default answer prompt

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Improve UI
- Implement default language by user language

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Handled feedback: pre-sort function list
- Handled feedback: fix bug cannot delete functions

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Handled feedback: Fix bug when add functions

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Fixed compile error after ivy engine changed to OpenSearch

* Create README_DE.md

init README_DE.md

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Convert to latest ivy version

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Convert project

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Handled feedback: clean code

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Clean code

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Converted projects

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Fix error

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Fix NPE

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Updated build and test

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Fixed NPE

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Clean code: create constant for ai-assistant and ai-assistant-demo

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Added Knowledge base step

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Changed package name
- Test and fix complex demo after change to OpenSearch

* IVYPORTAL-16305 Stage 2: Assistant Details - Function list
- Handled feedback: clean code

* Feature/ivyportal 17131 stage 1 create a marketplace item for portal assistant 1 > Updated tests (#7)

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Updated tests

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Handle feedback: CMS instead of fixed text in HTML dialog
- Handle feedback: clean code
- Handle feedback: create constants for frequent use strings

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Fixed compile error

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Updated tests

* IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
- Fixed logic errors when using flows

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Update document
- Fixed bug: Assistant sometimes answer the previous question
- Improve RAG prompt template
- Improve quality of the answer

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Added content for README_DE.md

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Added css for table in message

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Added document about Knowledge base step

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Improve the answer from AI

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Clean doc

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Update version to 12.0.0

* Revert "Reset readme for reviewer"

This reverts commit 25063ed.

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
Fixed and clean tests

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Handle feedback: correct grammar error
- Handle feedback: explain more how to backup variable files
- Handle feedback: update user guide

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Updated German version of README file

* IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
- Handled feedbacks for German version of README file

* Update README_DE.md

Checked documentation for german readme

* IVYPORTAL-17735: Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Change from Elastic Search to Open Search
- Adapt code, error handling approach
- Improve approach to parsing Portal document
- Categorize questions before handle them

* IVYPORTAL-17735 Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Updated document to guide user setup external search
- Created scripts for quick setup

* IVYPORTAL-17735 Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Handled feedback: correct grammar errors
- Handled feedback: unified capitalize style

* IVYPORTAL-17735 Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Updated scripts to run the standalone OpenSearch instance better

* IVYPORTAL-17135 Stage 2: Improve the quality of answers from OpenSearch
- Improve answer quality
- Implement export conversation feature

* IVYPORTAL-17135 Stage 2: Improve the quality of answers from OpenSearch
- Handled feedback: Fix grammar error
- Handled feedback: Improve rephrase quality of the find tasks function

* IVYPORTAL-17735 Stage 1: Use internal OpenSearch of ivy engine as the vector store
- Updated script: only create files and folders if not existed

* IVYPORTAL-17135 Stage 2: Improve the quality of answers from OpenSearch
- Updated the German version of README.md

* IVYPORTAL-17135 Stage 2: Improve the quality of answers from OpenSearch
- Fixed document errors

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Adapt for 12.0.0

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Improve decision maker quality
- Change default port for vector store from 19201 to 19300 to avoid conflict

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Handled feedback from customers

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Save conversations to session cache

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Updated github action builds

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Converted to latest ivy 12

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Updated configuration files

* IVYPORTAL-18058 Adapt ai-assistant to the official Axon Ivy 12.0.0 release
- Fixed 2 warnings
- Update document about quick setup vector store
- Remove debug code

* Update product.json (#9)

---------

Co-authored-by: mnhnam-axonivy <[email protected]>
Co-authored-by: mnhnam <[email protected]>
Co-authored-by: Nam Mai <[email protected]>
Co-authored-by: Tung Le <[email protected]>
Co-authored-by: Tung Le <[email protected]>
Co-authored-by: AlexSchaIvy <[email protected]>
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.

2 participants