Building a Domain Specific, GenAI Chatbot with Serverless
summary
Demo of a domain-specific GenAI chatbot that wires Amazon Kendra for auto-indexed docs, uses retrieval-augmented generation to pull paragraphs into prompts, and calls models hosted on Amazon Bedrock via a Lambda that streams chunks back over websockets streaming through API Gateway. AWS Step Functions orchestrate parallel steps (DynamoDB history read, Kendra query, error handling) and a final Lambda builds the prompt, streams responses from Claude Sonet v3, and appends Q&A to DynamoDB for conversational context.
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker intro
- 1:35What is generative AI
- 3:01Foundational models vs ML models
- 4:27Deterministic vs stochastic models
- 5:10Building prompts with RAG
- 6:36Architectural requirements
- 7:18AWS services overview
- 9:29Lambda limitations
- 11:00Step Functions benefits
- 12:02WebSocket streaming solution
- 13:47Code walkthrough with SAM
- 16:16Step Functions workflow design
- 23:23Application composer details
- 24:04Live demo introduction
- 25:26Domain specific chatbot demo
- 27:13Contextual response examples
- 28:40Code deployment and resources
- 29:01Q&A session begins
