v4.4.5-2 (#355)
This commit is contained in:
@@ -113,7 +113,7 @@ const ChunkImport = ({ kbId }: { kbId: string }) => {
|
||||
chunks: splitRes.chunks.map((chunk) => ({
|
||||
a: '',
|
||||
source: file.filename,
|
||||
file_id: file.id,
|
||||
file_id: file.chunks[0]?.file_id,
|
||||
q: chunk
|
||||
}))
|
||||
};
|
||||
|
||||
@@ -20,7 +20,7 @@ const CreateFileModal = ({
|
||||
});
|
||||
|
||||
return (
|
||||
<MyModal title={t('file.Create File')} isOpen onClose={() => {}} w={'600px'} top={'15vh'}>
|
||||
<MyModal title={t('file.Create File')} isOpen w={'600px'} top={'15vh'}>
|
||||
<ModalBody>
|
||||
<Box mb={1} fontSize={'sm'}>
|
||||
文件名
|
||||
|
||||
@@ -113,7 +113,7 @@ const QAImport = ({ kbId }: { kbId: string }) => {
|
||||
chunks: splitRes.chunks.map((chunk) => ({
|
||||
a: '',
|
||||
source: file.filename,
|
||||
file_id: file.id,
|
||||
file_id: file.chunks[0]?.file_id,
|
||||
q: chunk
|
||||
}))
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user