Skip to content

Commit

Permalink
Merge branch 'feature/IVYPORTAL-17735-Stage-1-Use-internal-OpenSearch…
Browse files Browse the repository at this point in the history
…-of-ivy-engine-as-the-vector-store' of https://github.com/axonivy-market/ai-assistant into dev/IVYPORTAL-18058-Adapt-ai-assistant-to-the-official-Axon-Ivy-12.0.0-release
  • Loading branch information
mnhnam-axonivy committed Dec 2, 2024
2 parents b83743a + 3b3a164 commit 367e239
Show file tree
Hide file tree
Showing 32 changed files with 1,027 additions and 1,020 deletions.
3 changes: 1 addition & 2 deletions ai-assistant/.settings/ch.ivyteam.ivy.designer.prefs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.utils.aiassistant.Data
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.utils.aiassistant.assistant
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=13
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120000
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120001
eclipse.preferences.version=1
3 changes: 2 additions & 1 deletion ai-assistant/cms/cms_de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Dialogs:
ToggleNonStartableAiFunction: Nicht startbare KI-Funktionen anzeigen
ChatDashboard:
AiManagement: AI-Management
ClearConversationHistory: Gesprächsverlauf löschen
ClearConversationHistory: Verlauf löschen
ExportHistory: Verlauf exportieren
Title: Assistent Dashboard
helper:
UploadPortalDocument:
Expand Down
3 changes: 2 additions & 1 deletion ai-assistant/cms/cms_en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Dialogs:
ToggleNonStartableAiFunction: Show non-startable AI functions
ChatDashboard:
AiManagement: AI Management
ClearConversationHistory: Clear conversation history
ClearConversationHistory: Clear history
ExportHistory: Export history
Title: Assistant Dashboard
helper:
UploadPortalDocument:
Expand Down
9 changes: 8 additions & 1 deletion ai-assistant/cms/cms_es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ Dialogs:
ToggleNonStartableAiFunction: Mostrar funciones de IA no iniciables
ChatDashboard:
AiManagement: Gestión de la IA
ClearConversationHistory: Borrar el historial de conversaciones
ClearConversationHistory: Borrar historial
ExportHistory: |+
Exportar historial
Title: Cuadro de mandos auxiliar
helper:
UploadPortalDocument:
Expand Down
4 changes: 3 additions & 1 deletion ai-assistant/cms/cms_fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ Dialogs:
ToggleNonStartableAiFunction: Afficher les fonctions d'IA non démarrables
ChatDashboard:
AiManagement: Gestion de l'IA
ClearConversationHistory: Effacer l'historique de conversation
ClearConversationHistory: |
Effacer l'historique
ExportHistory: Exporter l'historique
Title: Tableau de bord de l'assistant
helper:
UploadPortalDocument:
Expand Down
16 changes: 8 additions & 8 deletions ai-assistant/config/variables.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# yaml-language-server: $schema=https://json-schema.axonivy.com/app/11.4.1/variables.json
# yaml-language-server: $schema=https://json-schema.axonivy.com/app/12.0.0/variables.json
Variables:
AiAssistant:
ElasticSearchUrl: http://localhost:9200
OpenSearchVectorStoreUrl: http://localhost:19201
AiModels:
# Open AI models
OpenAI:
# The primary Open AI model. This instance use the 'GPT 4 Omni' and 'text-embedding-3-large' models by default
# The primary Open AI model. This instance use the 'GPT 4 Omni Mini' and 'text-embedding-3-large' models by default
PrimaryModel:
# Open AI model 'GPT 4 Omni'
Model: gpt-4o
# Open AI model 'GPT 4 Omni Mini'
Model: gpt-4o-mini
# Open AI text embedding model 'text-embedding-3-large'
EmbeddingModel: text-embedding-3-large
#[password]
ApiKey: ${decrypt:}
# The secondary Open AI model. This instance use the 'GPT 4 Omni Mini' and 'text-embedding-3-large' models by default
# The secondary Open AI model. This instance use the 'GPT 4 Omni' and 'text-embedding-3-large' models by default.
SecondaryModel:
# Open AI model 'GPT 4 Omni Mini'
Model: gpt-4o-mini
# Open AI text embedding model 'text-embedding-3-small'
Model: gpt-4o
# Open AI text embedding model 'text-embedding-3-large'
EmbeddingModel: text-embedding-3-large
#[password]
ApiKey: ${decrypt:}
Expand Down
Loading

0 comments on commit 367e239

Please sign in to comment.