feat: AI对话
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user