feat: AI对话

This commit is contained in:
zhangyh
2025-10-28 11:33:20 +08:00
parent 2a1023aea0
commit 0ce0c41dac
12 changed files with 358 additions and 111 deletions

View File

@@ -100,6 +100,7 @@ export function getTryOnEffectStyleList(styleId: string | number) {
}
// 选择顾客
interface CustomerInfo {
name: string
email: string
@@ -110,4 +111,12 @@ export const customerCheckin = (data: CustomerInfo) => {
method: 'get',
params: data,
})
}
}
// AI对话
interface AIConversation {
message: string
sessionId: string | number //用户ID
gender: 'male' | 'female' //性别
}
export const streamChatAddress = '/api/llm/streamChat'