diff --git a/src/i18n/en-ca/index.ts b/src/i18n/en-ca/index.ts
index 43db3d8..ce823cb 100644
--- a/src/i18n/en-ca/index.ts
+++ b/src/i18n/en-ca/index.ts
@@ -2,7 +2,7 @@ export default {
chatbot: {
chat_header: "AI Assistant",
chat_initial_message:
- "Welcome to your technical assistant.\nPlease provide the Client ID and \na description of the problem.",
+ "Welcome to your technical assistant.\nPlease provide the Customer ID to get a diagnostic report",
chat_placeholder: "Enter a Message",
chat_thinking: "Thinking...",
},
diff --git a/src/i18n/fr-ca/index.ts b/src/i18n/fr-ca/index.ts
index 1d4246d..43c82fc 100644
--- a/src/i18n/fr-ca/index.ts
+++ b/src/i18n/fr-ca/index.ts
@@ -2,7 +2,7 @@ export default {
chatbot: {
chat_header: "Agent IA",
chat_initial_message:
- "Bienvenue à votre assistant technique.\nVeuillez fournir le ID du Client et \nune description du problème.",
+ "Bienvenue à votre assistant technique.\nVeuillez fournir le ID du Client pour avoir un diagnostique",
chat_placeholder: "Entré un Message",
chat_thinking: "Réflexion en cours...",
},
diff --git a/src/modules/chatbot/components/conversation-box.vue b/src/modules/chatbot/components/conversation-box.vue
index 79c869c..c028b40 100644
--- a/src/modules/chatbot/components/conversation-box.vue
+++ b/src/modules/chatbot/components/conversation-box.vue
@@ -139,6 +139,14 @@ watch([currentContext, userEmail, userRole], async ([ctx, email, role]) => {
);
+const custId = ref('')
+const handleCustomerId = async () => {
+ const cId = custId.value;
+ custId.value = '';
+ await chatbotService.retrieveCustomerDiagnostics(cId);
+}
+
+
@@ -174,6 +182,14 @@ watch([currentContext, userEmail, userRole], async ([ctx, email, role]) => {
style="margin-left: 8px;"
@keyup.enter="handleSend"
/>
+