Email the Author
You can use this page to email Binit Datta about Building a Data Driven Chatbot (RAG) using Python 3 LangChain, OpenAI and MySQL 8.x.
About the Book
The rapid advancements in Generative AI (Gen AI) are reshaping how modern applications are designed, built, and deployed. As AI-driven systems become a cornerstone of contemporary software, it is increasingly important for developers to learn how to effectively integrate Gen AI capabilities into production-ready solutions.
This book is a hands-on guide to developing intelligent, conversational applications powered by Python 3.12. You’ll learn how to build a full-stack chatbot system using Flask, LangChain, and the OpenAI API, supported by a robust Flask REST API and a MySQL 8 database for persistent storage.
Through clear examples and practical walkthroughs, you'll create a Gen AI-powered chatbot application that includes:
· A Web-Based Chat Interface with Flask – An interactive user interface that allows users to engage with the chatbot through natural language.
· A LangChain-Powered Conversational Engine – Harnessing LangChain’s capabilities to manage conversation history, memory, and agent tools.
· Integration with the OpenAI API – Connecting your app with OpenAI’s powerful models to generate intelligent and contextual responses.
· A Flask REST API Backend – A modular RESTful architecture to handle order-related operations including creation, updates, cancellations, and status tracking.
· A MySQL 8 Database – A reliable relational database backend for storing user data, order information, and conversation logs.
Whether you're a seasoned developer or just beginning your AI journey, this book equips you with the skills to build scalable, AI-driven chatbot applications from the ground up using modern Python tools and frameworks.
About the Author
Binit Datta has over thirty-one years of in-depth experience in business computing. He is an Enterprise Architect at home with both business and technology professionals using the latest and most remarkable cutting-edge technologies. He draws heavily growing up in the 90s, where lack of job divisions helped him understand the depth of business requirements and then design, build, and implement systems all by himself and his colleagues. His decades old experience directly interacting with end customers and stakeholders of all stripes, eliminates the disadvantage of only knowing and focusing on technology alone without knowing the relevance of their application.
Binit has spent the last ten years architecting and leading technology teams building modern high traffic eCommerce websites and scalable enterprise APIs / applications for multiple fortune 50 companies in AWS and Azure Cloud environments. Continuing from his multiple comfort zones, he spearheaded in User Interface Feasibility, Usability and Architecture, and Microservices based REST API Architecture (CRUD and CQRS), Security-related discussions, Event-Driven Streaming Architectures, among others. While his AWS Cloud Certifications (AWS Solution Architect Professional) prove his Cloud credibility’s, he has led multiple real-life Cloud Migration Programs to enrich his Cloud experience.