feat: 添加AI问题生成功能,支持配置生成数量并在前端展示生成的问题
This commit is contained in:
@@ -107,6 +107,10 @@ export interface KBModelConfigRequest {
|
||||
nodes: Node[]
|
||||
relations: Relation[]
|
||||
}
|
||||
questionGeneration?: {
|
||||
enabled: boolean
|
||||
questionCount: number
|
||||
}
|
||||
}
|
||||
|
||||
export function updateKBConfig(kbId: string, config: KBModelConfigRequest): Promise<any> {
|
||||
|
||||
Reference in New Issue
Block a user