mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-09 12:54:47 +08:00
Fix: The knowledge base selected by the retrieval node is not displayed. (#14013)
### What problem does this PR solve? Fix: The knowledge base selected by the retrieval node is not displayed. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -23,7 +23,7 @@ function InnerRetrievalNode({
|
||||
isConnectable = true,
|
||||
selected,
|
||||
}: NodeProps<BaseNode<RetrievalFormSchemaType>>) {
|
||||
const knowledgeBaseIds: string[] = get(data, 'form.kb_ids', []);
|
||||
const knowledgeBaseIds: string[] = get(data, 'form.dataset_ids', []);
|
||||
const memoryIds: string[] = get(data, 'form.memory_ids', []);
|
||||
const { list: knowledgeList } = useFetchKnowledgeList(true);
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ export const RetrievalPartialSchema = {
|
||||
keywords_similarity_weight: z.coerce.number(),
|
||||
top_n: z.coerce.number(),
|
||||
top_k: z.coerce.number(),
|
||||
database_ids: z.array(z.string()),
|
||||
dataset_ids: z.array(z.string()),
|
||||
rerank_id: z.string(),
|
||||
empty_response: z.string(),
|
||||
cross_languages: z.array(z.string()),
|
||||
|
||||
Reference in New Issue
Block a user