Skip to content

Commit

Permalink
docs(readme): mention tool use (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Apr 4, 2024
1 parent f894116 commit 72356dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion packages/bedrock-sdk/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/vertex-sdk/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 72356dd

Please sign in to comment.