-
Notifications
You must be signed in to change notification settings - Fork 294
Added AWS-Bedrock LLM setup section #197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Also added link to Flowise deployment on AWS.
Summary of ChangesHello @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
Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The introductory sentence could be clearer about the relationship between the Flowise node and the AWS service. Rephrasing it will improve readability for users.
| 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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a trailing whitespace at the end of this line. It should be removed for cleaner markdown.
| <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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
| * 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description for Region is redundant. The second sentence repeats the information from the first. It can be simplified for better readability.
| * 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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
| 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). |
Also added link to Flowise deployment on AWS.