feat: 支持输入框内选择知识库和文件,优化选择交互体验
This commit is contained in:
@@ -230,4 +230,8 @@ export interface FAQImportProgress {
|
||||
|
||||
export function getFAQImportProgress(taskId: string) {
|
||||
return get(`/api/v1/faq/import/progress/${taskId}`);
|
||||
}
|
||||
}
|
||||
|
||||
export function searchKnowledge(keyword: string, offset = 0, limit = 20) {
|
||||
return get(`/api/v1/knowledge/search?keyword=${encodeURIComponent(keyword)}&offset=${offset}&limit=${limit}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user