feat(knowledge): add configuration components and refactor general form
feat(hooks): add llm-related hooks and constants docs: add architecture analysis for reference projects
This commit is contained in:
@@ -11,7 +11,7 @@ import type {
|
||||
IKnowledgeFile,
|
||||
IChunk,
|
||||
IRenameTag,
|
||||
ParserConfig,
|
||||
IParserConfig,
|
||||
} from '@/interfaces/database/knowledge';
|
||||
import type { GridRowSelectionModel } from '@mui/x-data-grid';
|
||||
|
||||
@@ -120,8 +120,8 @@ const knowledgeService = {
|
||||
return post(api.document_run, data);
|
||||
},
|
||||
|
||||
// 更改文档解析器
|
||||
changeDocumentParser: (data: { doc_id: string; parser_config: ParserConfig }) => {
|
||||
// 更改文档解析器配置
|
||||
changeDocumentParser: (data: { doc_id: string; parser_config: IParserConfig }) => {
|
||||
return post(api.document_change_parser, data);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user