File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/chatbot-server-mongodb-public/src Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -241,11 +241,11 @@ export const generateResponse = wrapTraced(
241
241
toolChoice : "auto" ,
242
242
maxSteps : 5 ,
243
243
} ) ,
244
- { name : "makeStepBackRagGenerateUserPrompt " }
244
+ { name : "GenerateResponseWithSearchTool " }
245
245
) ,
246
246
} ) ,
247
247
{
248
- name : "generateUserPrompt " ,
248
+ name : "generateResponse " ,
249
249
}
250
250
) ;
251
251
Original file line number Diff line number Diff line change @@ -85,9 +85,10 @@ export async function getLlmAsAJudgeScores(
85
85
) {
86
86
return ;
87
87
}
88
+
88
89
const input = tracingData . userMessage . content ;
89
90
const output = tracingData . assistantMessage . content ;
90
- const context = tracingData . userMessage . contextContent
91
+ const context = tracingData . contextContent
91
92
?. map ( ( c ) => c . text )
92
93
. filter ( ( value ) : value is string => typeof value === "string" ) ;
93
94
You can’t perform that action at this time.
0 commit comments