Automationscribe.com
  • Home
  • AI Scribe
  • AI Tools
  • Artificial Intelligence
  • Contact Us
No Result
View All Result
Automation Scribe
  • Home
  • AI Scribe
  • AI Tools
  • Artificial Intelligence
  • Contact Us
No Result
View All Result
Automationscribe.com
No Result
View All Result

Construct public-facing generative AI functions utilizing Amazon Q Enterprise for nameless customers

admin by admin
April 30, 2025
in Artificial Intelligence
0
Construct public-facing generative AI functions utilizing Amazon Q Enterprise for nameless customers
399
SHARES
2.3k
VIEWS
Share on FacebookShare on Twitter


Amazon Q Enterprise is a generative AI-powered assistant that solutions query, offers summaries, generates content material, and securely completes duties primarily based on enterprise information and data. It connects to firm information sources, functions, and inner techniques to supply related, contextual solutions whereas sustaining organizational safety and compliance requirements.

Right now, we’re excited to announce that Amazon Q Enterprise now helps nameless consumer entry. With this new function, now you can create Amazon Q Enterprise functions with nameless consumer mode, the place consumer authentication isn’t required and content material is publicly accessible. These nameless consumer functions can be utilized in use instances similar to public web site Q&A, documentation portals, and buyer self-service experiences.

This functionality permits visitor customers to make use of Amazon Q Enterprise generative AI capabilities to rapidly discover product data, get technical solutions, navigate documentation, and troubleshoot points. Your public-facing web sites, documentation, and assist portals can now ship the identical highly effective AI-driven help that authenticated customers obtain, creating an expertise that enriches the visitor consumer journey throughout your digital environments.

With this launch, you possibly can seamlessly combine an nameless Amazon Q Enterprise software into your web sites and internet functions by means of two pathways: both by embedding the ready-to-use internet expertise into your web sites utilizing an iframe for fast deployment, or through the use of our Chat, ChatSync, and PutFeedback APIs to construct utterly custom-made interfaces inside your personal functions. For nameless Amazon Q Enterprise functions, we’ve applied a easy consumption-based pricing mannequin the place you’re charged primarily based on the variety of Chat or ChatSync API operations your nameless Amazon Q Enterprise functions make.

On this submit, we display methods to construct a public-facing generative AI software utilizing Amazon Q Enterprise for nameless customers.

Resolution overview

On this resolution, we stroll you thru creating an nameless Amazon Q Enterprise software utilizing each the AWS Administration Console and AWS Command Line Interface (AWS CLI). Our instance demonstrates a sensible state of affairs: serving to web site guests discover data on public-facing documentation web sites.

We display methods to check the implementation with pattern queries by means of the built-in internet expertise URL. The ensuing software may be custom-made and embedded immediately into your web sites (utilizing the API or the iframe methodology), offering rapid worth on your customers.

Stipulations

To comply with together with this submit, you will have the next:

  • An AWS account.
  • A minimum of one Amazon Q Enterprise Professional consumer that has admin permissions to arrange and configure Amazon Q Enterprise. For pricing data, see Amazon Q Enterprise pricing.
  • AWS Identification and Entry Administration (IAM) permissions to create and handle IAM roles and insurance policies.
  • Public content material to index (paperwork, FAQs, data base articles) that may be shared with unauthenticated customers.
  • A supported information supply to attach, similar to an Amazon Easy Storage Service (Amazon S3) bucket containing your public paperwork.
  • The AWS CLI configured with acceptable permissions (if following the AWS CLI methodology).

Create an nameless Amazon Q Enterprise software utilizing the console

On this part, we stroll by means of the steps to implement the answer utilizing the console.

Create an IAM position for the online expertise

Earlier than creating your Amazon Q Enterprise software, you will have to arrange an IAM position with the suitable permissions:

  1. On the IAM console, select Roles within the navigation pane and select Create position.
  2. Select AWS service because the trusted entity
  3. Choose Amazon Q Enterprise from the service checklist.
  4. Select Subsequent: Permissions.
  5. Create a customized coverage or connect the required read-only insurance policies, and add permissions for nameless entry.

We strongly advocate that you just use a restricted coverage for the position, just like the one proven within the following screenshot, which might be used to create the online expertise for nameless entry software environments.

An instance of a restricted position coverage for calling the Chat API for nameless entry software environments can be arn:aws:qbusiness:::software/.

  1. Create an IAM position with a belief coverage that enables the Amazon Q Enterprise service principal to imagine the position utilizing AWS Safety Token Service (AWS STS), particularly scoped to your software’s Amazon Useful resource Title (ARN) within the designated AWS Area.

Create an Amazon Q Enterprise software

Now you’re able to create your Amazon Q Enterprise software:

  1. On the Amazon Q Enterprise console, select Create software.
  2. For Utility identify, enter a reputation (for instance, SupportDocs-Assistant).
  3. For Consumer entry, choose Nameless entry for this software setting.
  4. Choose Internet expertise to create a managed internet expertise to entry the Amazon Q Enterprise software.

You will note a discover about consumption-based billing for nameless Amazon Q Enterprise functions. For extra particulars on pricing, check with Amazon Q Enterprise pricing.

  1. Go away the default service position possibility except you’ve gotten particular necessities.
  2. For Encryption, use the default AWS managed key except you want customized encryption.
  3. For Internet expertise settings, you need to use an current IAM position out of your account or authorize Amazon Q Enterprise to generate a brand new position with acceptable permissions. For this submit, we choose Use an current service position and select the IAM position created earlier (QBusinessAnonymousWebRole).
  4. Optionally, customise the online expertise title and welcome message.
  5. Assessment all of your configuration choices and select Create to create the applying.

It is best to see a affirmation that your nameless entry software has been created efficiently.

You will see that the required parameters and particulars of your Amazon Q Enterprise software on the touchdown web page displayed after profitable creation like the next screenshot, which offers complete details about your newly created Amazon Q Enterprise software.

Add information sources

After you create your software, it is advisable to add an index and information sources. To be taught extra, check with Index. You will note a pop-up like the next indicating that nameless entry is enabled.

Full the next steps:

  1. Out of your software dashboard, select Add index.
  2. Title your index (for instance, Supportdocs-Exterior) and preserve the default settings.
  3. Select Add an index.
  4. After you create the index, you possibly can add information sources to it.

For our instance, we use the Amazon Q Enterprise public documentation as our information supply by including the URL https://docs.aws.amazon.com/amazonq/newest/qbusiness-ug/what-is.html. The Internet Crawler will routinely index the content material from this documentation web page, making it searchable by means of your nameless Amazon Q Enterprise software.

For extra details about Internet Crawler configuration choices and finest practices, check with Connecting Internet Crawler to Amazon Q Enterprise.

  1. Out of your index dashboard, select Add information supply.
  2. Enter a reputation on your information supply and optionally available description.
  3. For Supply, choose Supply URLs and enter the URLs of the general public web sites you wish to index.
  4. For Authentication, choose No authentication.
  5. Configure the sync run schedule and discipline mappings.
  6. Select Add information supply.

Alternatively, you possibly can add Amazon S3 as the information supply:

  1. Out of your index dashboard, select Add information supply.
  2. Choose Amazon S3 because the supply.
  3. Configure your S3 bucket settings (be sure the bucket has public entry).
  4. Full the information supply creation course of.

You could solely ingest publicly out there information sources with out entry management lists (ACLs).

Generate an nameless internet expertise URL

After your information sources are arrange, full the next steps:

  1. Out of your software dashboard, select your software.
  2. Within the Internet expertise settings part, select Share one-time URL.

The nameless internet expertise URL may be shared as a single-use hyperlink that have to be redeemed and accessed inside 5 minutes. After it’s activated, the Amazon Q Enterprise session stays energetic with a configurable timeout starting from 15–60 minutes. This lets you expertise the online interface and check its performance earlier than deploying or providing the nameless software to visitor customers.

Take a look at your nameless Amazon Q Enterprise software

To check the applying, select Preview internet expertise.

The next screenshot reveals the welcome web page on your nameless Amazon Q Enterprise software’s internet interface. Let’s start asking Amazon Q Enterprise some questions in regards to the Amazon Q index.

Within the first question, we ask “What’s Q index? How is it helpful for ISV’s?” The next screenshot reveals the response.

Within the following question, we ask “How can Q index enrich generative AI experiences for ISVs?”

In our subsequent question, we ask “How is Q index priced?”

Having efficiently examined our nameless Amazon Q Enterprise software by means of the console, we’ll now discover methods to create an equal software utilizing the AWS CLI.

Create your nameless software utilizing the AWS CLI

Guarantee that your AWS CLI is configured with permissions to create Amazon Q Enterprise sources and IAM roles.

Create an IAM position for Amazon Q Enterprise

First, create an IAM position that Amazon Q Enterprise can assume to entry needed sources:

# Create belief coverage doc
cat > trust-policy.json << 'EOF'
{
  "Model": "2012-10-17",
  "Assertion": [
    {
      "Effect": "Allow",
      "Principal": {
        "Service": "qbusiness.amazonaws.com"
      },
      "Action": "sts:AssumeRole"
    }
  ]
}
EOF

# Create IAM position
aws iam create-role 
  --role-name QBusinessAnonymousAppRole 
  --assume-role-policy-document file://trust-policy.json

# Connect needed permissions
aws iam attach-role-policy 
  --role-name QBusinessAnonymousAppRole

Create an nameless Amazon Q Enterprise software

Use the next code to create your software:

#bash
aws qbusiness create-application 
--display-name "PublicKnowledgeBase" 
--identity-type ANONYMOUS 
--role-arn "arn:aws:iam:: :position/QBusinessAnonymousAppRole" 
--description "That is the QBiz software for nameless use-case"

Save the applicationId from the response:

#json

{
  "applicationId": "your-application-id",
  "applicationArn": "arn:aws:qbusiness:area:account-id:software/your-application-id"
}

Create a restrictive coverage for nameless entry

We strongly advocate utilizing the next restricted coverage for the position that might be used to name the chat APIs for nameless entry software environments. This coverage limits actions to solely the required APIs and restricts entry to solely your particular software.

Create the IAM position with the next coverage:

# Create restrictive coverage doc
cat > anonymous-access-policy.json << 'EOF'
{
  "Model": "2012-10-17",
  "Assertion": [
    {
      "Sid": "QBusinessConversationPermission",
      "Effect": "Allow",
      "Action": [
        "qbusiness:Chat",
        "qbusiness:ChatSync",
        "qbusiness:PutFeedback"
      ],
      "Useful resource": "arn:aws:qbusiness:::software/"
    }
  ]
}
EOF

# Connect the coverage to the position
aws iam put-role-policy 
  --role-name QBusinessAnonymousAppRole 
  --policy-name QBusinessAnonymousAccessPolicy 
  --policy-document file://anonymous-access-policy.json

Create an index

Create an index on your content material, then add paperwork utilizing the BatchPutDocument API. For step-by-step steerage, see Choose Retriever.

Take a look at your nameless Amazon Q Enterprise software

To display the chat performance utilizing the AWS CLI, we uploaded Amazon Q Enterprise documentation in PDF format to our index and examined the applying utilizing the next pattern queries.

The next is an instance chat interplay utilizing the IAM position credentials. We first ask “What’s Amazon Q index?”

#1)
#bash
aws qbusiness chat-sync 
  --application-id  
  --user-message "What's Amazon Q index?"

The next screenshot reveals a part of the output from the chat-sync API when executed with our nameless Amazon Q Enterprise software ID, as proven within the earlier command.

Subsequent, we ask “How can Q index enrich generative AI experiences for ISV’s?”

2)
#bash
aws qbusiness chat-sync 
  --application-id  
  --user-message "How can Q index enrich generative AI experiences for ISV's?"

The next screenshot reveals a part of the output from the chat-sync API when executed with our nameless Amazon Q Enterprise software ID.

Create an internet expertise for the nameless internet software

Use the next code to create the online expertise:

#bash
aws qbusiness create-web-experience 
  --application-id  
  --display-name "PublicKnowledgeBaseExperience" 
  --role-arn "arn:aws:iam:::position/QBusinessAnonymousAppRole" 
  --description "Internet interface for my nameless Q Enterprise software"

To generate an nameless URL, use the next code:

#bash
aws qbusiness create-anonymous-web-experience-url 
  --application-id  
  --web-experience-id 

You need to use the online expertise URL generated by the previous command and embed it into your internet functions utilizing an iframe.

Concerns

Think about the next when utilizing nameless entry in Amazon Q Enterprise:

  • The next are the one chat APIs that assist nameless entry software environments:
    • Chat
    • ChatSync
    • PutFeedback
  • It is best to solely ingest publicly out there information sources with out ACLs. Examples of public information sources embrace:
    • Information from the Amazon Q Enterprise Internet Crawler
    • Amazon S3 information with out ACLs
  • Amazon Q Enterprise functions with nameless entry are billed on a consumption-based pricing mannequin.
  • Chat historical past isn’t out there for nameless software environments.
  • Nameless customers and authenticated customers are usually not supported on the identical software environments.
  • Plugins are usually not supported for nameless software environments.
  • Amazon QuickSight integration isn’t supported for nameless software

Environments.

  • Amazon Q Apps are usually not supported for nameless software environments.
  • Attachments are usually not supported for nameless software environments.
  • Admin controls and guardrails are read-only for nameless software environments, apart from blocked phrases.
  • Matter guidelines utilizing customers and teams are usually not supported for nameless software

The remaining Amazon Q Enterprise performance and options stay unchanged.

Clear up

When you find yourself achieved with the answer, clear up the sources you created.

Conclusion

On this submit, we launched Amazon Q Enterprise nameless consumer entry mode and demonstrated methods to create, configure, and check an nameless Amazon Q Enterprise software utilizing each the console and AWS CLI. This thrilling function extends enterprise-grade Amazon Q Enterprise generative AI capabilities to your nameless audiences with out requiring authentication, opening up new potentialities for enhancing buyer experiences on public web sites, documentation portals, and self-service data bases. This function is on the market by means of a consumption pricing mannequin that expenses primarily based on precise Chat and Chatsync API utilization and index storage prices nonetheless relevant.

By following the implementation steps outlined on this submit, you possibly can rapidly arrange an Amazon Q Enterprise software tailor-made on your exterior customers, secured with acceptable IAM insurance policies, and able to embed in your end-user-facing functions.

To be taught extra about this nameless entry function, see the Amazon Q Enterprise Consumer Information. For detailed steerage on embedding Amazon Q Enterprise in your internet functions, see Add a generative AI expertise to your web site or internet software with Amazon Q embedded. For those who’re curious about constructing utterly customized UI experiences with the Amazon Q Enterprise API, take a look at Customizing an Amazon Q Enterprise internet expertise.


Concerning the authors

Vishnu Elangovan is a Worldwide Generative AI Resolution Architect with over seven years of expertise in Utilized AI/ML. He holds a grasp’s diploma in Information Science and focuses on constructing scalable synthetic intelligence options. He loves constructing and tinkering with scalable AI/ML options and considers himself a lifelong learner. Outdoors his skilled pursuits, he enjoys touring, collaborating in sports activities, and exploring new issues to unravel.

jpdJean-Pierre Dodel is a Principal Product Supervisor for Amazon Q Enterprise, chargeable for delivering key strategic product capabilities together with structured information assist in Q Enterprise, RAG. and general product accuracy optimizations. He brings in depth AI/ML and Enterprise search expertise to the crew with over 7 years of product management at AWS.

Tags: AmazonanonymousapplicationsBuildbusinessgenerativepublicfacingusers
Previous Post

From FOMO to Alternative: Analytical AI within the Period of LLM Brokers

Next Post

Fashionable GUI Functions for Laptop Imaginative and prescient in Python

Next Post
Fashionable GUI Functions for Laptop Imaginative and prescient in Python

Fashionable GUI Functions for Laptop Imaginative and prescient in Python

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular News

  • How Aviva constructed a scalable, safe, and dependable MLOps platform utilizing Amazon SageMaker

    How Aviva constructed a scalable, safe, and dependable MLOps platform utilizing Amazon SageMaker

    401 shares
    Share 160 Tweet 100
  • Diffusion Mannequin from Scratch in Pytorch | by Nicholas DiSalvo | Jul, 2024

    401 shares
    Share 160 Tweet 100
  • Unlocking Japanese LLMs with AWS Trainium: Innovators Showcase from the AWS LLM Growth Assist Program

    401 shares
    Share 160 Tweet 100
  • Proton launches ‘Privacy-First’ AI Email Assistant to Compete with Google and Microsoft

    401 shares
    Share 160 Tweet 100
  • Streamlit fairly styled dataframes half 1: utilizing the pandas Styler

    400 shares
    Share 160 Tweet 100

About Us

Automation Scribe is your go-to site for easy-to-understand Artificial Intelligence (AI) articles. Discover insights on AI tools, AI Scribe, and more. Stay updated with the latest advancements in AI technology. Dive into the world of automation with simplified explanations and informative content. Visit us today!

Category

  • AI Scribe
  • AI Tools
  • Artificial Intelligence

Recent Posts

  • Vxceed secures transport operations with Amazon Bedrock
  • Estimating Product-Stage Worth Elasticities Utilizing Hierarchical Bayesian
  • Safe distributed logging in scalable multi-account deployments utilizing Amazon Bedrock and LangChain
  • Home
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions

© 2024 automationscribe.com. All rights reserved.

No Result
View All Result
  • Home
  • AI Scribe
  • AI Tools
  • Artificial Intelligence
  • Contact Us

© 2024 automationscribe.com. All rights reserved.