revert(web): revert graph retrieve types

This commit is contained in:
zhaoying
2026-04-07 22:35:50 +08:00
parent e9972834fe
commit 145fa398dd
2 changed files with 7 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing * @Author: ZhaoYing
* @Date: 2026-02-03 16:25:37 * @Date: 2026-02-03 16:25:37
* @Last Modified by: ZhaoYing * @Last Modified by: ZhaoYing
* @Last Modified time: 2026-02-24 11:47:27 * @Last Modified time: 2026-04-07 22:35:08
*/ */
/** /**
* Knowledge Configuration Modal * Knowledge Configuration Modal
@@ -32,7 +32,9 @@ interface KnowledgeConfigModalProps {
/** /**
* Available retrieval types * Available retrieval types
*/ */
const retrieveTypes: RetrieveType[] = ['participle', 'semantic', 'hybrid', 'graph'] const retrieveTypes: RetrieveType[] = ['participle', 'semantic', 'hybrid',
// 'graph'
]
/** /**
* Modal for configuring knowledge base retrieval settings * Modal for configuring knowledge base retrieval settings

View File

@@ -12,7 +12,9 @@ const FormItem = Form.Item;
interface KnowledgeConfigModalProps { interface KnowledgeConfigModalProps {
refresh: (values: KnowledgeConfigForm, type: 'knowledgeConfig') => void; refresh: (values: KnowledgeConfigForm, type: 'knowledgeConfig') => void;
} }
const retrieveTypes: RetrieveType[] = ['participle', 'semantic', 'hybrid', 'graph'] const retrieveTypes: RetrieveType[] = ['participle', 'semantic', 'hybrid',
// 'graph'
]
const KnowledgeConfigModal = forwardRef<KnowledgeConfigModalRef, KnowledgeConfigModalProps>(({ const KnowledgeConfigModal = forwardRef<KnowledgeConfigModalRef, KnowledgeConfigModalProps>(({
refresh, refresh,