Monday, May 11, 2026
banner
Top Selling Multipurpose WP Theme

The Employee Productivity GenAI Assistant Example is a sensible AI-powered resolution designed to streamline writing duties, permitting groups to give attention to creativity fairly than repetitive content material creation. Constructed on AWS applied sciences like AWS Lambda, Amazon API Gateway, and Amazon DynamoDB, this device automates the creation of customizable templates and helps each textual content and picture inputs. Utilizing generative AI fashions resembling Anthropic’s Claude 3 from Amazon Bedrock, it offers a scalable, safe, and environment friendly approach to generate high-quality content material. Whether or not you’re new to AI or an skilled consumer, this simplified interface permits you to rapidly reap the benefits of the facility of this pattern code, enhancing your workforce’s writing capabilities and enabling them to give attention to extra beneficial duties.

By utilizing Amazon Bedrock and generative AI on AWS, organizations can speed up their innovation cycles, unlock new enterprise alternatives, and ship progressive options powered by the newest developments in generative AI know-how, whereas sustaining excessive requirements of safety, scalability, and operational effectivity.

AWS takes a layered strategy to generative AI, offering a complete stack that covers the infrastructure for coaching and inference, instruments to construct with giant language fashions (LLMs) and different basis fashions (FMs), and functions that use these fashions. On the backside layer, AWS provides superior infrastructure like graphics processing models (GPUs), AWS Trainium, AWS Inferentia, and Amazon SageMaker, together with capabilities like UltraClusters, Elastic Material Adapter (EFA), and Amazon EC2 Capability Blocks for environment friendly mannequin coaching and inference. The center layer, Amazon Bedrock, offers a managed service that permits you to select from industry-leading fashions, customise them with your individual information, and use safety, entry controls, and different options. This layer consists of capabilities like guardrails, brokers, Amazon Bedrock Studio, and customization choices. The highest layer consists of functions like Amazon Q Enterprise, Amazon Q Developer, Amazon Q in QuickSight, and Amazon Q in Join, which allow you to make use of generative AI for numerous duties and workflows. This publish focuses solely on the center layer, instruments with LLMs and different FMs, particularly Amazon Bedrock and its capabilities for constructing and scaling generative AI functions.

Worker GenAI Assistant Instance: Key options

On this part, we focus on the important thing options of the Worker Productiveness GenAI Assistant Instance and its console choices.

The Playground web page of the Worker Productiveness GenAI Assistant Instance is designed to work together with Anthropic’s Claude language fashions on Amazon Bedrock. On this instance, we discover find out how to use the Playground characteristic to request a poem about New York Metropolis, with the mannequin’s response dynamically streamed again to the consumer.

This course of consists of the next steps:

  1. The Playground interface offers a dropdown menu to decide on the precise AI mannequin for use. On this case, use claude-3:sonnet-202402229-v1.0, which is a model of Anthropic’s Claude 3.
  2. Within the Enter area, enter the immediate “Write a poem about NYC” to request the AI mannequin to compose a poem about New York.
  3. After you enter the immediate, select Submit. This sends the API request to Amazon Bedrock, which is internet hosting the Anthropic’s Claude 3 Sonnet language mannequin. 

Because the AI mannequin processes the request and generates the poem, it’s streamed again to Output in actual time, permitting you to watch the textual content being generated phrase by phrase or line by line.

The Templates web page lists numerous predefined pattern immediate templates, resembling Interview Query Crafter, Perspective Change Immediate, Grammar Genie, and Tense Change Immediate.

Template GIF

Now let’s create a template referred to as Product Naming Professional:

  1. Add a custom-made immediate by selecting Add Immediate Template.
  2. Enter Product Naming Professional because the title and Create catchy product names from descriptions and key phrases as the outline.
  3. Select anthropic.claude-3:sonnet-202402229-v1.0 because the mannequin.

The template part features a System Immediate choice. On this instance, we offer the System Immediate with steering on creating efficient product names that seize the essence of the product and depart a long-lasting impression.

The ${INPUT_DATA} area is a placeholder variable that enables template customers to supply their enter textual content, which can be integrated into the immediate utilized by the system. The visibility of the template might be set as Public or Non-public. A public template might be seen by authenticated customers inside the deployment of the answer, ensuring that solely these with an account and correct authentication can entry it. In distinction, a personal template is just seen to your individual authenticated consumer, conserving it unique to you. Extra info, such because the creator’s electronic mail tackle, can be displayed.

The interface showcases the creation of a Product Naming Professional template designed to generate catchy product names from descriptions and key phrases, enabling environment friendly immediate engineering.

On the Exercise web page, you possibly can select a immediate template to generate output based mostly on supplied enter.

Activity GIF

The next steps exhibit find out how to use the Exercise characteristic:

  1. Select the Product Naming Professional template created within the earlier part.
  2. Within the enter area, enter an outline: A noise-canceling, wi-fi, over-ear headphone with a 20-hour battery life and contact controls. Designed for audiophiles and frequent vacationers.
  3. Add related key phrases: immersive, snug, high-fidelity, long-lasting, handy.
  4. After you present the enter description and key phrases, select Submit.

The output part shows 5 prompt product names that had been generated based mostly on the enter. For instance, SoundScape Voyager, AudioOasis Nomad, EnvoyAcoustic, FidelityTrek, and SonicRefuge Traveler.

The template has processed the product description and key phrases to create catchy and descriptive product title strategies that seize the essence of the noise-canceling, wi-fi, over-ear headphones designed for audiophiles and frequent vacationers.

The Historical past web page shows logs of the interactions and actions carried out inside the software, together with requests made on the Playground and Exercise pages.

History GIF

On the prime of the interface, a notification signifies that textual content has been copied to the clipboard, enabling you to repeat generated outputs or prompts to be used elsewhere.

The View and Delete choices can help you evaluate the total particulars of the interplay or delete the entry from the historical past log, respectively.

The Historical past web page offers a approach to observe and revisit previous actions inside the software, offering transparency and permitting you to reference or handle your earlier interactions with the system. The historical past saves your inputs and outputs on the Playground and Exercise web page (on the time of writing, Chat web page historical past just isn’t but supported). You’ll be able to solely see the historical past of your individual consumer requests, safeguarding safety and privateness, and no different customers can entry your information. Moreover, you may have the choice to delete information saved within the historical past at any time should you want to not hold them.

Chat GIF

The interactive chat interface shows a chat dialog. The consumer is greeted by the assistant, after which chooses the Product Naming Professional template and offers a product description for a noise-canceling, wi-fi headphone designed for audiophiles and frequent vacationers. The assistant responds with an preliminary product title suggestion based mostly on the outline. The consumer then requests further suggestions, and the assistant offers 5 extra product title strategies. This interactive dialog highlights how the chat performance permits continued pure language interplay with the AI mannequin to refine responses and discover a number of choices.

Within the following instance, the consumer chooses an AI mannequin (for instance, anthropic.claude-3-sonnet-202402280-v1.0) and offers enter for that mannequin. A picture named headphone.jpg has been uploaded and the consumer asks “Please describe the picture uploaded intimately to me.”

MultiModal GIF

The consumer chooses Submit and the AI mannequin’s output is displayed, offering an in depth description of the headphone picture. It describes the headphones as “over-ear wi-fi headphones in an all-black shade scheme with a smooth and fashionable design.” It mentions the matte black end on the ear cups and headband, in addition to the well-padded comfortable leather-based or leatherette materials for consolation throughout prolonged listening periods.

This demonstrates the facility of multi-modality fashions just like the Anthropic’s Claude 3 household on Amazon Bedrock, permitting you to add and use as much as six photos on the Playground or Exercise pages as inputs for producing context-rich, multi-modal responses.

Answer overview

The Worker Productiveness GenAI Assistant Instance is constructed on strong AWS serverless applied sciences resembling AWS Lambda, API Gateway, DynamoDB, and Amazon Easy Storage Service (Amazon S3), sustaining scalability, excessive availability, and safety by Amazon Cognito. These applied sciences present a basis that enables the Worker Productiveness GenAI Assistant Instance to answer consumer wants on-demand whereas sustaining strict safety requirements. The core of its generative skills is derived from the highly effective AI fashions out there in Amazon Bedrock, which assist ship tailor-made and high-quality content material swiftly.

The next diagram illustrates the answer structure.

Architecture Diagram

The workflow of the Worker Productiveness GenAI Assistant Instance consists of the next steps:

  1. Customers entry a static web site hosted within the us-east-1 AWS Area, secured with AWS WAF. The frontend of the applying consists of a React software hosted on an S3 bucket (S3 React Frontend), distributed utilizing Amazon CloudFront.
  2. Customers can provoke REST API calls from the static web site, that are routed by an API Gateway. API Gateway manages these calls and interacts with a number of elements:
    1. The API interfaces with a DynamoDB desk to retailer and retrieve template and historical past information.
    2. The API communicates with a Python-based Lambda perform to course of requests.
    3. The API generates pre-signed URLs for picture uploads and downloads to and from an S3 bucket (S3 Photos).
  3. API Gateway integrates with Amazon Cognito for consumer authentication and authorization, managing customers and teams.
  4. Customers add photos to the S3 bucket (S3 Photos) utilizing the pre-signed URLs supplied by API Gateway.
  5. When customers request picture downloads, a Lambda authorizer perform written in Java is invoked, recording the request within the historical past database (DynamoDB desk).
  6. For streaming information, customers set up a WebSocket reference to an API Gateway WebSocket, which interacts with a Python Lambda perform to deal with the streaming information. The streaming information undergoes processing earlier than being transmitted to an Amazon Bedrock streaming service.

Operating generative AI workloads in Amazon Bedrock provides a sturdy and safe surroundings that seamlessly scales to assist meet the demanding computational necessities of generative AI fashions. The layered safety strategy of Amazon Bedrock, constructed on the foundational ideas of the excellent safety companies supplied by AWS, offers a fortified surroundings for dealing with delicate information and processing AI workloads with confidence. Its versatile structure lets organizations use AWS elastic compute sources to scale dynamically with workload calls for, offering environment friendly efficiency and value management. Moreover, the modular design of Amazon Bedrock empowers organizations to combine their current AI and machine studying (ML) pipelines, instruments, and frameworks, fostering a seamless transition to a safe and scalable generative AI infrastructure inside the AWS ecosystem.

Along with the interactive options, the Worker Productiveness GenAI Assistant Instance offers a sturdy architectural sample for constructing generative AI options on AWS. By utilizing Amazon Bedrock and AWS serverless companies resembling Lambda, API Gateway, and DynamoDB, the Worker Productiveness GenAI Assistant Instance demonstrates a scalable and safe strategy to deploying generative AI functions. You need to use this structure sample as a basis to construct numerous generative AI options tailor-made to completely different use circumstances. Moreover, the answer features a reusable component-driven UI constructed on the React framework, enabling builders to rapidly prolong and customise the interface to suit their particular wants. The instance additionally showcases the implementation of streaming assist utilizing WebSockets, permitting for real-time responses in each chat-based interactions and one-time requests, enhancing the consumer expertise and responsiveness of the generative AI assistant.

Stipulations

It’s best to have the next conditions:

  • An AWS account
  • Permission to make use of Lambda, API Gateway, Amazon Bedrock, Amazon Cognito, CloudFront, AWS WAF, Amazon S3, and DynamoDB

Deploy the answer

To deploy and use the applying, full the next steps:

  1. Clone the GitHub repository into your AWS surroundings:
    git clone https://github.com/aws-samples/improve-employee-productivity-using-genai

  2. See the How to Deploy Locally part if you wish to deploy out of your pc.
  3. See How one can Deploy via AWS CloudShell if you wish to deploy from AWS CloudShell in your AWS account.
  4. After deployment is full, see Post Deployment Steps to get began.
  5. See Demos to see examples of the answer’s capabilities and options.

Price estimate for operating the Worker Productiveness GenAI Assistant Instance

The price of operating the Worker Productiveness GenAI Assistant Instance will differ relying on the Amazon Bedrock mannequin you select and your utilization patterns, in addition to the Area you employ. The first price drivers are the Amazon Bedrock mannequin pricing and the AWS companies used to host and run the applying.

For this instance, let’s assume a state of affairs with 50 customers, every utilizing this instance code 5 instances a day, with a mean of 500 enter tokens and 200 output tokens per use.

The full month-to-month token utilization calculation is as follows:

  • Enter tokens: 7.5 million
    • 500 tokens per request * 5 requests per day * 50 customers * 30 days = 3.75 million tokens
  • Output tokens: 1.5 million
    • 200 tokens per request * 5 requests day * 50 customers * 30 days = 1.5 million tokens

The estimated month-to-month prices (us-east-1 Area) for various Anthropic’s Claude fashions on Amazon Bedrock can be the next:

  • Anthropic’s Claude 3 Haiku mannequin:
    • Amazon Bedrock: $2.81
      • 75 million enter tokens at $0.00025/thousand tokens = $0.9375
      • 5 million output tokens at $0.00125/thousand tokens = $1.875
    • Different AWS companies: $16.51
    • Whole: $19.32
  • Anthropic’s Claude 3 and three.5 Sonnet mannequin:
    • Amazon Bedrock: $33.75
      • 75 million enter tokens at $0.003/thousand tokens = $11.25
      • 5 million output tokens at $0.015/thousand tokens = $22.50
    • Different AWS companies: $16.51
    • Whole: $50.26
  • Anthropic’s Claude 3 Opus mannequin:
    • Amazon Bedrock: $168.75
      • 75 million enter tokens at $0.015/thousand tokens = $56.25
      • 5 million output tokens at $0.075/thousand tokens = $112.50
    • Different AWS companies: $16.51
    • Whole: $185.26

These estimates don’t contemplate the AWS Free Tier for eligible companies, so your precise prices is likely to be decrease should you’re nonetheless inside the Free Tier limits. Moreover, the pricing for AWS companies would possibly change over time, so the precise prices would possibly differ from these estimates.

The fantastic thing about this serverless structure is that you would be able to scale sources up or down based mostly on demand, ensuring that you simply solely pay for the sources you eat. Some elements, resembling Lambda, Amazon S3, CloudFront, DynamoDB, and Amazon Cognito, may not incur further prices should you’re nonetheless inside the AWS Free Tier limits.

For an in depth breakdown of the price estimate, together with assumptions and calculations, discuss with the Cost Estimator.

Clear up

While you’re finished, delete any sources you now not have to keep away from ongoing prices.

To delete the stack, use the command

./deploy.sh --delete --region=<your-aws-region> --email=<your-email>

For instance:

./deploy.sh --delete --us-east-1 --email=abc@instance.com

For extra details about find out how to delete the sources out of your AWS account, see the How to Deploy Locally part within the GitHub repo.

Abstract

The Employee Productivity GenAI Assistant Example is a cutting-edge pattern code that makes use of generative AI to automate repetitive writing duties, releasing up sources for extra significant work. It makes use of Amazon Bedrock and generative AI fashions to create preliminary templates that may be custom-made. You’ll be able to enter each textual content and pictures, benefiting from the multimodal capabilities of AI fashions. Key options embrace a user-friendly playground, template creation and software, exercise historical past monitoring, interactive chat with templates, and assist for multi-modal inputs. The answer is constructed on strong AWS serverless applied sciences resembling Lambda, API Gateway, DynamoDB, and Amazon S3, sustaining scalability, safety, and excessive availability.

Go to our GitHub repository and check out it firsthand.

By utilizing Amazon Bedrock and generative on AWS, organizations can speed up innovation cycles, unlock new enterprise alternatives, and ship AI-powered options whereas sustaining excessive requirements of safety and operational effectivity.


In regards to the Authors

Samuel Baruffi is a seasoned know-how skilled with over 17 years of expertise within the info know-how {industry}. Presently, he works at AWS as a Principal Options Architect, offering beneficial assist to international monetary companies organizations. His huge experience in cloud-based options is validated by quite a few {industry} certifications. Away from cloud structure, Samuel enjoys soccer, tennis, and journey.

Somnath Chatterjee is an achieved Senior Technical Account Supervisor at AWS, Somnath Chatterjee is devoted to guiding prospects in crafting and implementing their cloud options on AWS. He collaborates strategically with prospects to assist them run cost-optimized and resilient workloads within the cloud. Past his major position, Somnath holds specialization within the Compute technical area neighborhood. He’s an SAP on AWS Specialty licensed skilled and EFS SME. With over 14 years of expertise within the info know-how {industry}, he excels in cloud structure and helps prospects obtain their desired outcomes on AWS.

Mohammed Nawaz Shaikh is a Technical Account Supervisor at AWS, devoted to guiding prospects in crafting and implementing their AWS methods. Past his major position, Nawaz serves as an AWS GameDay Regional Lead and is an energetic member of the AWS NextGen Developer Expertise technical area neighborhood. With over 16 years of experience in resolution structure and design, he’s not solely a passionate coder but in addition an innovator, holding three US patents.

banner
Top Selling Multipurpose WP Theme

Converter

Top Selling Multipurpose WP Theme

Newsletter

Subscribe my Newsletter for new blog posts, tips & new photos. Let's stay updated!

banner
Top Selling Multipurpose WP Theme

Leave a Comment

banner
Top Selling Multipurpose WP Theme

Latest

Best selling

22000,00 $
16000,00 $
6500,00 $

Top rated

6500,00 $
22000,00 $
900000,00 $

Products

Knowledge Unleashed
Knowledge Unleashed

Welcome to Ivugangingo!

At Ivugangingo, we're passionate about delivering insightful content that empowers and informs our readers across a spectrum of crucial topics. Whether you're delving into the world of insurance, navigating the complexities of cryptocurrency, or seeking wellness tips in health and fitness, we've got you covered.