Skip to content

Conversation

@jsonbailey
Copy link
Contributor

@jsonbailey jsonbailey commented Nov 5, 2025

Note

Adds a new judge-evaluation example and updates AI examples to use createChat/completionConfig and provider-based metrics tracking; also ignores env files and updates workspace/release config.

  • Examples:
    • New: packages/sdk/server-ai/examples/judge-evaluation demonstrating judge evaluation via createChat and createJudge (adds .env.example, README.md, src/index.ts, tsconfig.json, package.json).
    • OpenAI: switch to completionConfig; track metrics via tracker.trackMetricsOf(OpenAIProvider.createAIMetrics, ...); add dependency @launchdarkly/server-sdk-ai-openai.
    • Tracked Chat: rename API usage to createChat.
    • Vercel AI: switch to completionConfig.
  • Repo Config:
    • Add workspace entry for examples/judge-evaluation in root package.json.
    • Update release-please-config.json to track examples/judge-evaluation/package.json.
    • .gitignore: add environment file patterns (.env*).

Written by Cursor Bugbot for commit 1665a43. This will update automatically on new commits. Configure here.

@jsonbailey jsonbailey requested a review from a team as a code owner November 5, 2025 03:16
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

@launchdarkly/browser size report
This is the brotli compressed size of the ESM build.
Compressed size: 169118 bytes
Compressed size limit: 200000
Uncompressed size: 789399 bytes

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 24988 bytes
Compressed size limit: 26000
Uncompressed size: 122411 bytes

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 21721 bytes
Compressed size limit: 25000
Uncompressed size: 74698 bytes

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 17636 bytes
Compressed size limit: 20000
Uncompressed size: 90259 bytes

@jsonbailey jsonbailey merged commit 66bfa3f into main Nov 5, 2025
32 checks passed
@jsonbailey jsonbailey deleted the jb/sdk-1525/judge-use-example branch November 5, 2025 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants