| | |
| | | import RecordSetCom from '../chatComponents/recordSetCom/RecordSetCom.vue'; |
| | | import NormalTextCom from '../chatComponents/normalTextCom/NormalTextCom.vue'; |
| | | import knowledgeCom from '../chatComponents/knowledgeCom/KnowledgeCom.vue'; |
| | | import SummaryCom from '../chatComponents/summaryCom/SummaryCom.vue'; |
| | | |
| | | import assistantPic from '../images/assistant.jpg'; |
| | | import userPic from '../images/user.svg'; |
| | | export const enum AnswerType { |
| | | Knowledge = 'knowledge', |
| | | RecordSet = 'recordset', |
| | | Text='text' |
| | | Text='text', |
| | | Summary='summary' |
| | | } |
| | | |
| | | export const answerTypeMapCom = { |
| | | [AnswerType.Knowledge]: knowledgeCom, |
| | | [AnswerType.RecordSet]: RecordSetCom, |
| | | [AnswerType.Text]:NormalTextCom |
| | | [AnswerType.Text]:NormalTextCom, |
| | | [AnswerType.Summary]:SummaryCom |
| | | }; |
| | | |
| | | export const enum RoleEnum { |