fix(web): app's knowledge support graph retrieval

This commit is contained in:
zhaoying
2026-04-07 17:20:19 +08:00
parent af86cb3556
commit 5d439346a1
6 changed files with 8 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ interface KnowledgeConfigModalProps {
/**
* Available retrieval types
*/
const retrieveTypes: RetrieveType[] = ['participle', 'semantic', 'hybrid']
const retrieveTypes: RetrieveType[] = ['participle', 'semantic', 'hybrid', 'graph']
/**
* Modal for configuring knowledge base retrieval settings

View File

@@ -1,8 +1,8 @@
/*
* @Author: ZhaoYing
* @Date: 2026-02-03 16:25:53
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-02-03 16:25:53
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-04-07 17:16:47
*/
/**
* Type definitions for knowledge base configuration in application settings
@@ -28,7 +28,7 @@ export interface RerankerConfig {
* - semantic: Semantic similarity based retrieval
* - hybrid: Combination of both methods
*/
export type RetrieveType = 'participle' | 'semantic' | 'hybrid'
export type RetrieveType = 'participle' | 'semantic' | 'hybrid' | 'graph'
/**
* Knowledge base configuration form data