Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jun 27, 2024
1 parent 0ed8583 commit 2dd506e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/core_docs/docs/integrations/chat/bedrock.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sidebar_label: Bedrock
## Setup

:::tip
The `ChatBedrockConverse` chat model is now available via `@langchain/aws`. Access tool calling with more models with this package.
The [`ChatBedrockConverse` chat model is now available via `@langchain/aws`](/docs/integrations/chat/bedrock_converse). Access tool calling with more models with this package.
:::

You'll need to install the `@langchain/community` package:
Expand Down
4 changes: 2 additions & 2 deletions docs/core_docs/docs/integrations/chat/bedrock_converse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import BedrockMultimodalExample from "@examples/models/chat/integration_bedrock_
See the LangSmith trace [here](https://smith.langchain.com/public/c40f8d09-123a-4b3b-934a-625d5ee0f57a/r).
:::

### Tool calling
## Tool calling

The examples below demonstrate how to use tool calling, along with the `withStructuredOutput` method to easily compose structured output LLM calls.

Expand All @@ -64,7 +64,7 @@ Check out the output of this tool call! We can see here it's using chain-of-thou
See the LangSmith trace [here](https://smith.langchain.com/public/d34e378d-5044-4b5b-9ed7-3d2486fe5d47/r)
:::

#### `.withStructuredOutput({ ... })`
### `.withStructuredOutput({ ... })`

Using the `.withStructuredOutput` method, you can easily make the LLM return structured output, given only a Zod or JSON schema:

Expand Down

0 comments on commit 2dd506e

Please sign in to comment.