diff --git a/ui/src/api/type/application.ts b/ui/src/api/type/application.ts index 69926c7a5..8d578be68 100644 --- a/ui/src/api/type/application.ts +++ b/ui/src/api/type/application.ts @@ -7,4 +7,9 @@ interface ApplicationFormType { example?: string[] dataset_id_list: string[] } -export type { ApplicationFormType } +interface chatType { + id: string + problem_text: string + answer_text: string +} +export type { ApplicationFormType, chatType } diff --git a/ui/src/components/ai-dialog/index.vue b/ui/src/components/ai-dialog/index.vue index a8d267854..085b92182 100644 --- a/ui/src/components/ai-dialog/index.vue +++ b/ui/src/components/ai-dialog/index.vue @@ -1,15 +1,12 @@