mirror of
https://github.com/langgenius/dify.git
synced 2025-07-24 10:00:32 +00:00
28 lines
770 B
TypeScript
28 lines
770 B
TypeScript
import WorkflowWithDefaultContext from '@/app/components/workflow'
|
|
import {
|
|
WorkflowContextProvider,
|
|
} from '@/app/components/workflow/context'
|
|
import type { InjectWorkflowStoreSliceFn } from '@/app/components/workflow/store'
|
|
import { createRagPipelineSliceSlice } from './store'
|
|
import RagPipelineMain from './components/rag-pipeline-main'
|
|
|
|
const RagPipeline = () => {
|
|
return (
|
|
<WorkflowContextProvider
|
|
injectWorkflowStoreSliceFn={createRagPipelineSliceSlice as InjectWorkflowStoreSliceFn}
|
|
>
|
|
<WorkflowWithDefaultContext
|
|
edges={[]}
|
|
nodes={[]}
|
|
>
|
|
<RagPipelineMain
|
|
edges={[]}
|
|
nodes={[]}
|
|
/>
|
|
</WorkflowWithDefaultContext>
|
|
</WorkflowContextProvider>
|
|
)
|
|
}
|
|
|
|
export default RagPipeline
|