From 72356dd9c498344074c292ffdab602d54c4fa13e Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Thu, 4 Apr 2024 15:24:49 -0400 Subject: [PATCH 1/2] docs(readme): mention tool use (#375) --- README.md | 4 ++++ packages/bedrock-sdk/yarn.lock | 2 +- packages/vertex-sdk/yarn.lock | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d8a840b4..a9db9e9b 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,10 @@ Streaming with `client.messages.stream(...)` exposes [various helpers for your c Alternatively, you can use `client.messages.create({ ..., stream: true })` which only returns an async iterable of the events in the stream and thus uses less memory (it does not build up a final message object for you). +## Tool use beta + +This SDK provides beta support for tool use, aka function calling. More details can be found in [the documentation](https://docs.anthropic.com/claude/docs/tool-use). + ## AWS Bedrock We provide support for the [Anthropic Bedrock API](https://aws.amazon.com/bedrock/claude/) through a [separate package](https://github.com/anthropics/anthropic-sdk-typescript/tree/main/packages/bedrock-sdk). diff --git a/packages/bedrock-sdk/yarn.lock b/packages/bedrock-sdk/yarn.lock index c20d4931..bc85a7ad 100644 --- a/packages/bedrock-sdk/yarn.lock +++ b/packages/bedrock-sdk/yarn.lock @@ -16,7 +16,7 @@ "@jridgewell/trace-mapping" "^0.3.9" "@anthropic-ai/sdk@file:../../dist": - version "0.19.2" + version "0.20.0" dependencies: "@types/node" "^18.11.18" "@types/node-fetch" "^2.6.4" diff --git a/packages/vertex-sdk/yarn.lock b/packages/vertex-sdk/yarn.lock index 1e42921b..416b3398 100644 --- a/packages/vertex-sdk/yarn.lock +++ b/packages/vertex-sdk/yarn.lock @@ -16,7 +16,7 @@ "@jridgewell/trace-mapping" "^0.3.9" "@anthropic-ai/sdk@file:../../dist": - version "0.19.2" + version "0.20.0" dependencies: "@types/node" "^18.11.18" "@types/node-fetch" "^2.6.4" From 6bda7e7c9b6b989547ea526d1336cb1c8c095b07 Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Thu, 4 Apr 2024 15:25:08 -0400 Subject: [PATCH 2/2] chore: release main --- .release-please-manifest.json | 6 +++--- CHANGELOG.md | 8 ++++++++ package.json | 2 +- packages/bedrock-sdk/CHANGELOG.md | 8 ++++++++ packages/bedrock-sdk/package.json | 2 +- packages/vertex-sdk/CHANGELOG.md | 8 ++++++++ packages/vertex-sdk/package.json | 2 +- src/version.ts | 2 +- 8 files changed, 31 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6de1259b..804f5f2b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,5 +1,5 @@ { - ".": "0.20.0", - "packages/vertex-sdk": "0.3.2", - "packages/bedrock-sdk": "0.9.4" + ".": "0.20.1", + "packages/vertex-sdk": "0.3.3", + "packages/bedrock-sdk": "0.9.5" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d643a3a..a28babb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.20.1 (2024-04-04) + +Full Changelog: [sdk-v0.20.0...sdk-v0.20.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.0...sdk-v0.20.1) + +### Documentation + +* **readme:** mention tool use ([#375](https://github.com/anthropics/anthropic-sdk-typescript/issues/375)) ([72356dd](https://github.com/anthropics/anthropic-sdk-typescript/commit/72356dd9c498344074c292ffdab602d54c4fa13e)) + ## 0.20.0 (2024-04-04) Full Changelog: [sdk-v0.19.2...sdk-v0.20.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.19.2...sdk-v0.20.0) diff --git a/package.json b/package.json index d05dcf00..b4e190ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@anthropic-ai/sdk", - "version": "0.20.0", + "version": "0.20.1", "description": "The official TypeScript library for the Anthropic API", "author": "Anthropic ", "types": "dist/index.d.ts", diff --git a/packages/bedrock-sdk/CHANGELOG.md b/packages/bedrock-sdk/CHANGELOG.md index 92c58c5f..c25abf7e 100644 --- a/packages/bedrock-sdk/CHANGELOG.md +++ b/packages/bedrock-sdk/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.9.5 (2024-04-04) + +Full Changelog: [bedrock-sdk-v0.9.4...bedrock-sdk-v0.9.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/bedrock-sdk-v0.9.4...bedrock-sdk-v0.9.5) + +### Documentation + +* **readme:** mention tool use ([#375](https://github.com/anthropics/anthropic-sdk-typescript/issues/375)) ([72356dd](https://github.com/anthropics/anthropic-sdk-typescript/commit/72356dd9c498344074c292ffdab602d54c4fa13e)) + ## 0.9.4 (2024-04-04) Full Changelog: [bedrock-sdk-v0.9.3...bedrock-sdk-v0.9.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/bedrock-sdk-v0.9.3...bedrock-sdk-v0.9.4) diff --git a/packages/bedrock-sdk/package.json b/packages/bedrock-sdk/package.json index 1a4fb8ab..d5ba9bdf 100644 --- a/packages/bedrock-sdk/package.json +++ b/packages/bedrock-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@anthropic-ai/bedrock-sdk", - "version": "0.9.4", + "version": "0.9.5", "description": "The official TypeScript library for the Anthropic Bedrock API", "author": "Anthropic ", "types": "dist/index.d.ts", diff --git a/packages/vertex-sdk/CHANGELOG.md b/packages/vertex-sdk/CHANGELOG.md index 06c5f485..5a52cecd 100644 --- a/packages/vertex-sdk/CHANGELOG.md +++ b/packages/vertex-sdk/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.3.3 (2024-04-04) + +Full Changelog: [vertex-sdk-v0.3.2...vertex-sdk-v0.3.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/vertex-sdk-v0.3.2...vertex-sdk-v0.3.3) + +### Documentation + +* **readme:** mention tool use ([#375](https://github.com/anthropics/anthropic-sdk-typescript/issues/375)) ([72356dd](https://github.com/anthropics/anthropic-sdk-typescript/commit/72356dd9c498344074c292ffdab602d54c4fa13e)) + ## 0.3.2 (2024-04-04) Full Changelog: [vertex-sdk-v0.3.1...vertex-sdk-v0.3.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/vertex-sdk-v0.3.1...vertex-sdk-v0.3.2) diff --git a/packages/vertex-sdk/package.json b/packages/vertex-sdk/package.json index 3d0607e5..c72701fb 100644 --- a/packages/vertex-sdk/package.json +++ b/packages/vertex-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@anthropic-ai/vertex-sdk", - "version": "0.3.2", + "version": "0.3.3", "description": "The official TypeScript library for the Anthropic Vertex API", "author": "Anthropic ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index b4e51da6..5cb1e3a9 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.20.0'; // x-release-please-version +export const VERSION = '0.20.1'; // x-release-please-version