diff --git a/website/src/app/api/getInputOutput/route.ts b/website/src/app/api/getInputOutput/route.ts index b90d048f..d4c193b2 100644 --- a/website/src/app/api/getInputOutput/route.ts +++ b/website/src/app/api/getInputOutput/route.ts @@ -30,14 +30,14 @@ export async function POST(request: Request) { const homeDir = process.env.DOCETL_HOME_DIR || os.homedir(); const { inputPath, outputPath } = generatePipelineConfig( + namespace, default_model, data, operations, operation_id, name, homeDir, - sample_size, - namespace + sample_size ); // Check if inputPath exists diff --git a/website/src/app/api/getPipelineConfig/route.ts b/website/src/app/api/getPipelineConfig/route.ts index d55acb78..75e2c5c4 100644 --- a/website/src/app/api/getPipelineConfig/route.ts +++ b/website/src/app/api/getPipelineConfig/route.ts @@ -31,6 +31,7 @@ export async function POST(request: Request) { const homeDir = process.env.DOCETL_HOME_DIR || os.homedir(); const { yamlString } = generatePipelineConfig( + namespace, default_model, data, operations, @@ -38,7 +39,6 @@ export async function POST(request: Request) { name, homeDir, sample_size, - namespace, system_prompt );