mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-28 00:56:26 +00:00
feat: kb data source
This commit is contained in:
@@ -56,13 +56,14 @@ const InputDataModal = ({
|
||||
try {
|
||||
const { insertLen } = await postKbDataFromList({
|
||||
kbId,
|
||||
mode: TrainingModeEnum.index,
|
||||
data: [
|
||||
{
|
||||
a: e.a,
|
||||
q: e.q
|
||||
q: e.q,
|
||||
source: '手动录入'
|
||||
}
|
||||
],
|
||||
mode: TrainingModeEnum.index
|
||||
]
|
||||
});
|
||||
|
||||
if (insertLen === 0) {
|
||||
|
Reference in New Issue
Block a user