diff --git a/frontend/src/views/chat/QuickQuestion.vue b/frontend/src/views/chat/QuickQuestion.vue index fd273ba2..140354a0 100644 --- a/frontend/src/views/chat/QuickQuestion.vue +++ b/frontend/src/views/chat/QuickQuestion.vue @@ -15,7 +15,7 @@ const getRecommendQuestions = () => { const questions = '[]' const retrieveQuestions = () => { - getRecommendQuestions() + recommendQuestionRef.value.getRecommendQuestionsLLM(10) recentQuestionRef.value.getRecentQuestions() } const quickAsk = (question: string) => { diff --git a/frontend/src/views/chat/RecommendQuestionQuick.vue b/frontend/src/views/chat/RecommendQuestionQuick.vue index d2fe67f3..f07b1115 100644 --- a/frontend/src/views/chat/RecommendQuestionQuick.vue +++ b/frontend/src/views/chat/RecommendQuestionQuick.vue @@ -148,7 +148,7 @@ onBeforeUnmount(() => { stop() }) -defineExpose({ getRecommendQuestions, id: () => props.recordId, stop }) +defineExpose({ getRecommendQuestions, id: () => props.recordId, stop, getRecommendQuestionsLLM })