fix(web): app's knowledge support graph retrieval
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user