File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
packages/sdk/server-ai/examples/judge-evaluation/src Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ async function main(): Promise<void> {
4646 } ;
4747
4848 const chat = await aiClient . createChat ( aiConfigKey , context , defaultValue , {
49- company_name : 'LaunchDarkly' ,
49+ companyName : 'LaunchDarkly' ,
5050 } ) ;
5151
5252 if ( ! chat ) {
@@ -68,13 +68,7 @@ async function main(): Promise<void> {
6868
6969 // Example of using the judge functionality with direct input and output
7070 // Get AI judge configuration from LaunchDarkly
71- const judge = await aiClient . createJudge (
72- judgeKey ,
73- context ,
74- { enabled : false } ,
75- undefined ,
76- 'langchain' ,
77- ) ;
71+ const judge = await aiClient . createJudge ( judgeKey , context , { enabled : false } ) ;
7872
7973 if ( ! judge ) {
8074 console . log ( '*** AI judge configuration is not enabled' ) ;
You can’t perform that action at this time.
0 commit comments