This repository explores the transformative potential of generative AI assistants. It assesses various AI assistant implementation strategies, including open-source options like LangChain and proprietary solutions like the Amazon Bedrock Agent. We outline the creation of a Conversational AI assistant designed to intelligently direct user inputs towards the most suitable chatbot functionality including:
To highlight the benefits of generative AI, the repository presents a use case of an IoT operations AI bot in manufacturing environments. This Conversational AI bot can leverage LLMs and RAG to generate SQL queries, fetch relevant data from databases, and provide clear responses about the status or performance of connected devices. This capability enables proactive maintenance and ensures continuous production flow, demonstrating the transformative potential of generative AI in optimizing industrial operations.

Bedrock Agent and Knowledge Base can be used to build and deploy Conversational AI with complex routing use cases. It provides a strategic advantage by simplifying infrastructure management, enhancing scalability, improving security, and alleviate undifferentiated heavy lifting.
Jump to bedrock-agent-implementation for more details.

LangChain is an open-source framework that simplifies building Conversational AI by allowing easy integration of Large Language Models for specific needs. It offers a cost-effective way to develop AI applications quickly, with community support for troubleshooting and improvements.
Jump to langchain-multi-route-implementation for more details.
For a comprehensive step-by-step deployment guide, please refer to the detailed solution README file:
1. This is Ameer, who are you?
2. Can you query the max metrics for device 1001?
3. Can you search for the operating temperature range for this device?
4. As a physics SME, can you compare the max temperature with the operating temperature range and tell me what you think?
5. Okay, can you please shutdown this device?
6. Can you generate a summary about our conversation today?

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0