diff --git a/packages/sdk/server-ai/CHANGELOG.md b/packages/sdk/server-ai/CHANGELOG.md index 2d27230b96..aed2968b9e 100644 --- a/packages/sdk/server-ai/CHANGELOG.md +++ b/packages/sdk/server-ai/CHANGELOG.md @@ -30,7 +30,7 @@ ### Bug Fixes -* Correct documentation for AI config function. ([#754](https://github.com/launchdarkly/js-core/issues/754)) ([0bdb0be](https://github.com/launchdarkly/js-core/commit/0bdb0be6b0e0213c5139af9008884ea74be197b1)) +* Correct documentation for AI Config function. ([#754](https://github.com/launchdarkly/js-core/issues/754)) ([0bdb0be](https://github.com/launchdarkly/js-core/commit/0bdb0be6b0e0213c5139af9008884ea74be197b1)) ## [0.8.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.7.1...server-sdk-ai-v0.8.0) (2025-01-23) @@ -89,11 +89,11 @@ ### ⚠ BREAKING CHANGES -* Updated AI config interface. ([#697](https://github.com/launchdarkly/js-core/issues/697)) +* Updated AI Config interface. ([#697](https://github.com/launchdarkly/js-core/issues/697)) ### Features -* Updated AI config interface. ([#697](https://github.com/launchdarkly/js-core/issues/697)) ([cd72ea8](https://github.com/launchdarkly/js-core/commit/cd72ea8193888b0635b5beffa0a877b18294777e)) +* Updated AI Config interface. ([#697](https://github.com/launchdarkly/js-core/issues/697)) ([cd72ea8](https://github.com/launchdarkly/js-core/commit/cd72ea8193888b0635b5beffa0a877b18294777e)) ## [0.3.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.2.1...server-sdk-ai-v0.3.0) (2024-11-15) diff --git a/packages/sdk/server-ai/examples/bedrock/README.md b/packages/sdk/server-ai/examples/bedrock/README.md index a997129f82..13e5b4f900 100644 --- a/packages/sdk/server-ai/examples/bedrock/README.md +++ b/packages/sdk/server-ai/examples/bedrock/README.md @@ -24,7 +24,7 @@ yarn build Before running the example, make sure to set the following environment variables: - `LAUNCHDARKLY_SDK_KEY`: Your LaunchDarkly SDK key -- `LAUNCHDARKLY_AI_CONFIG_KEY`: Your LaunchDarkly AI configuration key (defaults to 'sample-ai-config' if not set) +- `LAUNCHDARKLY_AI_CONFIG_KEY`: Your LaunchDarkly AI Config key (defaults to 'sample-ai-config' if not set) Additionally, ensure you have proper AWS credentials configured to access Bedrock services. diff --git a/packages/sdk/server-ai/examples/openai/README.md b/packages/sdk/server-ai/examples/openai/README.md index ca285018dc..aa59cf7a2e 100644 --- a/packages/sdk/server-ai/examples/openai/README.md +++ b/packages/sdk/server-ai/examples/openai/README.md @@ -24,7 +24,7 @@ yarn build Before running the example, make sure to set the following environment variables: - `LAUNCHDARKLY_SDK_KEY`: Your LaunchDarkly SDK key -- `LAUNCHDARKLY_AI_CONFIG_KEY`: Your LaunchDarkly AI configuration key (defaults to 'sample-ai-config' if not set) +- `LAUNCHDARKLY_AI_CONFIG_KEY`: Your LaunchDarkly AI Config key (defaults to 'sample-ai-config' if not set) - `OPENAI_API_KEY`: Your OpenAI API key ## Usage @@ -46,4 +46,4 @@ yarn start ## Note -This example uses OpenAI's chat completions API. Make sure your LaunchDarkly AI configuration is set up correctly to work with OpenAI's models and API structure. +This example uses OpenAI's chat completions API. Make sure your LaunchDarkly AI Config is set up correctly to work with OpenAI's models and API structure. diff --git a/packages/sdk/server-ai/src/api/LDAIClient.ts b/packages/sdk/server-ai/src/api/LDAIClient.ts index 1ff653a5b9..4bf5f617e0 100644 --- a/packages/sdk/server-ai/src/api/LDAIClient.ts +++ b/packages/sdk/server-ai/src/api/LDAIClient.ts @@ -7,10 +7,10 @@ import { LDAIConfig, LDAIDefaults } from './config/LDAIConfig'; */ export interface LDAIClient { /** - * Retrieves and processes an AI configuration based on the provided key, LaunchDarkly context, + * Retrieves and processes an AI Config based on the provided key, LaunchDarkly context, * and variables. This includes the model configuration and the customized messages. * - * @param key The key of the AI configuration. + * @param key The key of the AI Config. * @param context The LaunchDarkly context object that contains relevant information about the * current environment, user, or session. This context may influence how the configuration is * processed or personalized. diff --git a/packages/sdk/server-ai/src/api/config/LDAIConfig.ts b/packages/sdk/server-ai/src/api/config/LDAIConfig.ts index 21949f7115..308ff02529 100644 --- a/packages/sdk/server-ai/src/api/config/LDAIConfig.ts +++ b/packages/sdk/server-ai/src/api/config/LDAIConfig.ts @@ -42,7 +42,7 @@ export interface LDMessage { } /** - * AI configuration and tracker. + * AI Config and tracker. */ export interface LDAIConfig { /** diff --git a/packages/telemetry/browser-telemetry/CHANGELOG.md b/packages/telemetry/browser-telemetry/CHANGELOG.md index f37c80ffe9..9e69770265 100644 --- a/packages/telemetry/browser-telemetry/CHANGELOG.md +++ b/packages/telemetry/browser-telemetry/CHANGELOG.md @@ -60,7 +60,7 @@ ### ⚠ BREAKING CHANGES -* Updated AI config interface. ([#697](https://github.com/launchdarkly/js-core/issues/697)) +* Updated AI Config interface. ([#697](https://github.com/launchdarkly/js-core/issues/697)) ### Features @@ -80,7 +80,7 @@ * Random uuid for telemetry package. ([#689](https://github.com/launchdarkly/js-core/issues/689)) ([4cf34f9](https://github.com/launchdarkly/js-core/commit/4cf34f94f9d1a1949462187d09e7d84b096edb15)) * Rename initializeTelemetryInstance to initTelemetryInstance for consistency with initTelemetry. ([257734f](https://github.com/launchdarkly/js-core/commit/257734f74d5c36d9e68441d6ca7dd7d1a6a2ba9b)) * Source maps with inline sources for browser-telemetry. ([#735](https://github.com/launchdarkly/js-core/issues/735)) ([1656a85](https://github.com/launchdarkly/js-core/commit/1656a856e412a661af26ed08620aebedf2064ae1)) -* Updated AI config interface. ([#697](https://github.com/launchdarkly/js-core/issues/697)) ([cd72ea8](https://github.com/launchdarkly/js-core/commit/cd72ea8193888b0635b5beffa0a877b18294777e)) +* Updated AI Config interface. ([#697](https://github.com/launchdarkly/js-core/issues/697)) ([cd72ea8](https://github.com/launchdarkly/js-core/commit/cd72ea8193888b0635b5beffa0a877b18294777e)) * Vendor TraceKit ([d1b364e](https://github.com/launchdarkly/js-core/commit/d1b364eaf08502b8b7d65c124833b617577fd081))