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] 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"