feat:create cusotm text dataset

This commit is contained in:
yujiangping
2025-12-17 14:16:25 +08:00
parent ac2173743b
commit 0a9c01cf33
3 changed files with 23 additions and 9 deletions

View File

@@ -552,8 +552,8 @@ const CreateDataset = () => {
{rechunkFileIds.length > 0 ? (
<Table
ref={tableRef}
apiUrl={`/documents/${knowledgeBaseId}/${parentId}/documents`}
apiParams={{
apiUrl={`/documents/${knowledgeBaseId}/documents`}
apiParams={{
document_ids: rechunkFileIds.join(','),
}}
columns={columns}

View File

@@ -605,6 +605,7 @@ const Private: FC = () => {
}
const handleRefreshTable = () => {
debugger
// 刷新表格数据
tableRef.current?.loadData();
}