<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Suriya Kumar</title>
    <description>The latest articles on DEV Community by Suriya Kumar (@suriya_kumar_032b4d4e13f5).</description>
    <link>https://dev.to/suriya_kumar_032b4d4e13f5</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3645490%2F50825920-2399-459d-80d2-b0a2d2c9a07e.jpg</url>
      <title>DEV Community: Suriya Kumar</title>
      <link>https://dev.to/suriya_kumar_032b4d4e13f5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/suriya_kumar_032b4d4e13f5"/>
    <language>en</language>
    <item>
      <title>Production-Ready E-commerce Price Tracker API: A Xano AI Challenge Submission</title>
      <dc:creator>Suriya Kumar</dc:creator>
      <pubDate>Sun, 14 Dec 2025 08:19:53 +0000</pubDate>
      <link>https://dev.to/suriya_kumar_032b4d4e13f5/production-ready-e-commerce-price-tracker-api-a-xano-ai-challenge-submission-435i</link>
      <guid>https://dev.to/suriya_kumar_032b4d4e13f5/production-ready-e-commerce-price-tracker-api-a-xano-ai-challenge-submission-435i</guid>
      <description>&lt;h2&gt;
  
  
  🚀 The Xano AI-Powered Backend Challenge: Human Refinement
&lt;/h2&gt;

&lt;p&gt;I recently took on the Xano AI Challenge to build a production-ready e-commerce price tracker backend. While the Xano AI assistant provides an excellent starting foundation, the core logic for real-world functionality—like live price scraping and production-level security—required &lt;em&gt;Human Refinement&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;This post details how I refined the AI-generated backend to create a robust and functional Price Tracking API.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The AI Foundation
&lt;/h3&gt;

&lt;p&gt;The Xano AI successfully established the foundational elements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Database Schema:&lt;/em&gt; It created the necessary tables, including a product table and a product_price_history table for tracking price c…
[1:29 pm, 14/12/2025] Baby: ---
tags: [xano, xanoai, backend, webscraping, ]
---&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🚀 The Xano AI-Powered Backend Challenge: Human Refinement
&lt;/h2&gt;

&lt;p&gt;I recently took on the Xano AI Challenge to build a production-ready e-commerce price tracker backend. While the Xano AI assistant provides an excellent starting foundation, the core logic for real-world functionality—like live price scraping and production-level security—required &lt;em&gt;Human Refinement&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;This post details how I refined the AI-generated backend to create a robust and functional Price Tracking API.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The AI Foundation
&lt;/h3&gt;

&lt;p&gt;The Xano AI successfully established the foundational elements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Database Schema:&lt;/em&gt; It created the necessary tables, including a product table and a product_price_history table for tracking price changes over time.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Core Endpoints:&lt;/em&gt; It generated basic CRUD (Create, Read, Update, Delete) endpoints for managing product data.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Human Refinement #1: The Live Web Scraping Logic
&lt;/h3&gt;

&lt;p&gt;The major gap left by the AI was the ability to fetch &lt;em&gt;live prices&lt;/em&gt; from external e-commerce websites. I solved this by creating a dedicated, public endpoint.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;New Endpoint:&lt;/em&gt; GET /get_prouct_details_live &lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Web Scraping Implementation:&lt;/em&gt; Within the Function Stack, I added an &lt;em&gt;External API Request&lt;/em&gt; function. This function takes an e-commerce URL as input.

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Logic:&lt;/em&gt; It uses the input url to fetch the raw HTML content of the product page.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Data Storage:&lt;/em&gt; A subsequent &lt;em&gt;Database Request&lt;/em&gt; function saves the extracted price and a current timestamp into the product_price_history table.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Human Refinement #2: Production Readiness &amp;amp; Security
&lt;/h3&gt;

&lt;p&gt;To ensure the API is "production-ready," I implemented essential security and validation features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Input Validation:&lt;/em&gt; The endpoint requires a mandatory &lt;em&gt;url&lt;/em&gt; input of type text. This ensures the API cannot be called without a target URL.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Rate Limiting:&lt;/em&gt; To prevent misuse and secure the infrastructure, I implemented &lt;em&gt;Rate Limiting&lt;/em&gt; on the get_prouct_details_live endpoint. This prevents any single user from making excessive scraping requests in a short period.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;*&lt;/p&gt;

&lt;h2&gt;
  
  
  🔗 Try the API (Swagger Documentation)
&lt;/h2&gt;

&lt;p&gt;You can view the full documentation and test the get_prouct_details_live endpoint using the links below.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Resource&lt;/th&gt;
&lt;th&gt;Link&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;em&gt;API Base URL&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://x8ki-letl-twmt.n7.xano.io/api:Kqp69FYE" rel="noopener noreferrer"&gt;https://x8ki-letl-twmt.n7.xano.io/api:Kqp69FYE&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;em&gt;Swagger Docs (OpenAPI)&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;(&lt;a href="https://x8ki-letl-twmt.n7.xano.io/api:Kqp69FYE#/get_product_details_live/get_prouct_details_live%2Fget_product_details_live%7CGET" rel="noopener noreferrer"&gt;https://x8ki-letl-twmt.n7.xano.io/api:Kqp69FYE#/get_product_details_live/get_prouct_details_live%2Fget_product_details_live%7CGET&lt;/a&gt; URL-)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This challenge was a fantastic opportunity to merge the power of AI-generated architecture with the necessary detailed logic of Human Refinement to build a truly production-ready backend.&lt;/p&gt;

</description>
      <category>xano</category>
      <category>xanoai</category>
      <category>backend</category>
      <category>webscraping</category>
    </item>
    <item>
      <title>AI Agent on Kaggle</title>
      <dc:creator>Suriya Kumar</dc:creator>
      <pubDate>Thu, 04 Dec 2025 07:48:51 +0000</pubDate>
      <link>https://dev.to/suriya_kumar_032b4d4e13f5/ai-agent-on-kaggle-40a4</link>
      <guid>https://dev.to/suriya_kumar_032b4d4e13f5/ai-agent-on-kaggle-40a4</guid>
      <description>&lt;p&gt;✍️ Final Article Draft: English Translation&lt;br&gt;
Title: Building an AI Agent on Kaggle: A Journey Through the Confounding Challenges of a Generative Agent&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Introduction: Stepping into the World of AI Agents
When I first embarked on the AI Agents Intensive program, I realized that Agents were not just theoretical concepts but powerful frameworks capable of solving real-world problems.
For our Capstone Project, we chose to build a Smart Content Generator Agent. Its primary objective was to reduce the time spent on creating compelling advertising copy for social media. This article will detail the challenges I faced in designing our Agent—such as structuring the prompt and dealing with performance issues—and the profound lessons I learned in guiding an Agent to produce accurate and high-quality content.&lt;/li&gt;
&lt;li&gt;Agent Architecture and Tools
Our Agent's architecture is straightforward yet highly focused on the goal.

&lt;ul&gt;
&lt;li&gt;Agent’s Goal: To analyze the provided product features and desired tone, and instantly generate an engaging social media post.&lt;/li&gt;
&lt;li&gt;The Engine (LLM): We utilized Google's Gemini-2.5-Flash as the core LLM. Its high speed and efficiency made it ideal for a short-duration hackathon project.&lt;/li&gt;
&lt;li&gt;Tools: We made the conscious decision not to integrate any external tools (like Web Search or a Calculator). Since all necessary information for the ad copy was provided via the Prompt, avoiding tools significantly improved the Agent's Performance (Latency).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Challenges and Solutions
Making an AI Agent perform exactly as expected is the most critical part of development. Here are the key challenges I encountered and the solutions I implemented:
| The Challenge | The Solution |
|---|---|
| Output Consistency: The Agent often failed to maintain the desired 'Humorous' or 'Formal' tone, instead defaulting to a generic voice. | System Prompt Refinement: I provided a much clearer System Prompt at the beginning, defining the Agent as a "High-level Advertising Consultant." |
| Input Control: The Agent sometimes omitted critical input, such as the product name or the key features, in the final ad copy. | Forced Formatting: I strictly mandated in the prompt that "the output must contain the product name and all three specified features." |
| Performance (Latency): Initial tests using larger models resulted in wait times exceeding 15 seconds per output. | Model Selection: Choosing Gemini-2.5-Flash, which strikes the perfect balance between speed and quality, reduced the time-to-output to under 5 seconds. |&lt;/li&gt;
&lt;li&gt;Future Vision
Building on the success of this prototype, I plan to enhance the Agent further in the future:

&lt;ul&gt;
&lt;li&gt;Multimodality: Currently, the Agent only generates text. In the future, I intend to integrate its ability to generate corresponding images using models like Gemini 2.5 Pro, enabling it to create complete text-and-image social media posts simultaneously.&lt;/li&gt;
&lt;li&gt;Memory: I plan to add a Session Memory feature. This will allow the Agent to recall Brand Guidelines after learning them once, ensuring high Consistency in tone and style across multiple outputs.&lt;/li&gt;
&lt;li&gt;Self-Improvement: Finally, I plan to develop a Feedback Loop to automatically adjust the Agent’s prompt based on user feedback, enabling the Agent to continuously improve its own output quality.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Conclusion and Acknowledgements
The AI Agents Intensive Capstone Project was not just a competition; it was an invaluable lesson in understanding and deploying Generative AI Agents. Despite the challenges, we successfully harnessed the power of Gemini to create an efficient and accurate AI Copywriter. This experience has given me great confidence to build larger, more complex multi-tool Agents in the future.
Finally, I extend my heartfelt gratitude to the Kaggle Team and the Google Mentors for their guidance during this 5-day Intensive. This experience marks a significant turning point in my AI journey.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>aiagentsintensive</category>
    </item>
  </channel>
</rss>
