Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions en/integrations/langchain/llms/aws-bedrock.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,32 @@ description: Wrapper around AWS Bedrock large language models.

# AWS Bedrock

<figure><img src="../../../.gitbook/assets/image (2) (5).png" alt="" width="275"><figcaption><p>AWS Bedrock Node</p></figcaption></figure>

{% hint style="info" %}
This section is a work in progress. We appreciate any help you can provide in completing this section. Please check our [Contribution Guide](/broken/pages/G48tdmpQ3z4CTWEspqkA) to get started.
{% endhint %}
AWS Bedrock Large Language Model provides access to Amazon Bedrock's Foundational Models and managed service for generative AI apps.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The introductory sentence could be clearer about the relationship between the Flowise node and the AWS service. Rephrasing it will improve readability for users.

Suggested change
AWS Bedrock Large Language Model provides access to Amazon Bedrock's Foundational Models and managed service for generative AI apps.
The **AWS Bedrock LLM** node integrates with Amazon Bedrock, a managed service that provides access to foundation models for building generative AI applications.


To use AWS Bedrock in Flowise, add the **AWS Bedrock LLM** node to your Chatflow.

# Setup

1. Configure AWS credentials for Flowise.

In Amazon Bedrock, ensure that your account has access to the model you want to use with Flowise.

2. Add the AWS Bedrock node to your Chatflow.

In the Flowise canvas, drag and drop the AWS Bedrock LLM node into your Chatflow.

3. Configure the AWS Bedrock inputs:
<figure><img src="../../../.gitbook/assets/image (2) (5).png" alt="" width="275"><figcaption><p>AWS Bedrock Node</p></figcaption></figure>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There is a trailing whitespace at the end of this line. It should be removed for cleaner markdown.

Suggested change
<figure><img src="../../../.gitbook/assets/image (2) (5).png" alt="" width="275"><figcaption><p>AWS Bedrock Node</p></figcaption></figure>
<figure><img src="../../../.gitbook/assets/image (2) (5).png" alt="" width="275"><figcaption><p>AWS Bedrock Node</p></figcaption></figure>


* AWS Credential: The AWS credential with your AWS access key. Select or create a new AWS credential. Ensure that your AWS credentials or IAM role has access to AWS Bedrock models and other required AWS services in your Chatflow.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The description for AWS Credential is a bit verbose. It could be more concise and provide more specific guidance on the required IAM permissions, which would be very helpful for users setting this up for the first time.

Suggested change
* AWS Credential: The AWS credential with your AWS access key. Select or create a new AWS credential. Ensure that your AWS credentials or IAM role has access to AWS Bedrock models and other required AWS services in your Chatflow.
* AWS Credential: Select an existing AWS credential or create a new one. The associated IAM user or role must have permissions for `bedrock:InvokeModel` and any other required AWS services in your Chatflow.

* Region: The region where your AWS Bedrock resources are located. Ensure that you select the region where your AWS Bedrock models and resources are deployed.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The description for Region is redundant. The second sentence repeats the information from the first. It can be simplified for better readability.

Suggested change
* Region: The region where your AWS Bedrock resources are located. Ensure that you select the region where your AWS Bedrock models and resources are deployed.
* Region: The AWS region where your Bedrock models are available.

* Model Name: The AWS Bedrock foundational model for your conversational AI.

4. Connect the AWS Bedrock node in your Chatflow.

After you add other Chatflow components (such as input nodes, output nodes, memory nodes), connect the AWS Bedrock LLM node to the appropriate components to create the Chatflow.

For information about deploying Flowise on AWS, see [AWS](../../../configuration/deployment/aws.md).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There are two trailing spaces at the end of the line. While this can create a hard line break in some markdown parsers, it's unnecessary here given the blank lines that follow. It's best to remove them for cleaner code.

Suggested change
For information about deploying Flowise on AWS, see [AWS](../../../configuration/deployment/aws.md).
For information about deploying Flowise on AWS, see [AWS](../../../configuration/deployment/aws.md).