<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by paviththira on Medium]]></title>
        <description><![CDATA[Stories by paviththira on Medium]]></description>
        <link>https://medium.com/@vinayagamoorthypaviththira?source=rss-9bea09060f8e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*XOcEsTfio5Hw3Drm</url>
            <title>Stories by paviththira on Medium</title>
            <link>https://medium.com/@vinayagamoorthypaviththira?source=rss-9bea09060f8e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 17:42:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vinayagamoorthypaviththira/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AI-Assisted Coding: A Tool, Not a Replacement for Developers]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/ai-assisted-coding-a-tool-not-a-replacement-for-developers-ee51c73daa63?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee51c73daa63</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 15:40:01 GMT</pubDate>
            <atom:updated>2026-11-25T15:40:01.963Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mcJy-f8bF003ioEmBrzY1w.png" /></figure><p><em>Why understanding, critical thinking, and problem-solving still matter in the age of artificial intelligence.</em></p><p>Artificial intelligence is transforming the way developers build software.</p><p>From generating code and identifying bugs to explaining complex concepts and suggesting improvements, AI-powered coding tools are becoming an important part of modern software development.</p><p>However, this raises an important question:</p><p><strong>If AI can write code, why do we still need developers?</strong></p><p>The answer lies in understanding the difference between generating code and developing meaningful software solutions.</p><h3>The Rise of AI-Assisted Development</h3><p>Tools such as ChatGPT, GitHub Copilot, Claude, and Codex are changing how developers approach their daily tasks.</p><p>These tools can assist developers with:</p><ul><li>Generating code.</li><li>Debugging errors.</li><li>Understanding unfamiliar technologies.</li><li>Writing documentation.</li><li>Creating test cases.</li><li>Refactoring existing code.</li><li>Exploring different solutions.</li></ul><p>AI can reduce repetitive work and help developers spend more time on complex problems.</p><p>However, faster development does not automatically mean better development.</p><h3>Writing Code vs Understanding Code</h3><p>Generating a function using AI may take only a few seconds.</p><p>But understanding whether that function is correct, secure, efficient, and suitable for the application requires technical knowledge.</p><p>A developer should be able to answer questions such as:</p><ul><li>What does this code actually do?</li><li>Why was this approach selected?</li><li>How does it interact with existing functionality?</li><li>Could it introduce security vulnerabilities?</li><li>What happens when something goes wrong?</li></ul><p>Copying AI-generated code without understanding it may solve an immediate problem while creating additional problems in the future.</p><p><strong>Code generation is a capability. Code understanding is a responsibility.</strong></p><h3>AI Does Not Always Understand the Entire Application</h3><p>A real-world application consists of multiple interconnected components.</p><p>The frontend, backend, database, authentication system, business logic, and deployment environment must work together.</p><p>For example, when a developer asks AI to modify an API endpoint, the suggested solution may appear correct in isolation.</p><p>However, that modification could affect:</p><ul><li>Existing frontend functionality.</li><li>Database relationships.</li><li>User permissions.</li><li>Other API endpoints.</li><li>Application security.</li></ul><p>AI may not have complete access to the application’s architecture or business requirements.</p><p>This is why developers must provide relevant context and carefully review suggested changes.</p><h3>My Approach to Using AI in Development</h3><p>While developing full-stack web applications, I have learned the importance of using AI as a development assistant rather than depending on it completely.</p><p>My preferred approach is to understand the problem first, inspect the existing implementation, and then explore possible solutions with AI assistance.</p><p>Instead of immediately requesting code changes, I prefer to understand:</p><ul><li>The root cause of the problem.</li><li>Which files and components are affected.</li><li>How the existing functionality works.</li><li>Whether the proposed solution introduces unnecessary changes.</li></ul><p>Once a solution is identified, the implementation should be reviewed and tested.</p><p>This approach helps me maintain better control over the development process while continuing to improve my technical knowledge.</p><h3>The Importance of Prompt Engineering</h3><p>The quality of an AI-generated response often depends on the quality of the instructions provided.</p><p>For example, consider these two prompts.</p><p><strong>Prompt 1:</strong></p><p>“Fix my application.”</p><p><strong>Prompt 2:</strong></p><p>“Inspect the existing React frontend and FastAPI backend in read-only mode. Identify the root cause of the API integration issue. Explain the affected files and recommend a solution without modifying any code.”</p><p>The second prompt provides a clearer objective, technical context, and specific boundaries.</p><p>Effective prompting is not simply about asking AI to generate something. It is about communicating requirements clearly and controlling the scope of the task.</p><h3>AI-Generated Code Still Requires Testing</h3><p>AI-generated code should be treated with the same level of review as code written by a human developer.</p><p>Before accepting a solution, developers should verify:</p><ul><li>Functional correctness.</li><li>Error handling.</li><li>Security and access control.</li><li>Compatibility with existing functionality.</li><li>Database consistency.</li><li>Performance and maintainability.</li></ul><p>A successful build does not necessarily mean that every feature works correctly.</p><p>Testing is essential to ensure that changes solve the intended problem without breaking other parts of the application.</p><h3>Skills Developers Still Need</h3><p>As AI becomes more powerful, fundamental software development skills remain essential.</p><p>Developers still need to understand:</p><ul><li>Programming fundamentals.</li><li>Data structures and algorithms.</li><li>Database design.</li><li>API development.</li><li>Software architecture.</li><li>Application security.</li><li>Debugging and testing.</li><li>Business requirements.</li><li>Communication and critical thinking.</li></ul><p>AI can assist with many of these areas, but developers remain responsible for evaluating decisions and delivering reliable solutions.</p><h3>A Responsible AI-Assisted Development Workflow</h3><p>An effective development workflow can follow these steps:</p><ol><li>Understand the problem.</li><li>Analyze the existing system.</li><li>Provide clear instructions to AI.</li><li>Review the suggested solution.</li><li>Implement the necessary changes.</li><li>Test and verify the results.</li><li>Document and learn from the process.</li></ol><p>The objective is not simply to complete tasks faster. It is to build better software while developing stronger technical skills.</p><h3>The Future of Software Development</h3><p>AI is changing the role of software developers.</p><p>As repetitive coding tasks become easier to automate, developers can focus more on system design, decision-making, user experience, security, and solving real-world problems.</p><p>The ability to collaborate effectively with AI is becoming a valuable skill.</p><p>However, human judgment, creativity, accountability, and technical understanding remain important.</p><p>Developers should not stop learning programming because AI can generate code. Instead, they should strengthen their knowledge so they can evaluate and use AI-generated solutions effectively.</p><h3>Final Thoughts</h3><p>AI is a powerful tool, but it is not a substitute for understanding.</p><p>A good developer is not simply someone who can produce code. A good developer understands problems, evaluates solutions, makes informed decisions, and takes responsibility for the software they build.</p><p>The real value of AI-assisted development comes from combining artificial intelligence with human intelligence.</p><p><strong>Use AI to improve your capabilities, not to replace your understanding.</strong></p><p>Keep learning. Keep questioning. Keep building.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee51c73daa63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Buildora: Turning Construction Cost Confusion into Clarity]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/building-buildora-turning-construction-cost-confusion-into-clarity-5552a789ba1d?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/5552a789ba1d</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Tue, 24 Nov 2026 14:59:32 GMT</pubDate>
            <atom:updated>2026-11-24T14:59:32.358Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jh2m1-05ZvzzR0F587qM3g.png" /></figure><p><em>How technology can improve financial transparency, simplify construction cost management, and build trust among project stakeholders.</em></p><h3>The Story Behind Buildora</h3><p>Imagine Kumar, a Sri Lankan living abroad, investing his hard-earned money in building a home for his family.</p><p>At the beginning, everything seems well organized. A construction budget is agreed upon, a Bill of Quantities (BOQ) is prepared, and the project begins.</p><p>However, as construction progresses, things become increasingly complicated.</p><p>Bills are shared through WhatsApp. Construction costs change. Multiple versions of the BOQ are created. Additional expenses arise, and previous documents become difficult to locate.</p><p>Eventually, Kumar finds himself asking a simple but important question:</p><p><strong>“Why am I paying more than what we originally agreed on?”</strong></p><p>Meanwhile, the quantity surveyor struggles to locate previous records, and the construction company must explain the additional expenses.</p><p>The problem is not necessarily a lack of information. It is the lack of a centralized, transparent, and organized system for managing that information.</p><p>This illustrative scenario reflects the problem that inspired Buildora.</p><h3>Understanding the Problem</h3><p>Construction projects involve multiple stakeholders, financial transactions, documents, and continuous changes.</p><p>Many construction teams rely on spreadsheets, messaging applications, emails, and physical documents to manage project information.</p><p>Although these methods are useful, relying on disconnected tools can create several challenges:</p><ul><li>Difficulty tracking BOQ revisions.</li><li>Limited visibility into construction expenses.</li><li>Difficulty managing variations and valuations.</li><li>Scattered payment records.</li><li>Communication gaps between stakeholders.</li><li>Difficulty comparing actual costs with the original budget.</li></ul><p>Over time, these challenges can lead to misunderstandings, financial uncertainty, and reduced trust.</p><p>I wanted to explore how technology could address these challenges through a more structured approach.</p><h3>Introducing Buildora</h3><p>Buildora is a web-based construction cost management platform designed to centralize project-related financial information and improve transparency among construction companies, quantity surveyors, and building owners.</p><p>Rather than managing financial information across multiple disconnected platforms, Buildora brings essential construction cost management activities into a single digital environment.</p><p>The goal is simple:</p><p><strong>Make construction costs easier to manage, track, and understand.</strong></p><h3>How Buildora Addresses These Challenges</h3><h3>1. Centralized Project Management</h3><p>Construction companies can manage their projects within a centralized platform, keeping important project information organized and accessible.</p><h3>2. BOQ and Revision Tracking</h3><p>Construction projects rarely remain exactly the same as originally planned.</p><p>Buildora is designed to maintain BOQ revision records, allowing stakeholders to understand how project costs have changed over time.</p><h3>3. Variation Management</h3><p>Additional work and changes to the original construction scope can affect the overall project budget.</p><p>Buildora helps organize these variations, making changes easier to identify and review.</p><h3>4. Valuation Management</h3><p>Tracking the financial value of completed construction work is an important part of project cost management.</p><p>Buildora provides a structured approach to managing valuation information throughout the construction process.</p><h3>5. Payment Tracking</h3><p>Organized payment records help stakeholders understand the financial progress of a project and maintain better visibility into construction expenses.</p><h3>6. Role-Based Access</h3><p>Different stakeholders have different responsibilities.</p><p>Buildora incorporates role-based access to ensure that users can interact with project information according to their assigned permissions.</p><p>This approach supports collaboration while protecting important project data.</p><h3>The Technology Behind Buildora</h3><p>Developing Buildora involves combining modern web technologies with practical construction industry requirements.</p><p>The platform uses:</p><ul><li><strong>React and Vite</strong> — for building the frontend application.</li><li><strong>FastAPI</strong> — for developing backend APIs and business logic.</li><li><strong>MySQL</strong> — for structured database management.</li><li><strong>SQLAlchemy</strong> — for database interaction and data modeling.</li><li><strong>Role-Based Access Control</strong> — for managing user permissions and access to project information.</li></ul><p>The development process involves more than creating an attractive interface. It also requires careful consideration of database relationships, authentication, authorization, data consistency, and application security.</p><p>Every technical decision should contribute to creating a reliable and user-friendly platform.</p><h3>What I Have Learned While Building Buildora</h3><p>Developing Buildora has been a valuable learning experience.</p><p>It has helped me understand that building software is not simply about implementing features. It begins with understanding the people who will use the application and the problems they experience.</p><p>Throughout this journey, I have gained practical experience in:</p><ul><li>Full-stack application development.</li><li>Database design and management.</li><li>API development and integration.</li><li>Authentication and authorization.</li><li>Debugging and problem-solving.</li><li>Understanding business requirements.</li><li>Designing subscription-based business models.</li></ul><p>One of the most important lessons I have learned is that technology becomes meaningful when it solves a real problem.</p><p>A technically impressive application is not enough if it does not provide practical value to its users.</p><h3>The Future Vision of Buildora</h3><p>My vision for Buildora extends beyond managing construction records.</p><p>I want to contribute to a construction environment where financial information is more transparent, project stakeholders can collaborate effectively, and building owners can make informed decisions.</p><p>As Buildora continues to evolve, the focus will remain on improving usability, security, scalability, and practical value for the construction industry.</p><h3>Final Thoughts</h3><p>Construction is not just about building structures. It is also about building relationships and trust.</p><p>When financial information is clear, organized, and accessible, stakeholders are better equipped to communicate, understand changes, and make informed decisions.</p><p>Buildora represents my effort to combine technology, innovation, and real-world problem-solving to address these challenges.</p><p>The journey is still ongoing, and there is always more to learn, improve, and build.</p><p><strong>Buildora — Build with Clarity.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5552a789ba1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Code to Confidence: My UKI Technical Viva Experience with BUILDORA]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/from-code-to-confidence-my-uki-technical-viva-experience-with-buildora-7df22c603280?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7df22c603280</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 04:58:50 GMT</pubDate>
            <atom:updated>2026-11-23T04:58:50.621Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5hs4HQM2RywXrPKkJUuynQ.png" /></figure><p><em>How building a real-world construction management platform helped me develop technical knowledge, problem-solving skills, and the confidence to explain my work.</em></p><h3>Introduction: A Meaningful Milestone in My Development Journey</h3><p>Every developer has moments that remind them how much they have learned and how far they have come.</p><p>For me, one of those moments was my <strong>Technical Viva at UKI</strong>, where I had the opportunity to present and discuss my full-stack development project, <strong>BUILDORA</strong>.</p><p>This experience was more than just a technical evaluation. It was an opportunity to reflect on my development journey, explain the application I had been working on, and demonstrate my understanding of the technologies and features behind it.</p><p>During the viva, most of the questions focused on my application rather than general programming theory.</p><p>The discussion covered important BUILDORA functionalities, particularly <strong>Bill of Quantities (BOQ) Version Management</strong> and the <strong>role promotion process</strong>. I was also asked a few questions related to my code.</p><p>What made this experience special was the confidence I felt while answering the questions.</p><p>After spending time developing features, solving problems, and understanding how different parts of BUILDORA work together, I was able to approach the discussion with a stronger understanding of my own project.</p><p>This experience reminded me of an important lesson:</p><p><strong>Confidence in technical discussions comes from understanding what we build, not simply memorizing how it works.</strong></p><h3>1. Introducing BUILDORA: The Idea Behind My Project</h3><p>Before sharing my viva experience, I would like to introduce the project that became the center of the discussion.</p><p><strong>BUILDORA is an AI-assisted construction cost and project transparency platform designed to support more organized and efficient construction project management.</strong></p><p>Construction projects involve multiple stakeholders, including company administrators, quantity surveyors, and building owners.</p><p>Managing project information across different stakeholders can become complicated, especially when dealing with cost estimates, project documentation, financial records, and progress updates.</p><p>Traditional workflows may involve separate spreadsheets, documents, and communication channels, making it difficult to maintain consistent information.</p><p>The idea behind BUILDORA was to explore how a centralized digital platform could help address these challenges.</p><h3>Key Features of BUILDORA</h3><p>Some of the major functionalities I have been developing include:</p><ul><li><strong>Company Management:</strong> Managing company information, members, and administrative responsibilities.</li><li><strong>Project Management:</strong> Organizing construction projects and related information.</li><li><strong>Role-Based Access Control:</strong> Providing different levels of access for company administrators, quantity surveyors, and other users.</li><li><strong>BOQ Management:</strong> Managing Bills of Quantities and supporting version-based workflows.</li><li><strong>Valuations and Payment Certificates:</strong> Supporting construction-related financial documentation.</li><li><strong>Document Management:</strong> Organizing project-related files and records.</li><li><strong>Project Progress Tracking:</strong> Supporting updates and visibility into construction activities.</li><li><strong>Role Promotion Workflows:</strong> Managing requests and approvals for changes in organizational responsibilities.</li><li><strong>Subscription and Billing:</strong> Supporting the platform’s SaaS-oriented functionality.</li></ul><p>BUILDORA has been an opportunity for me to explore not only frontend and backend development, but also the business logic and practical workflows involved in building a multi-user application.</p><h3>2. The Technologies Behind BUILDORA</h3><p>One of the most valuable parts of building BUILDORA was learning how different technologies work together to create a complete application.</p><h3>Frontend: React and Vite</h3><p>For the frontend, I used <strong>React with Vite</strong>.</p><p>React allowed me to develop reusable components and create interactive interfaces for different types of users.</p><p>I worked on dashboards, project workspaces, company member management, and interfaces connected to backend functionality.</p><p>Through this process, I gained practical experience in component-based architecture, state management, API integration, and handling dynamic application data.</p><h3>Backend: Python and FastAPI</h3><p>For the backend, I used <strong>Python with FastAPI</strong>.</p><p>FastAPI helped me develop API endpoints responsible for processing requests, applying business rules, and communicating with the database.</p><p>Working on the backend gave me a better understanding of how applications handle authentication, authorization, validation, and data processing.</p><p>It also taught me that backend development is not simply about returning data. It is about ensuring that application operations follow the correct rules.</p><h3>Database: SQLAlchemy</h3><p>For database interactions, I used <strong>SQLAlchemy</strong>.</p><p>As BUILDORA includes multiple organizations, users, projects, and project-specific information, managing relationships between different data models became an important part of the development process.</p><p>I learned how database structures influence application behavior and why consistent data relationships are essential for a reliable system.</p><h3>Building a Complete Application</h3><p>Connecting the frontend, backend, and database helped me understand the overall flow of a full-stack application.</p><p>A user action in the frontend may trigger an API request, which is validated by the backend, processed according to business rules, and then stored or retrieved through the database.</p><p>Understanding this complete flow became especially valuable when preparing to explain BUILDORA during my technical viva.</p><h3>3. Preparing for My UKI Technical Viva</h3><p>Preparing for the technical viva encouraged me to look at BUILDORA from a different perspective.</p><p>During normal development, I often focus on implementing a particular feature, fixing an error, or improving a specific part of the application.</p><p>However, a technical viva requires a broader understanding.</p><p>It is important to know not only what a feature does, but also why it exists and how it works.</p><p>I reflected on different parts of my application, including its architecture, role management, API communication, and construction-specific workflows.</p><p>Some of the areas worth understanding included:</p><ul><li>How frontend and backend components communicate</li><li>How different user roles are managed</li><li>How project-specific permissions work</li><li>How BOQ-related information is organized</li><li>How administrative workflows are handled</li><li>How the database supports application functionality</li></ul><p>This preparation helped me appreciate the importance of understanding the reasoning behind technical decisions.</p><p><strong>Writing code is one skill. Explaining the purpose and behavior of that code is another.</strong></p><h3>4. My UKI Technical Viva Experience</h3><p>The most memorable part of my technical viva was that the discussion focused mainly on BUILDORA itself.</p><p>Instead of being asked a large number of general coding questions, I was given the opportunity to discuss the actual features and workflows I had developed.</p><p>Two of the important topics were <strong>BOQ Version Management</strong> and <strong>role promotion</strong>.</p><p>There were also approximately two or three questions related directly to my code.</p><p>What I appreciated most about the experience was that I felt confident enough to respond and explain my application.</p><h3>Discussing BOQ Version Management</h3><p>One of the main topics raised during the viva was the <strong>BOQ Version Management</strong> functionality.</p><p>In construction projects, a Bill of Quantities is an important document used to organize work items, quantities, and associated costs.</p><p>As a project develops, changes may occur in requirements, quantities, or cost-related information.</p><p>This makes version management an important concept.</p><p>The discussion gave me an opportunity to explain the BOQ version-related functionality in BUILDORA and the purpose of maintaining organized project information as changes occur.</p><p>This was particularly meaningful because it connected software development with an actual construction management requirement.</p><p>It reminded me that implementing a feature is not only about creating database tables or API endpoints.</p><p>A developer also needs to understand the real-world problem the feature is intended to solve.</p><p><strong>A useful software feature should have a clear purpose beyond its technical implementation.</strong></p><h3>Explaining the QS-to-Company Admin Promotion Process</h3><p>Another important topic discussed during the viva was the <strong>role promotion process</strong>.</p><p>BUILDORA supports different organizational roles, including Quantity Surveyor (QS) and Company Admin.</p><p>One of the workflows I have been developing allows a Quantity Surveyor to request promotion to Company Admin, with the request reviewed through an administrative approval process.</p><p>This feature involves more than simply changing the name of a user role.</p><p>It requires careful consideration of how organizational responsibilities and access permissions should be managed.</p><p>For example, the application needs to distinguish between company-level responsibilities and permissions associated with individual projects.</p><p>Working on this functionality helped me understand the importance of designing role-based access control systems with real-world scenarios in mind.</p><p>During the viva, discussing this feature gave me an opportunity to explain an important part of BUILDORA’s business logic.</p><p>It also reinforced a valuable technical lesson:</p><p><strong>User roles are not just labels in an application. They represent responsibilities, permissions, and rules that must be handled carefully.</strong></p><h3>Answering Questions About My Code</h3><p>Along with the application-related discussion, I was asked approximately <strong>two or three code-related questions</strong>.</p><p>Although the number of direct coding questions was relatively small, they were still an important part of the experience.</p><p>They gave me an opportunity to demonstrate my understanding of the technical implementation behind BUILDORA.</p><p>What stood out to me was that I felt confident while responding.</p><p>That confidence came from the practical experience of working on the project, understanding the features, and spending time solving development challenges.</p><p>I realized that when we build something ourselves and make an effort to understand it properly, explaining it becomes much easier.</p><h3>The Confidence I Gained</h3><p>For me, the most rewarding part of the viva was not simply reaching the end of the discussion.</p><p>It was realizing that I could confidently explain the application I had been developing.</p><p>BUILDORA had already given me many opportunities to learn through implementation, debugging, and improvement.</p><p>During the technical viva, that experience became valuable in a different way.</p><p>I was able to connect my practical development work with technical communication.</p><p>The experience helped strengthen my confidence and motivated me to continue learning.</p><p><strong>The real achievement was not just building BUILDORA, but developing the confidence to explain what I had built.</strong></p><h3>5. The Challenges That Helped Me Grow</h3><p>Building a full-stack application comes with many challenges.</p><p>As BUILDORA developed, I began to understand that software engineering involves much more than implementing individual features.</p><h3>Understanding Complex Business Logic</h3><p>Some application features appear simple from the user’s perspective but involve several decisions behind the scenes.</p><p>For example, a role promotion workflow may require request submission, approval, permission updates, and careful handling of existing project responsibilities.</p><p>Developing this type of functionality helped me understand how business requirements translate into technical logic.</p><h3>Managing Frontend and Backend Integration</h3><p>Another important challenge was ensuring that frontend components communicated correctly with backend APIs.</p><p>A feature might look complete in the interface but still require validation, authorization, and database operations.</p><p>Working through these integration challenges improved my understanding of the full request-response lifecycle.</p><h3>Debugging and Problem-Solving</h3><p>During development, errors are unavoidable.</p><p>Sometimes an issue is related to frontend state. Other times, it involves an API response, a database relationship, or backend logic.</p><p>Each issue requires investigation and patience.</p><p>I learned that debugging is not simply about finding a quick fix.</p><p>It is about understanding why something failed and improving the implementation so the same problem is less likely to happen again.</p><h3>Thinking Beyond the Development Environment</h3><p>Another important lesson was learning to consider how an application would behave in real-world situations.</p><p>For example:</p><p>What happens when a user tries to access information without permission?</p><p>How should an application handle unexpected errors?</p><p>How can project information remain secure between different organizations?</p><p>How can an application remain reliable as the number of users increases?</p><p>These questions helped me understand the difference between building a functional project and preparing software for production use.</p><h3>6. What My Technical Viva Taught Me</h3><p>My UKI Technical Viva helped me recognize several important lessons that I want to carry forward in my development journey.</p><h3>1. Understand What You Build</h3><p>One of the biggest lessons was the importance of understanding my own application.</p><p>When I was asked about BOQ Version Management and role promotion, the discussion focused on features that were part of my development work.</p><p>Being familiar with the application’s purpose and functionality helped me approach those questions confidently.</p><h3>2. Practical Experience Builds Confidence</h3><p>Confidence does not always come from memorizing answers.</p><p>It often comes from spending time working through problems, testing different approaches, and learning how an application behaves.</p><p>The practical experience I gained through BUILDORA contributed to my ability to discuss the project.</p><h3>3. Communication Is an Important Developer Skill</h3><p>A developer may understand a feature technically, but explaining it clearly requires communication skills.</p><p>The viva reminded me that software developers need to communicate with teammates, stakeholders, and people who may not have the same technical background.</p><p>Being able to explain complex ideas in a simple way is a skill I want to keep improving.</p><h3>4. Real-World Problems Make Learning More Meaningful</h3><p>Working on construction-related workflows gave me an opportunity to connect technical concepts with practical use cases.</p><p>Features such as BOQ management and role-based permissions helped me see how software can support real organizational processes.</p><h3>5. Learning Never Stops</h3><p>Completing a technical viva does not mean that the learning process is finished.</p><p>There are still many areas I want to explore, including software security, testing, performance optimization, architecture, and production deployment.</p><p>Every project and every technical discussion provides another opportunity to improve.</p><h3>7. What Makes BUILDORA Special to Me</h3><p>BUILDORA is more than a collection of frontend pages, backend APIs, and database models.</p><p>It represents the practical knowledge I have gained while exploring full-stack development.</p><p>Through this project, I have had opportunities to work on:</p><ul><li>Designing user interfaces</li><li>Creating and integrating REST APIs</li><li>Managing database relationships</li><li>Implementing authentication and authorization</li><li>Developing multi-user workflows</li><li>Understanding construction-related business requirements</li><li>Debugging and improving application functionality</li><li>Thinking about security and real-world reliability</li></ul><p>Each feature has helped me develop a stronger understanding of how different parts of a software system work together.</p><p>The UKI Technical Viva was meaningful because it gave me an opportunity to reflect on this journey and communicate what I had learned.</p><h3>8. What’s Next for BUILDORA?</h3><p>My journey with BUILDORA does not end with the technical viva.</p><p>I want to continue improving the application and exploring how it can become more reliable, secure, and practical for real-world usage.</p><p>Some of the areas I plan to focus on include:</p><p><strong>Security and Access Control</strong></p><p>Strengthening authentication, authorization, and permission handling across company and project workflows.</p><p><strong>Application Reliability</strong></p><p>Improving error handling, validation, and the ability to manage unexpected situations.</p><p><strong>Data Protection</strong></p><p>Exploring reliable approaches to document storage, database backups, and recovery.</p><p><strong>Performance and Scalability</strong></p><p>Understanding how the application can handle growing numbers of users, projects, and records.</p><p><strong>Testing and Code Quality</strong></p><p>Introducing more comprehensive testing and improving the maintainability of the codebase.</p><p><strong>User Experience</strong></p><p>Continuing to improve how different stakeholders interact with the platform.</p><p>I know that transforming a development project into a production-ready application requires careful planning, testing, and continuous improvement.</p><p>That is one of the areas I am excited to learn more about.</p><h3>9. A Note of Gratitude</h3><p>I am grateful to <strong>UKI</strong> for providing opportunities that encourage practical learning, technical development, and personal growth.</p><p>The technical viva was a valuable experience because it gave me the opportunity to reflect on my work and communicate my understanding.</p><p>I also appreciate everyone who has supported and encouraged me throughout my learning journey.</p><p>Experiences like this remind me that growth happens through consistent effort, practical challenges, and the willingness to keep learning.</p><h3>Final Thoughts: From Code to Confidence</h3><p>Looking back at my UKI Technical Viva, I feel encouraged by the experience.</p><p>The discussion focused mainly on BUILDORA, particularly BOQ Version Management, the role promotion process, and a few questions about my code.</p><p>Being able to respond confidently was an important personal milestone.</p><p>It reminded me that the time spent understanding requirements, implementing features, solving errors, and improving an application contributes to more than technical knowledge.</p><p>It also builds confidence.</p><p><strong>BUILDORA taught me how to approach software development through practical experience. My UKI Technical Viva helped me recognize the confidence that experience had given me.</strong></p><p>There is still a lot for me to learn, and many improvements I want to make.</p><p>But I am proud of the progress I have made and excited about the journey ahead.</p><p><strong>From writing code to confidently explaining what I built — this experience has been another meaningful step in my journey as a software developer.</strong> 🚀</p><p><em>Thank you for taking the time to read about my experience!</em></p><p><strong>#UKI #TechnicalViva #BUILDORA #FullStackDevelopment #ReactJS #FastAPI #Python #SoftwareEngineering #WebDevelopment #LearningJourney</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7df22c603280" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Would a Construction Company Pay for in Buildora?]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/what-would-a-construction-company-pay-for-in-buildora-582fcfa73599?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/582fcfa73599</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Wed, 11 Nov 2026 14:27:57 GMT</pubDate>
            <atom:updated>2026-11-11T14:27:57.715Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K4FIgmSsNotTTY5TqrUXfA.png" /></figure><p>Before today’s sprint at Uki, I had reached a point where I could show how different parts of Buildora would work for a construction team. Buildora is my final project, designed to help Quantity Surveyors manage construction costs and give building owners a clearer view of their projects.</p><p>One milestone was testing invoice extraction. I uploaded a sample invoice and checked whether Buildora could pull out the supplier name, invoice number, date and total. Seeing those fields come back through my own backend gave me something concrete to demonstrate. I had also added a way for building owners to ask for a published monthly report to be explained in simpler language. That flow still needed a full test.</p><h3>Getting the different roles to fit together</h3><p>I had spent time on the parts of Buildora that a user encounters before they get to a project. I organised company verification into four steps, from entering company details to submitting the application for review. On the Platform Admin side, I could see the company list and tell users apart by their assigned roles. That mattered because an organisation admin and a building owner come into the app to do very different things.</p><p>Looking at my progress before the sprint helped me see where I needed a complete test. I could open the verification screens, but I still needed to configure email delivery and go through the process with a fresh company account. From there, I wanted to create a project, invite a Quantity Surveyor and an owner, and check what each person could actually see and do.</p><h3>Thinking about what a company would pay for</h3><p>I had already added the billing page and created the database structure for subscriptions. During today’s sprint, I worked through what that subscription could look like as a business offer. I explored a 30-day trial on one project, followed by a proposed LKR 6,900 monthly subscription for up to three active projects. I also built a two-year projection so I could see how the costs and revenue might change as more companies joined.</p><p>The next test I want to run is one complete company workflow, from verification to the first owner update. I want to see whether a Quantity Surveyor can use the files they already have to prepare that update, and whether the owner can understand what was completed, what they’ve paid and what’s due next. That’s the experience I want a company to have before I ask it to subscribe.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=582fcfa73599" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One Question That Changed How I Pitched Buildora]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/one-question-that-changed-how-i-pitched-buildora-567da1183022?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/567da1183022</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Wed, 11 Nov 2026 14:19:05 GMT</pubDate>
            <atom:updated>2026-11-11T14:19:05.816Z</atom:updated>
            <content:encoded><![CDATA[<p><em>What I learned during my November 6 sprint at Uki about explaining what my final project actually helps users do.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lOrPDRDlgnRL9CltzehMZg.png" /></figure><p>During my sprint at Uki on Friday, November 6, I was working on how to explain Buildora, my final project. I had written that duplicate bills, inflated charges and payments for unfinished work can go unnoticed during a construction project. Then I stopped at one line and asked myself: <em>What exactly does my app do about duplicate bills?</em></p><p>That question made me go back to the situation I was trying to solve. Imagine building a house in Sri Lanka while living abroad. You receive a bill on WhatsApp, see a payment total in an Excel sheet, and get site photos in a separate message. When a similar bill arrives later, it takes time to check whether it’s for new work or something you’ve already paid for.</p><p>The Quantity Surveyor (QS) has a problem here too. A genuine cost increase can look suspicious when the reason is buried in a message or an older version of a spreadsheet. I wanted Buildora to give the QS a place to explain that change and give the owner enough information to understand it.</p><h3>Making the claim more specific</h3><p>I realised I could explain Buildora better by showing what someone could actually check. The QS can keep the latest Bill of Quantities, earlier revisions, supporting bills and payment records together. If a charge looks familiar, the QS can review it against those records. If the amount has changed, the owner can see the reason and ask about the specific charge.</p><p>I changed how I described Buildora in my pitch. I focused on what the QS and owner could actually do when a charge raised a question: check the bill against earlier records and see why the amount changed.</p><p>That helped me describe Buildora’s value more honestly. It gives both people a shared record to refer to when a payment needs an explanation.</p><p>My takeaway from Friday was to test each claim in my pitch against a real example. If I say Buildora makes construction costs clearer, I should be able to show what the owner opens, what they can verify, and where they would still need to ask a question. A single payment update is a good place to start.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=567da1183022" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My 1st Sprint Experience: Turning an Idea Into a Project]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/my-1st-sprint-experience-turning-an-idea-into-a-project-589aaceb7134?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/589aaceb7134</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Fri, 30 Oct 2026 04:56:10 GMT</pubDate>
            <atom:updated>2026-10-30T04:56:10.920Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hMHK0iPbMSNl8IuodOKlyQ.png" /></figure><p>Last Wednesday’s sprint at Uki was a different and meaningful experience for me because I had the opportunity to work individually on an idea for my final project.</p><p>Instead of simply completing a given task, I had to think about a real-world problem, understand who faces that problem, and decide how I could turn my idea into a practical solution.</p><p>The most interesting part was starting from almost nothing.</p><p>I had to think about the problem first, identify the right users, decide what features were actually necessary, and plan how the application should work before moving into development.</p><p>Once I started building, I realized that having an idea and turning it into a working application are two completely different things. Every feature brought new questions — how should the user flow work, what data should be stored, how different users should interact with the system, and how each part should connect with the next.</p><p>There were also moments when things did not work as expected. Errors, changes in the flow, and small technical problems forced me to rethink some of my decisions. Instead of seeing them only as problems, I started seeing them as part of the development process.</p><p>Another important lesson was <strong>prioritization</strong>. I had many ideas for the project, but during a sprint, everything cannot be built at once. I learned to focus on the core functionality first and leave improvements and additional features for later.</p><p>Working individually also made me more responsible for every decision — from understanding the problem and planning the solution to developing and testing it.</p><p>By the end of the sprint, the biggest achievement for me was not simply how much I had completed. It was seeing an idea slowly turn into something real.</p><p>This sprint reminded me that building a project is a continuous process of <strong>thinking, building, testing, fixing, and improving</strong>.</p><p>There is still a lot more to build, but this experience gave me more confidence and excitement to continue developing my final project.</p><p><strong>One sprint, many lessons, and one idea slowly becoming a real product.</strong></p><p>#Uki #SprintExperience #FinalProject #WebDevelopment #LearningByBuilding #ProblemSolving</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=589aaceb7134" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Does an AI API Work with FastAPI? From User Input to Intelligent Responses]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/how-does-an-ai-api-work-with-fastapi-from-user-input-to-intelligent-responses-b6638bd18536?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6638bd18536</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Fri, 09 Oct 2026 15:53:42 GMT</pubDate>
            <atom:updated>2026-10-09T15:53:42.877Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ecKQjbW5ayn9MgqRXEoTjA.png" /></figure><h3>Introduction</h3><p>Have you ever wondered how an application can answer questions, summarize documents, generate content, or behave like an intelligent assistant?</p><p>Behind many of these applications, there is a combination of two powerful technologies: <strong>AI APIs and backend frameworks</strong>.</p><p>An AI API gives an application access to an AI model, while FastAPI helps us build the backend that communicates with that model and delivers its responses to the frontend.</p><p>When I started learning backend development, I realized that building an AI-powered application is not just about connecting an AI model. It is also about understanding how data travels between the user, the backend, and the AI service.</p><p>So, let’s break down how these technologies work together using a simple, real-world example.</p><h3>1. What Is an AI API?</h3><p>Imagine you are building a food ordering application. You want to add a chatbot that can answer questions such as:</p><ul><li>What are some healthy meals I can order?</li><li>Can you suggest a meal based on my preferences?</li><li>What is the difference between two dishes?</li></ul><p>Training your own AI model for this purpose would be a complex task.</p><p>Instead, you can use an existing AI service through an API.</p><p>An <strong>AI API is a way for your application to send information to an AI service and receive its response</strong>. The service handles the model processing, and your application uses the result.</p><p>For example, an application can send a prompt such as:</p><p>“Suggest a healthy vegetarian dinner.”</p><p>The AI service processes the prompt and returns a response containing meal suggestions.</p><p>Popular AI services provide APIs that developers can integrate into their applications. The exact capabilities depend on the provider and model being used.</p><p>Think of an AI API as a bridge between your application and an AI model.</p><h3>2. What Is FastAPI?</h3><p>FastAPI is a Python framework used to build APIs and backend applications.</p><p>But why do we need FastAPI if an AI service already provides an API?</p><p>Because the frontend should not have to communicate directly with the AI provider for every operation.</p><p>Your backend can receive user input, validate it, apply business rules, communicate with the AI service, and return a clean response to the frontend.</p><p>FastAPI is useful for building this layer because it supports request validation, asynchronous endpoints, and automatic API documentation.</p><p>For example, we can create an endpoint called /ask-ai that accepts a user&#39;s question and returns an AI-generated answer.</p><p>FastAPI acts as the application’s backend coordinator.</p><h3>3. How Do AI APIs and FastAPI Work Together?</h3><p>Let’s imagine a user types a question into an AI-powered web application.</p><p>Here is the complete flow:</p><p><strong>Step 1: The user enters a question.</strong></p><p>The user types “Suggest a healthy dinner” into the React frontend.</p><p><strong>Step 2: React sends a request to FastAPI.</strong></p><p>The frontend sends the question as JSON to the backend endpoint.</p><p><strong>Step 3: FastAPI validates the input.</strong></p><p>FastAPI checks whether the request contains the expected data, such as a question represented as a string.</p><p><strong>Step 4: FastAPI calls the AI API.</strong></p><p>The backend sends the question to the AI provider using its API and receives the generated response.</p><p><strong>Step 5: FastAPI returns the result.</strong></p><p>The backend sends the response to the frontend as JSON.</p><p><strong>Step 6: React displays the answer.</strong></p><p>The user sees the AI-generated suggestion on the screen.</p><p>The important point is that FastAPI sits between the frontend and the AI service. It manages the communication rather than replacing the AI model.</p><h3>4. Understanding the Architecture</h3><p>The architecture can be represented like this:</p><pre>USER<br>          |<br>          v<br>    REACT FRONTEND<br>          |<br>          | HTTP Request (JSON)<br>          v<br>       FASTAPI<br>          |<br>          | API Request<br>          v<br>       AI SERVICE<br>          |<br>          | AI-generated response<br>          v<br>       FASTAPI<br>          |<br>          | HTTP Response (JSON)<br>          v<br>    REACT FRONTEND<br>          |<br>          v<br>    ANSWER ON SCREEN</pre><p>Each component has a specific responsibility.</p><ul><li><strong>React:</strong> Collects user input and displays the result.</li><li><strong>FastAPI:</strong> Validates requests, manages application logic, and calls the AI service.</li><li><strong>AI API:</strong> Provides access to the AI model.</li><li><strong>JSON:</strong> Carries structured data between the components.</li><li><strong>HTTP:</strong> Enables communication between the frontend and backend, and between the backend and external service.</li></ul><p>Understanding this flow is more important than memorizing the code. Once you understand the journey of the data, connecting different services becomes much easier.</p><h3>5. Let’s Build a Simple Example Using FastAPI</h3><p>Now, let’s turn the concept into code.</p><p>Suppose we want to create a backend endpoint that accepts a question and sends it to an AI model.</p><p>For this example, we will use the OpenAI Python SDK. Other AI providers may use different libraries and request formats, but the overall architecture is similar.</p><h3>Step 1: Install the required packages</h3><p>Activate your Python virtual environment and run:</p><pre>pip install fastapi uvicorn openai</pre><p>These packages serve different purposes:</p><ul><li>fastapi creates the backend API.</li><li>uvicorn runs the FastAPI application.</li><li>openai provides a Python client for communicating with the OpenAI API.</li></ul><h3>Step 2: Configure your API key</h3><p>Create an API key through your AI provider’s official developer platform.</p><p>Store it as an environment variable instead of writing it directly into your Python code.</p><p>For example, in Windows PowerShell:</p><pre>$env:OPENAI_API_KEY=&quot;your-api-key-here&quot;</pre><p>Replace the example value with your actual API key.</p><p>Never expose your API key in React code, public repositories, or frontend environment variables. The backend should keep it private.</p><h3>Step 3: Create the FastAPI application</h3><p>Create a file named main.py.</p><pre>import os</pre><pre>from fastapi import FastAPI, HTTPException<br>from pydantic import BaseModel<br>from openai import AsyncOpenAI</pre><pre>app = FastAPI()</pre><pre>api_key = os.getenv(&quot;OPENAI_API_KEY&quot;)</pre><pre>if not api_key:<br>    raise RuntimeError(&quot;OPENAI_API_KEY is not configured&quot;)</pre><pre>client = AsyncOpenAI(api_key=api_key)<br></pre><pre>class QuestionRequest(BaseModel):<br>    question: str<br></pre><pre>@app.post(&quot;/ask-ai&quot;)<br>async def ask_ai(request: QuestionRequest):<br>    try:<br>        response = await client.responses.create(<br>            model=&quot;gpt-5&quot;,<br>            input=request.question<br>        )</pre><pre>        return {<br>            &quot;question&quot;: request.question,<br>            &quot;answer&quot;: response.output_text<br>        }</pre><pre>    except Exception:<br>        raise HTTPException(<br>            status_code=502,<br>            detail=&quot;The AI service could not process the request.&quot;<br>        )</pre><p>This is a simple example of connecting FastAPI to an AI API. The model name is an example; use a model currently available to your API account if it differs.</p><p>Let’s understand the important parts.</p><p><strong>FastAPI()</strong></p><p>Creates the application that receives HTTP requests.</p><p><strong>QuestionRequest(BaseModel)</strong></p><p>Defines the expected request structure. FastAPI uses Pydantic to validate incoming data.</p><p>For example:</p><pre>{<br>  &quot;question&quot;: &quot;Suggest a healthy dinner&quot;<br>}</pre><p><strong>@app.post(&quot;/ask-ai&quot;)</strong></p><p>Creates a POST endpoint. The frontend sends a question to this endpoint.</p><p><strong>AsyncOpenAI()</strong></p><p>Creates an asynchronous client for communicating with the OpenAI API.</p><p><strong>await client.responses.create(...)</strong></p><p>Sends the question to the AI service and waits for its response without blocking the asynchronous endpoint while the network request is pending.</p><p><strong>response.output_text</strong></p><p>Extracts the generated text from the returned response.</p><p>Finally, FastAPI sends the question and answer back to the client as JSON.</p><p>In a production application, you should also add input-length limits, appropriate timeouts, rate limiting, and more specific error handling.</p><h3>6. How Can We Test It?</h3><p>Start the backend with:</p><pre>uvicorn main:app --reload</pre><p>Open the automatic API documentation at:</p><p><a href="http://127.0.0.1:8000/docs">http://127.0.0.1:8000/docs</a></p><p>You will see the endpoint /ask-ai.</p><p>Select it, click <strong>Try it out</strong>, and enter:</p><pre>{<br>  &quot;question&quot;: &quot;Explain Python in simple English&quot;<br>}</pre><p>Click <strong>Execute</strong>.</p><p>If your API key is valid, your account has API access, and the selected model is available, the backend should return a response similar in structure to this:</p><pre>{<br>  &quot;question&quot;: &quot;Explain Python in simple English&quot;,<br>  &quot;answer&quot;: &quot;Python is a programming language...&quot;<br>}</pre><p>The answer shown here is illustrative, not a live API result.</p><p>Swagger makes it easy to test the backend before connecting it to a React frontend.</p><h3>7. How Does React Connect to This Backend?</h3><p>Once the backend works, the React frontend can call the endpoint using fetch() or Axios.</p><p>For example, using fetch():</p><pre>const response = await fetch(<br>  &quot;http://127.0.0.1:8000/ask-ai&quot;,<br>  {<br>    method: &quot;POST&quot;,<br>    headers: {<br>      &quot;Content-Type&quot;: &quot;application/json&quot;<br>    },<br>    body: JSON.stringify({<br>      question: &quot;Suggest a healthy dinner&quot;<br>    })<br>  }<br>);</pre><pre>const data = await response.json();</pre><pre>console.log(data.answer);</pre><p>Here, JSON.stringify() converts the JavaScript object into JSON text that can be sent in the HTTP request.</p><p>When the backend responds, response.json() converts the JSON response into a JavaScript object.</p><p>In a real React component, you would store the answer in state and display it on the page.</p><p>Remember that your frontend URL and backend URL may differ in development and production. You may also need to configure CORS in FastAPI to allow requests from your frontend’s origin.</p><h3>8. Why Not Call the AI API Directly from React?</h3><p>It might seem easier to call the AI service directly from the frontend. However, this creates an important security problem.</p><p>If you place a private API key in frontend code, users may be able to discover it through browser developer tools or downloaded JavaScript bundles.</p><p>FastAPI provides a safer place to manage that secret.</p><p>It also allows you to:</p><ul><li>Authenticate users before they access AI features.</li><li>Limit how frequently each user can make requests.</li><li>Validate prompts and restrict input size.</li><li>Save conversation history in a database.</li><li>Track usage and manage costs.</li><li>Combine AI responses with information from your own application.</li></ul><p>For example, in a food ordering system, FastAPI could retrieve available meals from MySQL, send relevant information to an AI model, and return recommendations based on the actual menu.</p><p>The AI model generates the recommendation, while your backend controls what information is available to it.</p><h3>9. Is an AI API the Same as Building an AI Model?</h3><p>No. These are different approaches.</p><p>When you use an AI API, you typically access a model hosted by an external provider. The provider manages the model infrastructure, and your application communicates with it over the network.</p><p>When you train or host your own model, you take responsibility for more of the model’s development or infrastructure, depending on the approach.</p><p>For many student projects and early-stage applications, using an existing AI API is a practical way to add intelligent features without having to train a model from scratch.</p><p>However, an API does not automatically make an application intelligent in every situation. You still need to design the right workflow, provide relevant context, validate the results, and handle cases where the AI gives an incorrect answer.</p><h3>10. What Should Developers Keep in Mind?</h3><p>Connecting an AI API to FastAPI is straightforward, but building a reliable AI-powered application requires additional considerations.</p><p><strong>Security:</strong> Keep API keys on the backend and protect endpoints from unauthorized use.</p><p><strong>Validation:</strong> Check the user’s input before sending it to the AI service.</p><p><strong>Cost management:</strong> AI requests may incur usage charges, so apply limits and monitor consumption.</p><p><strong>Error handling:</strong> External services can fail, return errors, or take longer than expected.</p><p><strong>Response quality:</strong> AI-generated text can be incorrect. For important decisions, verify outputs against trusted data and appropriate rules.</p><p><strong>Privacy:</strong> Avoid sending sensitive user information to an AI provider unless the use is justified and complies with applicable privacy requirements.</p><p>These considerations become increasingly important as your project grows from a classroom demonstration into a real application.</p><h3>Conclusion</h3><p>Connecting an AI API with FastAPI is not just about sending a prompt and receiving an answer. It is about building a reliable connection between an AI service and an application that people can actually use.</p><p>React handles the user interface, FastAPI manages the backend workflow, and the AI API provides access to the model.</p><p>Once you understand this architecture, you can start building AI-powered chatbots, recommendation systems, document assistants, and many other applications.</p><p><strong>The biggest lesson is this: you don’t need to build an AI model from scratch to build an AI-powered application. You need to understand how to connect the right tools, manage the data flow, and turn the model’s capabilities into something genuinely useful.</strong></p><p>That is where backend development and AI begin to work together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6638bd18536" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Does OpenAI Turn Text into Tokens?]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/how-does-openai-turn-text-into-tokens-7d571a02b983?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d571a02b983</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 04:28:55 GMT</pubDate>
            <atom:updated>2026-10-08T04:28:55.520Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ji--Xu8ks_duWGUJXcaa_Q.jpeg" /></figure><p>Whenever we type something into ChatGPT, we naturally think that the AI is reading our sentence just like a human.</p><p>But that is not actually what happens.</p><p>A language model cannot directly process a sentence like:</p><p><strong><em>“I love learning AI.”</em></strong></p><p>Before the model can process it, the text goes through an important step called <strong>tokenization</strong>.</p><p>The basic journey is:</p><p><strong>Text → Tokens → Token IDs → Model → Output Tokens → Text</strong></p><p>Let’s understand what happens behind the scenes.</p><h3>What Exactly Is a Token?</h3><p>A <strong>token is a small piece of text</strong> that the AI processes.</p><p>A token can be:</p><ul><li>A complete word</li><li>Part of a word</li><li>Punctuation</li><li>Numbers</li><li>Sometimes spaces or other characters</li></ul><p>For example, a sentence such as:</p><p><strong>“I love coding!”</strong></p><p>could be represented as pieces similar to:</p><p><strong>“I” | “ love” | “ coding” | “!”</strong></p><p>The exact tokenization depends on the tokenizer and its vocabulary, so we shouldn’t assume every word always becomes exactly one token.</p><p>This is important because <strong>one word does not always equal one token</strong>.</p><h3>Why Doesn’t AI Just Use Words?</h3><p>At first, using complete words might seem easier.</p><p>For example:</p><p><strong>“I” → one word</strong><br><strong>“love” → one word</strong><br><strong>“coding” → one word</strong></p><p>But imagine a model encountering a completely new or unusual word.</p><p>If every possible word had to exist in the vocabulary, the vocabulary would become extremely large.</p><p>Instead, modern tokenizers can break words into smaller reusable pieces.</p><p>For example, a longer or less common word might be divided into something like:</p><p><strong>“unbelievable” → “un” + “believ” + “able”</strong></p><p>The exact split depends on the tokenizer.</p><p>This approach allows the model to work with words it hasn’t seen as a complete unit.</p><h3>From Tokens to Numbers</h3><p>Here comes the interesting part.</p><p>The AI model doesn’t actually process the token text directly.</p><p>Each token is assigned a <strong>token ID</strong>.</p><p>Imagine a simplified vocabulary:</p><p>TokenToken IDI10love25coding81!5</p><p>Then:</p><p><strong>“I love coding!”</strong></p><p>could become:</p><p><strong>[10, 25, 81, 5]</strong></p><p>These numbers are what the model can work with computationally.</p><p>The real vocabulary and IDs used by OpenAI models are much larger and more complex. The numbers above are only an easy example.</p><h3>How Does Tokenization Know Where to Split?</h3><p>This is where tokenization algorithms become interesting.</p><p>OpenAI has used tokenization approaches based on <strong>Byte Pair Encoding (BPE)</strong>, and its tiktoken library is designed to encode text into tokens efficiently.</p><p>The basic idea behind BPE is to discover and reuse common pieces of text.</p><p>Imagine that the tokenizer frequently sees:</p><p><strong>“ing”</strong></p><p>in words such as:</p><p><strong>coding</strong><br><strong>learning</strong><br><strong>building</strong></p><p>Instead of always treating each character separately, the tokenizer can have common pieces such as <strong>“ing”</strong> represented efficiently.</p><p>So a word might be represented using reusable subword pieces.</p><p>This makes the vocabulary useful across many different words.</p><h3>What Happens After Tokenization?</h3><p>Once the text has been converted into token IDs, the model can process them.</p><p>But there is another important step.</p><p>The token IDs are transformed into numerical representations called <strong>embeddings</strong>.</p><p>For example, instead of simply thinking:</p><p><strong>coding → 81</strong></p><p>the model represents that token using a much larger mathematical vector.</p><p>Something conceptually like:</p><p><strong>coding → [0.21, -0.48, 0.73, …]</strong></p><p>These numbers contain information that the neural network can use when processing relationships between tokens.</p><p>The model then uses its neural network architecture, including <strong>attention mechanisms</strong>, to examine how tokens relate to one another.</p><p>For example, in:</p><p><strong>“The cat sat on the mat because it was tired.”</strong></p><p>the model needs to understand what <strong>“it”</strong> refers to based on the surrounding context.</p><p>That is one reason tokenization is only the beginning. The real language understanding happens through the model’s processing of these representations and their relationships.</p><h3>What Happens When AI Generates an Answer?</h3><p>The process also works in the opposite direction.</p><p>Suppose the model predicts a sequence of output tokens.</p><p>Conceptually:</p><p><strong>[“AI”, “ can”, “ learn”, “.”]</strong></p><p>These token IDs are converted back into their corresponding text pieces.</p><p>Finally, the pieces are combined to produce something readable:</p><p><strong>“AI can learn.”</strong></p><p>So the complete process looks like this:</p><p><strong>Your Text</strong><br>↓<br><strong>Tokenization</strong><br>↓<br><strong>Token IDs</strong><br>↓<br><strong>Embeddings &amp; Neural Network Processing</strong><br>↓<br><strong>Predicted Output Tokens</strong><br>↓<br><strong>Decoded Text</strong><br>↓<br><strong>AI Response</strong></p><h3>Why Should We Care About Tokens?</h3><p>Tokens are important for several reasons.</p><h3>1. Context</h3><p>Language models have limits on how much text they can process at once. These limits are measured in <strong>tokens</strong>, not simply characters or words.</p><h3>2. Cost</h3><p>For many AI APIs, usage is measured based on the number of input and output tokens. More text generally means more tokens.</p><h3>3. Speed</h3><p>The model processes tokens rather than directly processing paragraphs as humans see them. Efficient tokenization helps make this computationally practical.</p><h3>4. Different Languages Behave Differently</h3><p>Token counts aren’t the same for every language.</p><p>Some languages may use more tokens to represent the same amount of human-readable text than English. Special characters, code, emojis, and unusual words can also affect tokenization.</p><h3>The Big Picture</h3><p>When we send a message to an AI model, it doesn’t simply receive a sentence and “read” it like a person.</p><p>Instead, the text goes through a pipeline:</p><p><strong>Text → Tokenization → Token IDs → Numerical Representations → Neural Network → Predicted Tokens → Text</strong></p><p>Understanding tokens gives us a small glimpse into what happens inside modern AI systems.</p><p>The next time you type a question into ChatGPT, remember:</p><p><strong>Before the AI can process your words, your words first have to become numbers.</strong></p><p>And that tiny transformation is one of the foundations behind modern language models.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d571a02b983" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I Learned About AI Agents: From Chatbots to Intelligent Action]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/what-i-learned-about-ai-agents-from-chatbots-to-intelligent-action-dbda41819351?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbda41819351</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Wed, 07 Oct 2026 09:36:41 GMT</pubDate>
            <atom:updated>2026-10-07T09:36:41.133Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AUtXWV4k1RFl83o7oPLNQQ.png" /></figure><p>When I first started learning about AI, I mostly thought about chatbots like ChatGPT.</p><p>They can answer questions, explain concepts, write content, and help with coding. But while learning about <strong>AI Agents</strong>, I realized that there is a big difference between an AI system that simply responds to us and one that can actually <strong>reason, plan, use tools, and take action</strong>.</p><p>This was one of the most interesting topics I learned about.</p><h3>What is an AI Agent?</h3><p>An AI Agent is a system that uses an AI model to interact with its environment and achieve a goal given by the user.</p><p>In simple words:</p><p><strong>Chatbot → Thinks and responds</strong></p><p><strong>AI Agent → Thinks, plans, uses tools, and acts</strong></p><p>For example, imagine telling an AI:</p><p><em>“I’m travelling to Tokyo from June 26 to July 12. Help me organize my trip.”</em></p><p>A normal chatbot might give you suggestions about flights, hotels, and places to visit.</p><p>But an AI Agent could potentially:</p><ul><li>Check your calendar</li><li>Understand your schedule</li><li>Search for suitable flights</li><li>Find hotels</li><li>Check company travel policies</li><li>Create a travel plan</li><li>Ask for your approval</li><li>Make bookings using external tools</li></ul><p>That ability to interact with the real world is what makes an AI Agent different.</p><h3>The “Brain” and the “Body”</h3><p>One concept that helped me understand AI Agents better was thinking about them as having a <strong>brain and a body</strong>.</p><p>The <strong>AI model is the brain</strong>.</p><p>It understands the user’s request, reasons about the problem, and decides what needs to happen.</p><p>The <strong>tools are the body</strong>.</p><p>Tools allow the agent to interact with the outside world.</p><p>For example:</p><ul><li>Calendar tools</li><li>Email</li><li>Databases</li><li>Web search</li><li>Booking systems</li><li>Company documents</li><li>APIs</li></ul><p>Without tools, an AI model may only be able to provide information.</p><p>With tools, an agent can actually perform tasks.</p><h3>The Agentic Trinity</h3><p>One of the most important things I learned was the <strong>Agentic Trinity</strong>:</p><h3>1. Model</h3><p>The model is responsible for understanding, reasoning, and planning.</p><p>It can take a large goal and break it into smaller steps.</p><h3>2. Tools</h3><p>Tools allow the agent to interact with the environment.</p><p>For example, an agent might use a web search tool to find information or an API to update a database.</p><h3>3. Orchestration</h3><p>Orchestration manages the whole process.</p><p>It helps the agent decide:</p><p><strong>What information do I have?</strong></p><p>↓</p><p><strong>What should I do next?</strong></p><p>↓</p><p><strong>Which tool should I use?</strong></p><p>↓</p><p><strong>Did that action help me reach the goal?</strong></p><p>↓</p><p><strong>What should I do next?</strong></p><p>This creates a continuous loop until the goal is completed or the agent reaches a stopping point.</p><p>So my simple shortcut became:</p><p><strong>Model + Tools + Orchestration = Agentic System</strong></p><h3>Agent or Just Automation?</h3><p>Another interesting part of the lesson was understanding that not every AI-powered system is an AI Agent.</p><p>For example, imagine a customer support team receiving thousands of simple questions:</p><ul><li>“How do I track my order?”</li><li>“How do I return an item?”</li><li>“How do I change my shipping address?”</li></ul><p>If the answers are predictable, a simple chatbot or automated workflow might be enough.</p><p>But imagine customers asking:</p><p><em>“My order was cancelled, I was charged twice, and my store credit hasn’t been added.”</em></p><p>Now the system may need to:</p><ul><li>Check customer history</li><li>Check previous orders</li><li>Investigate the payment</li><li>Understand what happened</li><li>Decide what solution is appropriate</li><li>Update the customer’s account</li><li>Possibly issue a refund or credit</li></ul><p>This is where an AI Agent becomes much more useful.</p><h3>Simple and predictable → Chatbot</h3><h3>Complex and adaptive → AI Agent</h3><p>That distinction helped me understand <strong>when we actually need agents</strong>.</p><h3>When Should We Use AI Agents?</h3><p>AI Agents are especially useful when a problem requires:</p><ul><li>Complex decision-making</li><li>Multiple steps</li><li>Unstructured information</li><li>Access to external tools</li><li>Adaptive problem solving</li><li>Actions that depend on previous results</li></ul><p>Some examples include:</p><h3>Customer Support</h3><p>Agents can investigate complex customer problems and take appropriate actions.</p><h3>Coding Assistants</h3><p>An agent can understand a codebase, identify problems, modify files, and help implement changes.</p><h3>Deep Research</h3><p>A research agent can break a research question into smaller tasks, search different sources, collect information, and create a final result.</p><p>These examples showed me that AI Agents are not simply “better chatbots.”</p><p>They are systems designed to <strong>achieve goals through actions</strong>.</p><h3>Different Ways to Build AI Agents</h3><p>I also learned that developers don’t always have to build everything from scratch.</p><p>There are different approaches.</p><h3>Off-the-Shelf Tools</h3><p>These are ready-made solutions designed for specific problems.</p><p>They are useful when a mature solution already exists and we don’t want to maintain the whole system ourselves.</p><h3>Low-Code / No-Code</h3><p>These tools allow people to create workflows and agent-like systems with less programming.</p><p>They are useful when some customization is needed but complete control isn’t necessary.</p><h3>AI Agent Frameworks</h3><p>Developers can also build agents using frameworks.</p><p>This provides much more control over:</p><ul><li>Tools</li><li>Workflows</li><li>Data</li><li>Agent behavior</li><li>Integrations</li></ul><p>This approach makes sense when the system is highly customized or when the agent itself is an important part of the product.</p><h3>Build or Buy?</h3><p>One question I found interesting was:</p><p><strong>Should we build an AI Agent ourselves or use an existing solution?</strong></p><p>There isn’t one answer.</p><p>If a reliable solution already exists for a specific problem, buying or using an existing tool can save time and maintenance.</p><p>If the problem involves proprietary systems, sensitive data, or a highly specialized workflow, building the solution ourselves may make more sense.</p><p>As a beginner developer, this made me realize that technology isn’t only about knowing how to build something.</p><p>It’s also about knowing <strong>when to build and when to use an existing solution</strong>.</p><h3>What I Took Away as a Beginner Developer</h3><p>Before learning about AI Agents, I mostly thought of AI as something that gives us answers.</p><p>Now I see AI in a different way.</p><p>An AI Agent can:</p><p><strong>Understand → Reason → Plan → Use Tools → Take Action → Check Results → Continue</strong></p><p>That makes AI much more useful for real-world problems.</p><p>At the same time, I learned that we shouldn’t use an agent for everything.</p><p>If a simple rule or chatbot can solve the problem, using a complex agent may be unnecessary.</p><p>The important thing is choosing the right level of intelligence and autonomy for the problem.</p><h3>Final Thoughts</h3><p>Learning about AI Agents changed the way I think about AI.</p><p>A chatbot mainly helps us <strong>get information or generate content</strong>.</p><p>An AI Agent can go further by <strong>reasoning about a goal, planning the steps, using tools, and taking actions</strong>.</p><p>The biggest takeaway for me was simple:</p><p><strong><em>AI Agents are not just about answering questions. They are about achieving goals through intelligent action.</em></strong></p><p>As I continue learning AI and full-stack development, I think understanding agents will be especially useful because modern applications are increasingly moving from simply <strong>responding to users</strong> toward actually <strong>helping users complete tasks</strong>.</p><p>This is only the beginning of my AI learning journey, but understanding AI Agents gave me a much clearer picture of where AI can go next.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbda41819351" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I Learned About Prompt Engineering: Learning to Communicate Better with AI]]></title>
            <link>https://medium.com/@vinayagamoorthypaviththira/what-i-learned-about-prompt-engineering-learning-to-communicate-better-with-ai-8f46485e5bd5?source=rss-9bea09060f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f46485e5bd5</guid>
            <dc:creator><![CDATA[paviththira]]></dc:creator>
            <pubDate>Wed, 07 Oct 2026 04:16:24 GMT</pubDate>
            <atom:updated>2026-10-07T04:16:24.007Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4MTnl6wmnUgDKXkn6oD0qQ.jpeg" /></figure><p>When I first started using AI tools like ChatGPT, I mostly thought the process was simple:</p><p><strong>Ask a question → Get an answer.</strong></p><p>But while learning about Prompt Engineering through DataCamp, I realized that the way we communicate with AI can have a huge impact on the quality of the result.</p><p>A good prompt isn’t just a question.</p><p>It is an instruction that gives AI enough information to understand <strong>what I want, why I want it, and how I want the result.</strong></p><p>Here are some of the things I learned.</p><h3>What Is a Prompt?</h3><p>A prompt is simply an input or instruction we give to an AI system.</p><p>It could be:</p><ul><li>A question</li><li>An instruction</li><li>A request</li><li>A description</li><li>A task</li></ul><p>For example:</p><p><em>“Explain Python.”</em></p><p>This is a prompt, but it doesn’t give the AI much context.</p><p>If I’m a beginner, I could instead say:</p><p><em>“I’m a beginner learning Python. Explain Python loops using simple examples and avoid advanced terminology.”</em></p><p>Now the AI knows more about my situation and what kind of answer I need.</p><p>That’s where Prompt Engineering becomes useful.</p><h3>The 3 Things That Make a Good Prompt</h3><p>One of the simplest frameworks I learned was:</p><p><strong>Clarity + Specificity + Open-endedness</strong></p><h3>1. Clarity</h3><p>The AI should clearly understand what I’m asking.</p><p>For example:</p><p><em>“I’m an 8th-grade math teacher preparing a lesson on trigonometry.”</em></p><p>This gives useful context.</p><p>Without context, the AI has to make assumptions.</p><h3>2. Specificity</h3><p>The more specific the request, the closer the response can be to what I actually need.</p><p>Instead of:</p><p><em>“Create a lesson plan.”</em></p><p>I can say:</p><p><em>“Create a 60-minute trigonometry lesson plan for 20 students.”</em></p><p>Now the AI has clear requirements.</p><p>But I also learned that being specific doesn’t mean adding unnecessary information.</p><p>The goal is to provide <strong>relevant details</strong>.</p><h3>3. Open-endedness</h3><p>Sometimes we don’t want to completely restrict the AI.</p><p>We can give it enough direction while still allowing creativity.</p><p>For example:</p><p><em>“Suggest some creative real-world examples I can use to teach trigonometry.”</em></p><p>This allows the AI to explore different possibilities.</p><p>So my simple formula became:</p><p><strong><em>Clear → Specific → Open-ended</em></strong></p><h3>Prompt Engineering Is Not About Finding One Perfect Prompt</h3><p>This was another important lesson.</p><p>I initially thought a good prompt had to be perfect from the beginning.</p><p>But Prompt Engineering is often an <strong>iterative process</strong>.</p><p>For example:</p><h3>First prompt:</h3><blockquote><em>“Create a social media post about prompt engineering.”</em></blockquote><p>Maybe the result is too formal.</p><p>So I can refine it:</p><blockquote><em>“Make it more beginner-friendly.”</em></blockquote><p>Still not exactly what I want?</p><blockquote><em>“Make it sound more personal and natural.”</em></blockquote><p>Then:</p><blockquote><em>“Add a practical example.”</em></blockquote><p>The conversation becomes:</p><p><strong>Prompt → Result → Feedback → Improved Prompt → Better Result</strong></p><p>This changed how I use AI.</p><p>Instead of expecting perfection from the first prompt, I can improve the interaction step by step.</p><h3>Giving AI a Persona</h3><p>Another technique I learned was using <strong>personas</strong>.</p><p>Instead of simply saying:</p><blockquote><em>“Write a speech.”</em></blockquote><p>I could say:</p><blockquote><em>“Act as an experienced public speaking coach and help me prepare a motivational speech.”</em></blockquote><p>The persona can influence the:</p><ul><li>Tone</li><li>Style</li><li>Vocabulary</li><li>Perspective</li><li>Level of detail</li></ul><p>This can be useful when creating different types of content.</p><p>For example:</p><ul><li>Teacher</li><li>Developer</li><li>Marketing expert</li><li>Career coach</li><li>Public speaking coach</li></ul><p>The important thing is that the persona helps communicate the kind of response I’m looking for.</p><h3>Personalizing AI Responses</h3><p>AI can also be given examples of how we communicate.</p><p>For example, if I want a social media post that sounds more like me, I can provide a few examples of my previous writing.</p><p>Then I can ask AI to create something similar in style.</p><p>This is useful because instead of saying:</p><p><em>“Write something good.”</em></p><p>I can provide examples and say:</p><p><em>“Use these examples as a reference for the style and tone.”</em></p><p>This makes the interaction much more personalized.</p><h3>Zero-shot, One-shot and Few-shot Prompting</h3><p>These terms sounded complicated at first, but the concept is actually simple.</p><h3>Zero-shot</h3><p>Give the AI <strong>no examples</strong>.</p><p><em>“Classify this review as positive or negative.”</em></p><h3>One-shot</h3><p>Give <strong>one example</strong>.</p><p><em>“This movie was amazing → Positive.<br>Now classify: This movie was boring.”</em></p><h3>Few-shot</h3><p>Give <strong>multiple examples</strong>.</p><p>For example:</p><p><em>“Amazing movie → Positive<br>Terrible movie → Negative<br>Loved it → Positive<br>Now classify this review…”</em></p><p>The examples help the AI understand the pattern we’re expecting.</p><h3>Breaking Complex Problems Into Steps</h3><p>Some tasks are too complicated to solve effectively with one instruction.</p><p>That’s where breaking a problem into smaller steps can help.</p><p>For example, imagine I want to create a startup plan.</p><p>Instead of asking:</p><p><em>“Create a startup plan.”</em></p><p>I can approach it step by step:</p><ol><li>Identify the target users.</li><li>Identify their problems.</li><li>Research competitors.</li><li>Define the solution.</li><li>Create a business model.</li><li>Develop a marketing strategy.</li></ol><p>This makes a complex task easier to manage.</p><p>The bigger lesson for me was:</p><blockquote><strong><em>Complex problems can often be easier when they are divided into smaller tasks.</em></strong></blockquote><h3>AI Can Still Be Wrong</h3><p>Learning Prompt Engineering also made me understand that better prompts don’t make AI perfect.</p><p>AI systems can still produce <strong>hallucinations</strong>.</p><p>A hallucination happens when an AI gives information that sounds confident but is actually incorrect.</p><p>This is one of the most important things to remember when using AI.</p><p>For example, if I’m asking AI about:</p><ul><li>Technical documentation</li><li>Programming</li><li>Research</li><li>Current information</li></ul><p>I shouldn’t automatically assume the answer is correct.</p><p>I should verify important information.</p><p>So:</p><blockquote><strong><em>A confident AI answer is not necessarily a correct answer.</em></strong></blockquote><h3>Other Challenges I Learned About</h3><p>Prompt Engineering also has some common problems.</p><h3>Ambiguity</h3><p>If the prompt is unclear, the AI may interpret it differently from what I intended.</p><h3>Overloading</h3><p>Giving too much unnecessary information can make the prompt confusing.</p><h3>Over-complication</h3><p>A prompt doesn’t need to be extremely complicated to be effective.</p><p>Sometimes a simple, clear instruction works better.</p><h3>Markdown and Structure Matter Too</h3><p>Another small but useful lesson was that formatting can help make prompts clearer.</p><p>Using:</p><ul><li>Headings</li><li>Bullet points</li><li>Quotation marks</li><li>Delimiters</li><li>Markdown</li></ul><p>can help separate different parts of a prompt.</p><p>For example, if I provide a long piece of text and want AI to summarize only that content, I can clearly separate the text from my instruction.</p><p>This reduces ambiguity.</p><h3>What Changed in the Way I Use AI?</h3><p>Before learning Prompt Engineering, my approach was mostly:</p><blockquote><strong><em>Ask → Get answer</em></strong></blockquote><p>Now it is more like:</p><blockquote><strong><em>Understand the goal → Give context → Be specific → Get a response → Review → Refine</em></strong></blockquote><p>This is a much better way for me to work with AI.</p><p>I also learned that AI should <strong>augment my creativity, not replace it.</strong></p><p>AI can help generate ideas, organize information, and improve my work.</p><p>But I still need to decide what I actually want to create.</p><h3>A Simple Example From My Learning</h3><p>Imagine I want AI to write a LinkedIn post about learning AI.</p><p>A basic prompt could be:</p><p><em>“Write a LinkedIn post about AI.”</em></p><p>A better prompt could be:</p><p><em>“I’m a beginner full-stack developer learning AI through DataCamp. Write a short, natural LinkedIn post about what I learned. Keep it personal and beginner-friendly.”</em></p><p>The second prompt gives:</p><p><strong>Context + Audience + Goal + Style + Length</strong></p><p>That usually leads to a much more useful result.</p><h3>My Biggest Takeaway</h3><p>The biggest thing I learned from Prompt Engineering is that <strong>communicating with AI is a skill.</strong></p><p>It’s not just about knowing what to ask.</p><p>It’s about knowing how to explain what you need.</p><p>A good prompt can provide:</p><p><strong>Context</strong><br><strong>Clarity</strong><br><strong>Specificity</strong><br><strong>Examples</strong><br><strong>Constraints</strong><br><strong>Direction</strong></p><p>And when the first result isn’t right, I don’t necessarily need to start over.</p><p>I can simply refine the prompt.</p><h3>Final Thoughts</h3><p>Learning Prompt Engineering changed the way I think about AI.</p><p>Before:</p><p><em>“What can AI answer?”</em></p><p>Now:</p><p><em>“How can I communicate my goal clearly enough for AI to help me?”</em></p><p>That is a small change in thinking, but it makes a big difference.</p><p>As a beginner developer, I think this skill will be useful far beyond ChatGPT.</p><p>Whether I’m learning programming, debugging code, researching a topic, writing content, or working on a project, knowing how to communicate effectively with AI can make the process much more productive.</p><p>And this is only one part of my AI learning journey.</p><p>After learning how to communicate better with AI, the next interesting question is:</p><p><strong>What happens when AI can not only respond, but also reason, use tools, and take actions?</strong></p><p>That’s where <strong>AI Agents</strong> come in.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f46485e5bd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>