Skip to content

Commit

Permalink
Renames.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Nov 4, 2024
1 parent 318da7d commit 3c7aa41
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/node-ai.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: telemetry/node-server-sdk-otel
name: sdk/node-server-sdk-ai

on:
push:
Expand All @@ -23,13 +23,13 @@ jobs:
name: Shared CI Steps
uses: ./actions/ci
with:
workspace_name: '@launchdarkly/ai'
workspace_name: '@launchdarkly/node-server-sdk-ai'
workspace_path: packages/sdk/ai
- name: Build bedrock example
run: |
cd packages/sdk/ai/examples/bedrock
yarn build
yarn && yarn build
- name: Build OpenAI example
run: |
cd packages/sdk/ai/examples/opanai
yarn build
yarn && yarn build
4 changes: 2 additions & 2 deletions packages/sdk/ai/examples/bedrock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"license": "Apache-2.0",
"dependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.679.0",
"@launchdarkly/ai": "0.1.0",
"@launchdarkly/node-server-sdk": "9.7.0"
"@launchdarkly/node-server-sdk": "9.7.0",
"@launchdarkly/node-server-sdk-ai": "0.1.0"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/ai/examples/bedrock/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-console */
import { BedrockRuntimeClient, ConverseCommand, Message } from '@aws-sdk/client-bedrock-runtime';

import { initAi, LDAIConfig } from '@launchdarkly/ai';
import { initAi, LDAIConfig } from '@launchdarkly/node-server-sdk-ai';
import { init } from '@launchdarkly/node-server-sdk';

const sdkKey = process.env.LAUNCHDARKLY_SDK_KEY;
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/ai/examples/openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"author": "LaunchDarkly",
"license": "Apache-2.0",
"dependencies": {
"@launchdarkly/ai": "0.1.0",
"@launchdarkly/node-server-sdk": "9.7.0",
"@launchdarkly/node-server-sdk-ai": "0.1.0",
"openai": "^4.58.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/ai/examples/openai/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-console */
import { OpenAI } from 'openai';

import { initAi } from '@launchdarkly/ai';
import { initAi } from '@launchdarkly/node-server-sdk-ai';
import { init, LDContext } from '@launchdarkly/node-server-sdk';

// Environment variables
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@launchdarkly/ai",
"name": "@launchdarkly/node-server-sdk-ai",
"version": "0.1.0",
"description": "LaunchDarkly AI SDK for Node.js",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
{
"path": "./packages/sdk/browser/contract-tests/entity/tsconfig.ref.json"
}
},
{
"path": "./packages/sdk/ai/tsconfig.ref.json"
}
Expand Down

0 comments on commit 3c7aa41

Please sign in to comment.