Skip to main content
All CollectionsTemplatesAdvanced
AWS Bedrock Usage Examples - Workflow Template
AWS Bedrock Usage Examples - Workflow Template

This workflow demonstrates usage examples of a number of models available through Amazon Bedrock.

Updated over a week ago

This workflow template, "AWS Bedrock Usage Examples," enables users to interact with various Large Language Models (LLMs) within the AWS Bedrock platform via Torq. Users can input text prompts and select from multiple advanced AI models—including Anthropic Claude 3 Sonnet, Llama 2, AI21 Labs Jurassic2, and Mistral AI—to generate contextually relevant text through Torq Interact. The workflow includes an AWS Integration step to securely assume a new role, thus accessing the necessary credentials for each LLM API, and seamlessly presents the AI-generated text back to the user on Torq Interact.

Use Cases

Example

Workflow Breakdown

  1. Uses Torq Interact to display a form to inputting a prompt and to select a model among Anthropic Claude 3 Sonnet, Llama 2, AI21 Labs Jurassic2 and Mistral AI.

  2. Uses AWS Integration to assume a new role for accessing credentials for each LLM API.

  3. Sends the prompt to the chosen model using temporary credentials.

  4. Convert the model results into text and display them on the Torq Interact screen.

Vendors

AWS, Scripting, Utils

Workflow Output

All model outputs are converted to text to be displayed in Torq Interact Screen

Did this answer your question?