1 parent a3c985c commit 3395858Copy full SHA for 3395858
1 file changed
packages/cli/src/commands/knowledge/retrieve.ts
@@ -203,7 +203,7 @@ async function runWithAkSk(
203
};
204
205
if (flags.topK !== undefined) body.TopK = flags.topK as number;
206
- if (flags.rerank) body.Rerank = true;
+ if (flags.rerank) body.EnableReranking = true;
207
if (flags.rerankTopN !== undefined) body.RerankTopN = flags.rerankTopN as number;
208
209
const pathname = `/${workspaceId}/index/retrieve`;
0 commit comments