mirror of
https://github.com/langgenius/dify.git
synced 2026-01-08 07:14:14 +00:00
21 lines
570 B
TypeScript
21 lines
570 B
TypeScript
import { BlockEnum } from '../../types'
|
|
import type { KnowledgeRetrievalNodeType } from './types'
|
|
import { RETRIEVE_TYPE } from '@/types/app'
|
|
|
|
export const mockData: KnowledgeRetrievalNodeType = {
|
|
type: BlockEnum.KnowledgeRetrieval,
|
|
desc: 'xxx',
|
|
title: 'Knowledge Retrieval',
|
|
query_variable_selector: ['aaa', 'name'],
|
|
dataset_ids: ['744a0635-2496-4a87-8e6d-fae410f610be'],
|
|
retrieval_mode: RETRIEVE_TYPE.oneWay,
|
|
multiple_retrieval_config: {
|
|
top_k: 10,
|
|
score_threshold: null,
|
|
reranking_model: {
|
|
provider: '',
|
|
model: '',
|
|
},
|
|
},
|
|
}
|