2025-04-25 11:32:17 +08:00
|
|
|
import WorkflowWithDefaultContext from '@/app/components/workflow'
|
2025-04-18 14:56:34 +08:00
|
|
|
import {
|
|
|
|
WorkflowContextProvider,
|
|
|
|
} from '@/app/components/workflow/context'
|
2025-04-18 15:46:54 +08:00
|
|
|
import type { InjectWorkflowStoreSliceFn } from '@/app/components/workflow/store'
|
|
|
|
import { createRagPipelineSliceSlice } from './store'
|
2025-04-25 11:32:17 +08:00
|
|
|
import RagPipelineMain from './components/rag-pipeline-main'
|
2025-04-18 14:56:34 +08:00
|
|
|
|
|
|
|
const RagPipeline = () => {
|
|
|
|
return (
|
2025-04-18 15:46:54 +08:00
|
|
|
<WorkflowContextProvider
|
|
|
|
injectWorkflowStoreSliceFn={createRagPipelineSliceSlice as InjectWorkflowStoreSliceFn}
|
|
|
|
>
|
2025-04-18 14:56:34 +08:00
|
|
|
<WorkflowWithDefaultContext
|
|
|
|
edges={[]}
|
|
|
|
nodes={[]}
|
|
|
|
>
|
2025-04-25 11:32:17 +08:00
|
|
|
<RagPipelineMain
|
2025-04-18 14:56:34 +08:00
|
|
|
edges={[]}
|
2025-04-25 11:32:17 +08:00
|
|
|
nodes={[]}
|
|
|
|
/>
|
2025-04-18 14:56:34 +08:00
|
|
|
</WorkflowWithDefaultContext>
|
|
|
|
</WorkflowContextProvider>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default RagPipeline
|