|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <AiQAChat
|
|
|
|
|
|
|
+ <AiQAChatNew
|
|
|
:config="qaConfig"
|
|
:config="qaConfig"
|
|
|
:create-dialogue-api="createQsAiDialogue"
|
|
:create-dialogue-api="createQsAiDialogue"
|
|
|
:send-chat-stream-api="sendQsAiChatMessageStream"
|
|
:send-chat-stream-api="sendQsAiChatMessageStream"
|
|
@@ -7,7 +7,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
-import AiQAChat from './components/AiQAChat.vue'
|
|
|
|
|
|
|
+import AiQAChatNew from './components/AiQAChatNew.vue'
|
|
|
import { createQsAiDialogue, sendQsAiChatMessageStream } from '@/api/qsAiQuestions.js'
|
|
import { createQsAiDialogue, sendQsAiChatMessageStream } from '@/api/qsAiQuestions.js'
|
|
|
|
|
|
|
|
const qaConfig = Object.freeze({
|
|
const qaConfig = Object.freeze({
|