Skip to main content

Posts

Showing posts with the label GenAI

GenAI App using Proprietery Data, Spring Boot, Amazon Bedrock - Part 3

This is part of a series of articles to introduce Generative AI and step-by-step process with code sample to build GenAI Application; Part-1 ( GenAI Introduction ), Part-2 ( Building GenAI App using Spring Boot and Amazon Bedrock ) and Part-3 ( Building GenAI App with Proprietary data ). In previous article , we have built GenAI Application (simple ChatBot) using Amazon Bedrock Model ( Claude 3 Haiku ) and Spring Boot . This App generates answers based on training dataset (public information) of the Model. What about if we could restrict or refine this Model with proprietary data (like Company details, Sales, Customer records) as add-on Knowledge Base instead of retraining the Model . This would allow to serve personalized and contextual response, e.g. generating response with Customer's last order details. In this article we are going to enhance our GenAI application to accept proprietary data. Prerequisites Spring Boot v3, JDK 17 AWS SDK v2.x AWS IAM account with API credentials ...

Introduction to GenAI - Part 1

This is part of a series of articles to introduce Generative AI and step-by-step process with code sample to build GenAI Application; Part-1 ( GenAI Introduction ), Part-2 ( Building GenAI App using Spring Boot and Amazon Bedrock ) and Part-3 ( Building GenAI App with Proprietary data ). GenAI Evolution GenAI (aka Generative AI) is the latest buzz word across Technology space. This buzz is something similar to a set of earlier Tech milestone revolutions, latest of such event was Smart Phone era (iPhone, Android). Smart Phones have revolutionized content consumption, access and interaction pattern (Billions of users experienced Internet only because of Smart Phone!). Similarly, GenAI is introducing next phase of Content creation, processing and interaction. AI (Artificial Intelligence) is not something new, it's been there as classic Computer Science concept (aka theory) for ages. But it took huge amount of effort and time to make it feasible (Tech, Infrastructure and ...

GenAI App using Spring Boot and Amazon Bedrock - Part 2

This is part of a series of articles to introduce Generative AI and step-by-step process with code sample to build GenAI Application; Part-1 ( GenAI Introduction ), Part-2 ( Building GenAI App using Spring Boot and Amazon Bedrock ) and Part-3 ( Building GenAI App with Proprietary data ). Previous article ( Introduction to GenAI ) explains important concepts of GenAI, Model Architecture and Vector Database. In this article, we are going to develop a simple GenAI based ChatBot using Spring Boot and Amazon Bedrock. Here we'll explore AWS SDK and REST API based Integration rather than Spring AI framework. Also, going to share troubleshooting scenarios which you may face while building this application. Prerequisites Spring Boot v3, JDK 17 AWS SDK v2.x AWS IAM account access and API credentials. Make sure that "AmazonBedRockFullAccess" permission is granted. Amazon Bedrock FM ( Anthropic Claude 3 Haiku ). This Model helps with Image to Text, Chat, Conversation features. En...