Skip to content

Commit

Permalink
chore: remove obj decon
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Oct 25, 2024
1 parent 96f98af commit ebd3c41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/handlers/ground-truths/find-ground-truths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ async function findChatBotTruths(context: Context, params: AppParamsHelper<"chat
}

async function findCodeReviewTruths(context: Context, params: AppParamsHelper<"code-review">, systemMsg: string): Promise<string[]> {
const { taskSpecification } = params;
const truths = await createGroundTruthCompletion<"code-review">(context, taskSpecification, systemMsg, "gpt-4o");
const truths = await createGroundTruthCompletion<"code-review">(context, params.taskSpecification, systemMsg, "gpt-4o");
return validateGroundTruths(truths);
}

0 comments on commit ebd3c41

Please sign in to comment.