Skip to content

Commit 6ecd9ab

Browse files
authored
feat!: Add support for real time judge evals (#969)
feat: Added judgeConfig method to AI SDK to retrieve an AI Judge Config feat: Added createJudge method feat: Added trackEvalScores method to config tracker feat: Chat will evaluate responses with configured judges fix!: AI Config defaults require the "enabled" attribute fix!: Renamed LDAIAgentConfig to LDAIAgentConfigRequest for clarity fix!: Renamed LDAIAgent to LDAIAgentConfig *note the previous use of this name fix!: Renamed LDAIAgentDefault to LDAIAgentConfigDefault for clarity fix!: Renamed LDAIDefaults to LDAICompletionConfigDefault for clarity
1 parent 5339456 commit 6ecd9ab

27 files changed

+2407
-700
lines changed

packages/sdk/server-ai/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if (aiConfig.enabled) {
9797

9898
```typescript
9999
// Use the same defaultConfig from the retrieval section above
100-
const chat = await aiClient.initChat(
100+
const chat = await aiClient.createChat(
101101
'customer-support-chat',
102102
context,
103103
defaultConfig,

0 commit comments

Comments
 (0)