Final Internship Report MAAN
Final Internship Report MAAN
Submitted by
Maan Patel
(12102120601035)
Bachelor of Technology
in
Artificial Intelligence and Data Science
( AI )
Jan-May 2025
q i
CVM University A. D. Patel Institute of Technology
A.D. Patel Institute of Technology
BACHELOR OF TECHNOLOGY
CERTIFICATE
This is to certify that Mr. Maan Patel (12102070601035) has submitted the Industrial
Internship report based on internship undergone at CloudThat Technologies Pvt. Ltd.
for a period of 24 weeks from 23/01/2025 to 23/07/2025 in partial fulfillment for the
degree of Bachelor of Technology in Artificial Intelligence and Data Science, A. D.
Patel Institute of Technology at The Charutar Vidya Mandal (CVM) University,
Vallabh Vidyanagar during the academic year 2024 – 25.
Date:14/05/2025
q ii
CVM University A. D. Patel Institute of Technology
Place: ADIT College
q iii
CVM University A. D. Patel Institute of Technology
CAERTIFICATE
DECLARATION
q iv
CVM University A. D. Patel Institute of Technology
Acknowledgement
I am also sincerely thankful to Dr. Dinesh J. Prajapati, Head of the Department, and Dr.
Vishal N. Singh, Principal, for offering us this valuable internship opportunity through
the institute.
My special thanks to Prof. Mayur Ajmeri, my Internal Guide, for her constant support and
thoughtful advice during this journey. Lastly, I express my deep appreciation to all the
faculty members of the Department of Artificial Intelligence and Data Science, A. D.
Patel Institute of Technology, Vallabh Vidyanagar, for their guidance, encouragement,
and valuable suggestions.
1210212060103
q v
CVM University A. D. Patel Institute of Technology
Abstract
This report discusses the goals, methodologies, tools, and outcomes of the
project while highlighting the technical challenges faced—such as ensuring
dynamic extraction of pricing data—and the strategies adopted to overcome
them.
q vi
CVM University A. D. Patel Institute of Technology
List of Figures
q vii
CVM University A. D. Patel Institute of Technology
List of Abbreviations
AI – Artificial Intelligence
UI – User interface
q viii
CVM University A. D. Patel Institute of Technology
Table of Contents
Institute Certificate ……………………………………………………………...….. ii
Declaration …………………………………………………………………………...iv
Acknowledgement …………………………………………………...……….………v
Abstract ……………………………………………………………………….……...vi
List of Abbreviation…………………………………………………………………viii
Chapters
1
CVM University
A D Patel Institute of Technology
4.4.1 The System Contribution To Overall Objective
4.4.2 The System Implementation
4.5 Proposed System
4.6 Features of New System
4.7 Processes
4.8 Selection of Software, Methodology & Approach
4.8.1 List of Software Used to Develop the System
4.8.2 Agile Methodology Implementation
Chapter 6: Implementation………………………………..…………………………18
6.1 Conclusion
6.2 Future Scope & Enhancements
2
CVM University
A D Patel Institute of Technology
12102120601035
6
1
CVM University
A D Patel Institute of Technology
12102120601035
6
2
CVM University
A D Patel Institute of Technology
12102120601035
6
Objective: Build an interactive tool that estimates the cost of using LLMs (Large
Language Models) on AWS Bedrock, based on dynamic pricing and user-
specified parameters.
Implementation: Developed a Streamlit-based conversational interface that
extracts provider, region, model, and token usage inputs from user queries. Used
Playwright for headless browser automation to scrape up-to-date pricing tables
from the AWS Bedrock console and structured them for efficient lookup.
Challenges & Solutions: Managed dynamic tab-switching and dropdown parsing
on the AWS pricing page by programmatically triggering user actions in
Playwright and implemented error handling to manage incomplete or inconsistent
data.
3
CVM University
A D Patel Institute of Technology
12102120601035
6
• Python – Core language used for backend logic, web scraping automation, and
cost computation.
• Local java .jar server is used for converting Plant UML code into .png image
• Basic UI structuring in the Stream lit application.
• Stream lit – Framework used to build the interactive user interface for the LLM
Cost Calculator.
• Playwright – Headless browser automation tool used to scrape live AWS Bedrock
pricing data.
• Plantuml – Used to dynamically render AWS architecture diagrams based on
puml inputs.
• Boto3 – Python SDK for interacting with AWS services like Lambda and
Bedrock.
• Fast API (Prototype) – Considered for lightweight REST API design in future
versions.
• AWS Lambda – Serverless compute service for processing architectural data and
returning diagram outputs.
• Amazon API Gateway – Exposed RESTful endpoints to invoke Lambda functions
from client interfaces.
• VS Code – Primary IDE used for development and debugging.
• Git & GitHub – Version control and collaboration platform for project
management.
4
CVM University
A D Patel Institute of Technology
12102120601035
6
Currently, AWS Bedrock users and cloud architects face two challenges:
1. LLM Pricing Complexity: AWS Bedrock supports multiple foundation models
(FMs) with varying token-based pricing structures. Users must manually navigate
pricing web page, dropdowns, and tables to estimate costs as per user’s
requirements, which is time-consuming and prone to human error.
2. Manual AWS Architecture Design: AWS solutions architects use third-party
diagramming tools or AWS-provided editors to design architecture. These tools
often require manual placement of components and lack intelligent, AI-driven
suggestions or auto-generation based on high-level intent.
5
CVM University
A D Patel Institute of Technology
12102120601035
6
4.7. Processes
Data scraping from AWS Bedrock pricing pages
Conditional logic flow for estimating total cost
Natural language processing to extract structured plant uml code
Diagram rendering engine using AWS official icons
Component placement algorithm for clean UI layout
Real-time interaction through Stream lit app
6
CVM University
A D Patel Institute of Technology
12102120601035
6
7
CVM University
A D Patel Institute of Technology
12102120601035
6
The design of the system follows a modular and scalable approach, separating core
functionalities such as input processing, data retrieval, cost calculation, and visual
generation into manageable components. A Model-View-Controller (MVC) inspired
structure is adopted for clarity, maintainability, and separation of concerns.
Model:
Responsible for data calculation logic, connection between backend and LLM,
including:
o Scraping AWS Bedrock pricing data using playwright library.
o Structuring models, regions, and token costs.
o Parsing user input and calculating estimated costs.
o For architecture design, user’s prompt is sent to aws lambda through aws
api gateway
o Lambda function passes system prompt and user’s description using
bedrock service and in response it gets structured puml code
View:
The frontend interface built with Stream lit:
o Interactive forms, dropdowns, and chatbot UI for LLM calculator.
o Drag-and-drop canvas and AI-based diagram generation for architecture
tool.
o Responsive design for real-time feedback and visualization.
Controller:
Connects the Model and View:
o Manages user events, such as form submissions or button clicks.
o Triggers cost estimations or diagram generation based on inputs.
o Coordinates updates between frontend UI and backend logic.
8
CVM University
A D Patel Institute of Technology
12102120601035
6
Each week was treated as a sprint that involved planning, development, internal testing,
and retrospective evaluation. Tasks were tracked and reassigned based on complexity and
team input.
5.1.4. Agile Scrum
9
CVM University
A D Patel Institute of Technology
12102120601035
6
(Fig-5.1)
The project is divided into two major user-facing modules, each catering to different
needs of developers, students, engineers, or cloud architects.
10
CVM University
A D Patel Institute of Technology
12102120601035
6
11
CVM University
A D Patel Institute of Technology
12102120601035
6
12
CVM University
A D Patel Institute of Technology
12102120601035
6
13
CVM University
A D Patel Institute of Technology
12102120601035
6
CHAPTER 6: IMPLEMENTATION
14
CVM University
A D Patel Institute of Technology
12102120601035
6
Functionality:
o Converts natural language prompts into structured fields (for both tools).
o Extracts relevant metadata: model type, number of tokens, service names,
etc.
o Enables automation of diagram creation and input form pre-fill.
Functionality:
o Retrieves token pricing based on provider, region, and model.
o Multiplies input/output tokens with request count and pricing factor.
o Supports tiered or fixed-rate models.
15
CVM University
A D Patel Institute of Technology
12102120601035
6
Functionality:
o Maps identified AWS services to corresponding visual icons.
o Places them in a hierarchical layout representing architecture.
o Allows user modification through canvas.
o Option to save/export final design.
Functionality:
o Acts as the frontend interface for both tools.
o Allows switching between calculator and diagram generator.
o Contains:
Dropdowns for model selection
Input fields for tokens and region
Prompt field for architecture input
Export and Reset buttons
o Uses layout containers and session state for real-time interactivity.
6.2 Results
16
CVM University
A D Patel Institute of Technology
12102120601035
6
This chapter outlines the significant technical and design-related challenges encountered
during the development of both tools and how each was addressed through practical
solutions.
Solution:
To resolve this, we switched to the PlantUML diagramming approach. We downloaded
the complete AWS icon set locally and built a dynamic rendering logic. Now, the tool can
reference these icons directly and flexibly use them to create diagrams based on input
text, removing the need for hard-coded imports.
17
CVM University
A D Patel Institute of Technology
12102120601035
6
Solution:
We introduced a basic grid-based lay outing logic to align and group services logically
(e.g., compute, storage, database layers). This significantly improved readability and
professional appearance of the generated diagrams.
Solution:
We implemented a dynamic scraping logic using Playwright, identifying tab structure and
dropdown dependencies in the HTML. The scraper now reliably extracts and maps
provider-region-model-token pricing from different sections.
18
CVM University
A D Patel Institute of Technology
12102120601035
6
Problem:
Each model is not available in every region and pricing varies by both model and region,
making it hard to manage accurate calculations.
Solution:
We built a lookup dictionary that maps each model to its valid regions and pricing details.
If a user selects an unavailable combination, the system prompts them to select a valid
one or auto-corrects based on closest match.
19
CVM University
A D Patel Institute of Technology
12102120601035
6
8.1 Conclusion
The final semester project provided a valuable opportunity to design and develop two
impactful tools at the intersection of cloud computing, artificial intelligence, and user-
centric automation:
1. LLM Calculator for AWS Bedrock Services
2. AI-based AWS Architecture Diagram Generator
Through iterative design, modular coding, and prompt engineering, the project achieved:
Dynamic and interactive UI using Stream lit with stateful components.
Accurate AWS pricing scraping and mapping across multiple providers, regions,
and models.
Structured natural language parsing for cost estimation and diagram generation.
Intelligent prompt-based layout rendering using Plant UML and AWS service
icons.
Scalable backend logic for adding new services, regions, or diagram rules with
ease.
These achievements demonstrate the practical value of combining LLMs, backend logic,
and interface design to improve cloud-based planning and decision-making for a wide
range of users.
20
CVM University
A D Patel Institute of Technology
12102120601035
6
21
CVM University
A D Patel Institute of Technology
12102120601035
6
Chapter 9: References
22
CVM University
A D Patel Institute of Technology