Enterprise Knowledge Base Assistant Using Multi-Model GenAI Architecture

accenture · Healthcare · 2023 · source Agentic: no · promotional bias: high · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Public-health knowledge assistant

Accenture and AWS built Knowledge Assist to help a large public health client provide up-to-date, multilingual, self-service answers over unstructured knowledge content while reducing call-center escalation and improving citizen access.

Constraints:

Architecture

Knowledge Assist combines Amazon Lex, Lambda orchestration, DynamoDB conversation storage, Amazon Kendra retrieval, Amazon Bedrock with Claude-2 for generation/translation, Amazon Titan embeddings, Pinecone vector search, S3/Route 53/CloudFront front-end hosting, CloudWatch logs, OpenSearch, and Kibana reporting.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  cloudfront-s3-front-end["CloudFront S3 front end"] --> amazon-lex["Amazon Lex"]
  amazon-lex --> lambda-orchestrator["Lambda orchestrator"]
  lambda-orchestrator --> dynamodb-conversations["DynamoDB conversations"]
  lambda-orchestrator --> amazon-kendra["Amazon Kendra"]
  lambda-orchestrator --> bedrock-claude-2["Bedrock Claude-2"]
  bedrock-claude-2 --> amazon-titan-embeddings["Amazon Titan embeddings"]
  amazon-titan-embeddings --> pinecone-vector-database["Pinecone vector database"]
  pinecone-vector-database --> lambda-orchestrator
  lambda-orchestrator --> cloudwatch-opensearch-reporting["CloudWatch OpenSearch reporting"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
CloudFront S3 front end Hosts the conversational front-end application. Amazon Lex
Amazon Lex Understands intent and routes requests to orchestration. Lambda orchestrator
Lambda orchestrator Coordinates conversation history, retrieval, Bedrock calls, and response post-processing. DynamoDB conversations, Amazon Kendra, Bedrock Claude-2, CloudWatch OpenSearch reporting
DynamoDB conversations Stores session and user IDs for multi-round conversations. Lambda orchestrator
Amazon Kendra Indexes web-crawled knowledge content and returns relevant results. Lambda orchestrator
Bedrock Claude-2 Generates responses and translations from retrieved context. Amazon Titan embeddings
Amazon Titan embeddings Generates vector embeddings for content and queries. Pinecone vector database
Pinecone vector database Determines content relevance through embedding similarity. Lambda orchestrator
CloudWatch OpenSearch reporting Logs interactions and supports dashboards through OpenSearch and Kibana. —

Data flow

A user submits a request through the CloudFront/S3 front end; Amazon Lex detects intent and calls a Lambda orchestrator; Lambda reads conversation state from DynamoDB, gets Kendra/Pinecone retrieval context, sends the prompt to Bedrock Claude-2, post-processes the response, and logs interactions to CloudWatch/OpenSearch.

“Amazon Lex understands the intent and directs the request to the orchestrator”article, stated
“Another request is sent to the Amazon Kendra index to get the top five relevant search results to build the relevant context.”article, stated

Why this architecture

Accenture combined conversational intent routing, RAG retrieval, Bedrock generation, vector embeddings, and reporting because the client needed broader natural-language access, citations, multi-turn support, and multilingual answers for a public-health knowledge base.

“Accenture has integrated this generative AI functionality into an existing FAQ bot, allowing the chatbot to provide answers to a broader array of user questions.”article, stated
“Handles queries and generates responses in multiple languages (such as English and Spanish)”article, stated

Models used: Amazon Bedrock · Claude-2 · Amazon Titan · Amazon Kendra · Amazon Lex · Pinecone · DynamoDB · Lambda

Scale

Alternatives considered (roads not taken)

Use the traditional FAQ/chatbot framework unchanged.

Rejected because: The existing experience was narrow and cumbersome compared with natural conversational access.

“Accenture’s generative AI solution provides the following advantages over existing or traditional chatbot frameworks:”article, stated

Choose a foundation model without regression testing.

Rejected because: Accenture tested Bedrock models for use-case fit, tokens, cost, accuracy, performance, and languages before choosing Claude-2.

“We checked for supported use cases, model attributes, maximum tokens, cost, accuracy, performance, and languages.”article, stated

Return answers without citations.

Rejected because: The listed features include transparent citations guiding users to source information.

“Guides users to the source information”article, stated

Patterns

rag-retrieval (retrieval)

Knowledge Assist retrieves Kendra and embedding-context results before sending prompts to Claude-2.

“The context along with the user’s question is appended to create a prompt”article, stated

model-routing (model-ops)

Accenture regression-tested multiple Bedrock model providers before selecting Claude-2.

“regress testing of various models available in Amazon Bedrock, which included AI21 Labs, Cohere, Anthropic, and Amazon foundation models.”article, stated

observability-tracing (operations)

The architecture logs request/response metadata through CloudWatch into OpenSearch for reporting.

“Metadata about the request/response pairings are logged to”article, stated

Tradeoffs

Integrate GenAI into an existing FAQ bot.

Chose Augment the existing chatbot with retrieval and Bedrock generation. over Replacing the whole web interaction model..

Rationale: The client needed broader questions answered while preserving self-service access.

“integrated this generative AI functionality into an existing FAQ bot”article, stated

Use Claude-2 via Bedrock.

Chose Claude-2 selected after model regression testing. over Unvalidated model/provider choice..

Rationale: Claude-2 best matched the tested use-case, token, cost, accuracy, performance, and language requirements.

“Based on this, we selected Claude-2 as best suited for this use case.”article, stated

Gotchas (what bit them)

Traditional knowledge bases remain cumbersome despite content coverage.

Root cause: Users still struggle to locate the exact information they need through search or FAQ interfaces.

Resolution: Use a conversational RAG interface with citations and context-aware answers.

“they can still be cumbersome and difficult to use.”article, stated

Model choice must account for production constraints.

Root cause: Supported use cases, token limits, cost, accuracy, performance, and languages all matter.

Resolution: Regression-test candidate Bedrock models and select the best fit.

“Based on this, we selected Claude-2 as best suited for this use case.”article, stated

Multi-round conversations require explicit state.

Root cause: The chatbot needs session and user history to maintain context.

Resolution: Save conversations in DynamoDB application databases.

“Conversations are saved in application databases”article, stated

Evaluation

Accenture evaluated models by regression tests across model attributes and reports business outcomes including training-time reduction and escalation reduction.

Metrics: Supported use cases · Maximum tokens · Cost · Accuracy · Performance · Languages · Training time over 50% reduction · Escalations up to 40% reduction

“supported use cases, model attributes, maximum tokens, cost, accuracy, performance, and languages.”article, stated

Outcomes

The public-health client serves millions of citizens daily, and the architecture is presented as reusable across health sciences, financial services, manufacturing, and more.

“This Knowledge Assist platform can be applied to different industries, including but not limited to health sciences, financial services, manufacturing, and more.”article, stated