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

Document/ivyportal 17735 stage 1 use internal open search of ivy engine as the vector store #4

Conversation

mnhnam-axonivy
Copy link
Collaborator

No description provided.

nqhoan-axonivy and others added 7 commits October 22, 2024 10:46
- Handle feedback: correct grammar error
- Handle feedback: explain more how to backup variable files
- Handle feedback: update user guide
- Handled feedbacks for German version of README file
Checked documentation for german readme
…hub.com/axonivy-market/ai-assistant into document/IVYPORTAL-17735-Stage-1-Use-internal-OpenSearch-of-ivy-engine-as-the-vector-store
… vector store

- Updated document to guide user setup external search
- Created scripts for quick setup
@mnhnam-axonivy mnhnam-axonivy added the documentation Improvements or additions to documentation label Nov 6, 2024
Copy link
Contributor

github-actions bot commented Nov 6, 2024

Test Results

5 tests  ±0   5 ✅ ±0   21s ⏱️ -11s
4 suites ±0   0 💤 ±0 
4 files   ±0   0 ❌ ±0 

Results for commit f049d90. ± Comparison against base commit b83743a.

♻️ This comment has been updated with latest results.


- `Name`: name of the AI assistant
- `Permissions`: a list of Ivy roles that can use the AI assistant
- `Model`: the AI model the assistant will use to perform its functions (for more details, please refer to [Configure AI Models](#configure-ai-models))

Choose a reason for hiding this comment

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

the AI model that the assistant

- GPT model: [GPT-4o mini](https://platform.openai.com/docs/models/gpt-4o-mini)
- Text embedding model: [text-embedding-3-large](https://platform.openai.com/docs/guides/embeddings)

When you clicking on a model item in the AI Models list, you will be redirected to the details page of that model. There you can find more model informations and change the API Key to the OpenAI platform. Your API Key is encrypted and completely secured.

Choose a reason for hiding this comment

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

when you click


When you clicking on a model item in the AI Models list, you will be redirected to the details page of that model. There you can find more model informations and change the API Key to the OpenAI platform. Your API Key is encrypted and completely secured.

Furthermore, you can test to connection to OpenAI platform by clicking the button **Test Connection**. If something went wrong, we will show the details error

Choose a reason for hiding this comment

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

you can test the connection to OpenAI platform


- **Switch**: decision-making element that guide AI in selecting the appropriate next action based on specific conditions.

- **Ivy Tool**: directs AI to use specific Ivy tools (Ivy callable) in its decision-making process.

Choose a reason for hiding this comment

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

the style is not consistent between the explanations, capitalize or lowercase, directs or Directs , displays or display or Display


The **Rephrase step** is designed to help AI refine user input before executing specific actions or using tools. This is particularly useful when the user's message is vague, incomplete, or not structured in a way that the AI can immediately process. By rephrasing the input, the AI ensures that the information is more precise, making it easier to use with target tools or functions.

- **toolId**: Refers to the tool the AI will use as the target. AI should use JSON schema of the corresponding tool to rephrase the message. By defining this attribute, you ensures that the rephrased input is compatible with the tool’s requirements.

Choose a reason for hiding this comment

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

you ensure

Choose a reason for hiding this comment

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

The explanations for keywords in JSON file have inconsistent style. Capitalize and lowercase the explanation

image
image

… vector store

- Handled feedback: correct grammar errors
- Handled feedback: unified capitalize style
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

… vector store

- Updated scripts to run the standalone OpenSearch instance better
… vector store

- Updated script: only create files and folders if not existed
@mnhnam-axonivy mnhnam-axonivy merged commit b2b5fce into develop Dec 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants