ai对话优化知识库选择
This commit is contained in:
@@ -88,6 +88,7 @@ export interface ChatPrepareData {
|
||||
userId?: string
|
||||
/** 用户类型(false=来客,true=员工) */
|
||||
userType?: boolean
|
||||
service?: string
|
||||
}
|
||||
|
||||
// ==================== 请求参数类型(必传校验) ====================
|
||||
@@ -106,24 +107,6 @@ export interface CreateChatParam {
|
||||
title?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* 准备流式对话参数
|
||||
*/
|
||||
export interface PrepareChatParam {
|
||||
/** 对话ID(必传) */
|
||||
chatId: string
|
||||
/** 用户问题(必传) */
|
||||
query: string
|
||||
/** 智能体ID(必传) */
|
||||
agentId: string
|
||||
/** 用户类型(必传) */
|
||||
userType: boolean
|
||||
/** 用户ID */
|
||||
userId?: string
|
||||
/** 文件列表 */
|
||||
files?: DifyFileInfo[]
|
||||
}
|
||||
|
||||
/**
|
||||
* 停止对话参数
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user