From 4c38c85b10817fd7eb1eb4c29cd6b82035b84f57 Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Wed, 3 Apr 2024 09:45:51 +0900 Subject: [PATCH] chore: debug for sampling --- src/parser/content-evaluator-module.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/parser/content-evaluator-module.ts b/src/parser/content-evaluator-module.ts index 725b8cd4..b845471e 100644 --- a/src/parser/content-evaluator-module.ts +++ b/src/parser/content-evaluator-module.ts @@ -111,6 +111,8 @@ export class ContentEvaluatorModule implements Module { } async _sampleRelevanceScoreResults(specification: string, comments: string[]) { + console.log("Will sample results for", comments); + console.log("Is Open key preset", !!process.env.OPENAI_API_KEY); const BATCH_SIZE = 10; const evaluationPromises: ReturnType[] = [];