Skip to content

Conversation

@cheriepwoo
Copy link

Also added link to Flowise deployment on AWS.

Also added link to Flowise deployment on AWS.
@gemini-code-assist
Copy link

Summary of Changes

Hello @cheriepwoo, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the documentation for integrating AWS Bedrock LLMs into Flowise by providing a comprehensive setup guide. It clarifies the steps required for users to leverage Amazon Bedrock's foundational models within their Flowise applications and also adds a helpful link to Flowise deployment instructions on AWS, streamlining the overall user experience.

Highlights

  • AWS Bedrock LLM Setup: Detailed instructions for integrating and configuring AWS Bedrock Large Language Models within Flowise chatflows have been added. This includes steps for setting up AWS credentials, adding the Bedrock LLM node, configuring its inputs (credentials, region, model name), and connecting it within a chatflow.
  • Flowise Deployment on AWS Link: A direct link to documentation for deploying Flowise on AWS has been included for user convenience.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds essential documentation for setting up the AWS Bedrock LLM node, replacing the previous placeholder content. The new guide is well-structured and provides a step-by-step process. My review includes a few suggestions to enhance the clarity and conciseness of the instructions, making them even more user-friendly.

{% 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.

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>

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>

* 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.

<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.
* 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.


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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant