<?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 aakash gouda on Medium]]></title>
        <description><![CDATA[Stories by aakash gouda on Medium]]></description>
        <link>https://medium.com/@aksstar?source=rss-29bc3d9681c7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*f0o_BaueCELBXt7pHV-7SA.jpeg</url>
            <title>Stories by aakash gouda on Medium</title>
            <link>https://medium.com/@aksstar?source=rss-29bc3d9681c7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 01:37:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aksstar/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[Mastering Agent Evaluation: Simulating File Uploads with ADK Eval]]></title>
            <link>https://medium.com/google-cloud/mastering-agent-evaluation-simulating-file-uploads-with-adk-eval-4d44cd2db088?source=rss-29bc3d9681c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d44cd2db088</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[google-adk]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[agent-development-kit]]></category>
            <dc:creator><![CDATA[aakash gouda]]></dc:creator>
            <pubDate>Wed, 18 Mar 2026 09:52:51 GMT</pubDate>
            <atom:updated>2026-03-19T06:27:58.446Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0stXwTU-rPT3aHbZWiNrBg.png" /></figure><p>In the world of LLM agents, ensuring reliability is paramount. As agents become more dcomplex — handling multi-turn conversations, calling specialized tools, and processing diverse ata types — traditional testing methods often fall short. This is where <strong>ADK Eval (Agent Development Kit Evaluation)</strong> shines.</p><p>In this post, we’ll explore how to use ADK Eval to simulate one of the most common yet tricky agent interactions: <strong>File Uploads</strong>.</p><h3>What is ADK Eval?</h3><p><a href="https://google.github.io/adk-docs/evaluate/">ADK Eval</a> is a powerful suite designed to evaluate agents built with Google’s Agent Development Kit. It allows developers to:</p><p>1. <strong>Simulate User Interactions</strong>: Create multi-turn conversations to see how the agent responds.</p><p>2. <strong>Verify Tool Trajectories</strong>: Ensure the agent calls the right tools, with the right arguments, in the right order.</p><p>3.<strong>Benchmark Accuracy</strong>: Measure how closely the agent’s responses match expected outputs.</p><h3>Setting Up Your Environment</h3><p>To get started, you’ll need the ADK with evaluation dependencies:</p><pre>pip install &quot;google-adk[eval]&quot;</pre><h3><strong>Simulating File Uploads in Your Eval Set</strong></h3><p>The heart of ADK Eval is the `<em>.evalset.json</em>` file. This file contains “eval cases” that represent specific scenarios you want to test. To simulate a file upload, we use the `<em>inline_data</em>` field within a user message’s parts.</p><p>Here’s a snippet of an evaluation case where a user uploads a PDF:</p><pre>{<br>  &quot;eval_id&quot;: &quot;pdf_upload_test&quot;,<br>  &quot;conversation&quot;: [<br>    {<br>      &quot;user_content&quot;: {<br>        &quot;parts&quot;: [<br>          { &quot;text&quot;: &quot;I&#39;m uploading a document for you to check.&quot; },<br>          {<br>            &quot;inline_data&quot;: {<br>              &quot;data&quot;: &quot;JVBERi0xLjMKMyAwIG9iago8PC9UeXBlIC9QYWdl...&quot;, <br>              &quot;mime_type&quot;: &quot;application/pdf&quot;<br>            }<br>          }<br>        ],<br>        &quot;role&quot;: &quot;user&quot;<br>      },<br>      &quot;final_response&quot;: {<br>        &quot;parts&quot;: [{ &quot;text&quot;: &quot;The document has been successfully uploaded and is a PDF.&quot; }],<br>        &quot;role&quot;: &quot;model&quot;<br>      },<br>      &quot;intermediate_data&quot;: {<br>        &quot;tool_uses&quot;: [<br>          {<br>            &quot;name&quot;: &quot;check_uploaded_document&quot;,<br>            &quot;args&quot;: {},<br>            &quot;id&quot;: &quot;adk-tool-call-1&quot;<br>          }<br>        ]<br>      }<br>    }<br>  ]<br>}</pre><h3>Key Components:</h3><ul><li>`<strong>data</strong>`: The base64-encoded content of your file.</li><li>`<strong>mime_type</strong>`: The type of file (e.g., `application/pdf`, `text/plain`, `image/png`).</li><li>`<strong>tool_uses</strong>`: This is critical. It defines the **expected tool trajectory**. ADK Eval will fail the test if the agent doesn’t call `check_uploaded_document` exactly as specified.</li></ul><h3>Programmatic Simulation: Under the Hood</h3><p>If you want to simulate file uploads in a Python script (perhaps for custom testing or debugging), you can use the `InMemoryRunner`. Here is how you can construct a message with file data:</p><pre>import asyncio<br>from google.adk.runners import InMemoryRunner<br>from google.adk import Agent<br>from google.genai import types<br><br># Define a simple agent with a tool<br>async def process_file(tc):<br>    # Logic to handle the file<br>    return &quot;File processed successfully&quot;<br><br>my_agent = Agent(name=&quot;FileAgent&quot;, tools=[process_file])<br><br>async def simulate_upload():<br>    runner = InMemoryRunner(agent=my_agent)<br>    <br>    # Create content with a text part and an inline_data part<br>    content = types.Content(parts=[<br>        types.Part(text=&quot;Check this file:&quot;),<br>        types.Part(inline_data=types.Blob(<br>            data=b&quot;This is the raw byte content&quot;, <br>            mime_type=&quot;text/plain&quot;<br>        ))<br>    ], role=&quot;user&quot;)<br>    <br>    async for event in runner.run(user_id=&quot;user1&quot;, session_id=&quot;session1&quot;, new_message=content):<br>        if event.type == &quot;content&quot;:<br>            print(f&quot;Agent: {event.content.parts[0].text}&quot;)<br><br>asyncio.run(simulate_upload())</pre><h3><strong>Running the Evaluation</strong></h3><p>Once your evaluation set is ready, running it is a single command:</p><pre>adk eval my_agent_dir my_eval_set.json - print_detailed_results</pre><p>ADK Eval will output two primary metrics:</p><p>1. <strong>Tool Trajectory Score</strong>: Did the agent follow the plan? (Target: 1.0)</p><p>2. <strong>Response Match Score</strong>: Does the natural language response match your expectations? (Threshold: usually 0.8)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I7iT5GWc_R0QRf9UvqxM2Q.png" /></figure><h3>Conclusion</h3><p>Simulating file uploads in ADK Eval allows you to move beyond simple text-based unit tests and into the realm of complex, data-driven agentic workflows. By defining expected tool calls and providing real file data, you can build agents that you — and your users — can truly trust.</p><p><strong>**Happy Coding!**</strong></p><p>Thanks for reading.</p><p><em>Your feedback and questions are highly appreciated. You can connect with me via </em><a href="https://www.linkedin.com/in/aakash-gouda/">LinkedIn</a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d44cd2db088" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/mastering-agent-evaluation-simulating-file-uploads-with-adk-eval-4d44cd2db088">Mastering Agent Evaluation: Simulating File Uploads with ADK Eval</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gemini 2.5 Flash: The AI Backbone for Smarter Document Processing]]></title>
            <link>https://medium.com/google-cloud/gemini-2-5-flash-the-ai-backbone-for-smarter-document-processing-6b8f4a18135a?source=rss-29bc3d9681c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b8f4a18135a</guid>
            <category><![CDATA[ai-document-processing]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[document-processing]]></category>
            <dc:creator><![CDATA[aakash gouda]]></dc:creator>
            <pubDate>Wed, 16 Jul 2025 02:47:50 GMT</pubDate>
            <atom:updated>2025-07-16T04:00:44.105Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s data-driven world, information often comes embedded within images — from scanned documents and receipts to product labels and social media graphics. Extracting, validating, and enhancing this visual data programmatically can be a significant challenge. Think about it: a blurry photo of an invoice, a document scanned sideways, or a receipt with unreadable text. How do you automate processing these?</p><p>Enter <strong>Google’s Gemini 2.5 Flash</strong>, a powerful and highly efficient multimodal model. It’s designed to understand and process information across various modalities, including text and images, at remarkable speed and cost-effectiveness. In this post, I’ll walk you through a practical application: an intelligent image processing pipeline built with Gemini 2.5 Flash, wrapped in a user-friendly Gradio interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pbUiEQ80lWHRjgNK" /></figure><h3>Business Value</h3><p>Implementing this intelligent document processing pipeline powered by Gemini 2.5 Flash offers substantial advantages for financial institutions:</p><ul><li><strong>Significant Cost Reduction:</strong> Automates tasks like data entry and validation, drastically reducing manual labor needs and associated operational costs.</li><li><strong>Accelerated Efficiency &amp; Speed: </strong>Enables faster processing of scanned documents, leading to quicker client onboarding, expedited loan approvals, and more rapid transaction processing.</li><li><strong>Enhanced Accuracy &amp; Compliance: </strong>Minimizes human error in data extraction and provides automated verification, ensuring higher data quality and consistency crucial for meeting regulatory requirements (e.g., KYC, AML).</li><li><strong>Improved Customer Experience:</strong> Streamlined backend processes result in faster service for customers, reducing friction in applications and inquiries.</li><li><strong>Unmatched Scalability: </strong>The AI-driven pipeline can efficiently handle massive volumes of documents without a proportional increase in headcount, supporting growth phases.</li><li><strong>Better Fraud Detection &amp; Risk Management: </strong>More accurate and validated data provides a stronger foundation for analytics, aiding in the identification of anomalies and potential fraudulent activities.</li><li><strong>Strategic Resource Reallocation:</strong> By offloading repetitive, low-value tasks to AI, highly skilled staff can be reallocated to more complex, strategic, and customer-facing roles.</li></ul><h3>The Challenge: Taming Real-World Image Data</h3><p>Traditional Optical Character Recognition (OCR) tools are great, but they often struggle with imperfections inherent in real-world images. Financial documents, in their real-world form, are rarely pristine. This presents significant hurdles for automation:</p><ol><li><strong>Unreliable Text:</strong> Scans often suffer from low resolution, poor lighting, or smudges, making crucial text illegible.</li><li><strong>Incorrect Orientation:</strong> Documents are frequently scanned upside down or sideways, demanding manual correction before any OCR can occur.</li><li><strong>Information Overload:</strong> A large document might contain only a few lines of relevant data, making it inefficient to process the entire image.</li><li><strong>Suboptimal Quality:</strong> Images might be dim, noisy, or lack sharpness, hindering accurate data extraction.</li><li><strong>Extraction &amp; Verification Accuracy:</strong> Beyond merely recognizing text, financial operations demand precise extraction of specific fields (like client names, account numbers, PAN details, dates of birth) and rigorous verification of their presence and validity.</li></ol><p>Our intelligent image processing pipeline, powered by Gemini 2.5 Flash, directly tackles these challenges systematically, ensuring data quality and operational efficiency.</p><h3>Our Intelligent Image Processing Pipeline</h3><p>This application orchestrates a series of intelligent steps to clean, analyze, and extract structured data from images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MCTG_9cFaBkWgeZT2-P4SA.png" /></figure><h3>1. Readability Check: The First Gatekeeper</h3><p>Before diving deep, we first assess if the text in the image is even <strong>readable</strong>. Gemini 2.5 Flash analyzes the image and provides a boolean is_readable flag along with a reason. This helps us quickly identify problematic images that might not yield good extraction results, saving computational resources later.</p><pre>{<br>&quot;is_readable&quot;: true,<br>&quot;reason&quot;: &quot;The text is clear and well-lit, making it easily legible.&quot;<br>}</pre><h3>2. Auto-Rotation: Getting the Right Perspective</h3><p>One of the most common issues is incorrect image orientation. Our pipeline leverages Gemini 2.5 Flash to <strong>detect if an image needs rotation</strong> and suggests the precise angle (0, 90, 180, or 270 degrees) required to make it upright. This is crucial for accurate subsequent processing.</p><pre>{<br>&quot;should_rotate&quot;: true,<br>&quot;rotation_angle&quot;: &quot;270&quot;,<br>&quot;reason&quot;: &quot;The text and objects appear sideways; a 270-degree rotation will orient them correctly.&quot;<br>}</pre><h3>3. Smart Cropping with Bounding Boxes</h3><p>Why process the entire image if only a part is relevant? After ensuring correct orientation, the application asks <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/bounding-box-detection">Gemini 2.5 Flash to <strong>identify bounding boxes</strong> </a>around significant text regions or main objects. We then intelligently crop the image to focus on the largest detected area, thereby reducing noise and processing overhead for subsequent steps. This is particularly useful for documents where the relevant information is contained within a specific section.</p><p>The BoundingBox Pydantic model helps structure this output:</p><pre>class BoundingBox(BaseModel):<br>box_2d: list[int] # [y_min, x_min, y_max, x_max] (normalized 0–1000)<br>label: str</pre><h3>4. Enhancement Suggestions: Improving Image Quality</h3><p>Sometimes, an image is technically readable but could be better. Our pipeline analyzes the image and provides <strong>suggestions for enhancements</strong> such as brightening, sharpening, contrast adjustment, upscaling, or noise removal. This proactive step helps a user decide if pre-processing with image editing tools would improve the overall data quality.</p><pre>{<br>&quot;suggestions&quot;: [&quot;brighten&quot;, &quot;sharpen&quot;, &quot;noise removal&quot;]<br>}</pre><h3>5. Structured Data Extraction: Getting What You Need</h3><p>This is where the rubber meets the road. Using the optimally oriented and potentially cropped image, we instruct Gemini 2.5 Flash to <strong>extract specific data fields</strong> (e.g., “Name,” “Father’s Name,” “PAN Number,” “Date of birth”) into a structured JSON format. The power of response_schema ensures the model adheres to a predictable output, making integration seamless.</p><pre>{<br>&quot;name&quot;: &quot;JOHN DOE&quot;,<br>&quot;father_s_name&quot;: &quot;RICHARD DOE&quot;,<br>&quot;pan_number&quot;: &quot;ABCDE1234F&quot;,<br>&quot;date_of_birth&quot;: &quot;1990–01–01&quot;<br>}“name”: “JOHN DOE”,</pre><h3>6. Intelligent Data Verification: Trust, But Verify</h3><p>Extracted data is only useful if it’s accurate. The final step involves feeding the extracted JSON back to Gemini 2.5 Flash to <strong>verify the presence and validity</strong> of the key fields. The model assesses if a field contains meaningful data (not “N/A” or empty) and returns a simple “Yes” or “No” for each. This provides a quick confidence score for the extracted information.</p><pre>{<br>&quot;Name&quot;: &quot;Yes&quot;,<br>&quot;Father&#39;s Name&quot;: &quot;Yes&quot;,<br>&quot;PAN Number&quot;: &quot;Yes&quot;,<br>&quot;Date of birth&quot;: &quot;No&quot;<br>}</pre><h3>Gradio UI: Bringing it to Life</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*06R0zF1TywUHA3S_" /><figcaption>Image source : <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fadarshc.com%2Findex%2Fent%2Fdocument%2Fpan%2Fpan&amp;psig=AOvVaw1e78iovtDK1HDVBcVYrvWZ&amp;ust=1752724716016000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBgQjhxqFwoTCIiVosK-wI4DFQAAAAAdAAAAABAE">https://adarshc.com/</a> (Fake PAN)</figcaption></figure><p>To make this powerful backend accessible, we use <strong>Gradio</strong>. It allows us to quickly build an interactive web interface where users can:</p><ul><li>Upload an image.</li><li>Toggle features like rotation analysis, cropping, enhancement analysis, data extraction, and validation.</li><li>See the raw JSON outputs from each analysis step.</li><li>View the rotated and cropped images.</li><li>See the extracted data presented in text boxes, visually highlighted (green for verified, red for unverified) with tick or cross marks for instant feedback.</li></ul><p>The custom CSS ensures a clear visual distinction for validated fields, making the user experience intuitive.</p><h3>Conclusion</h3><p>This serves as a clear testament to the immense potential of Gemini 2.5 Flash in building sophisticated, reliable, and intelligent solutions for document processing. By combining its deep multimodal understanding with robust structured output capabilities, financial institutions can significantly automate tasks that were once manual, complex, and prone to human error. This not only boosts efficiency but also enhances accuracy and compliance.</p><p>The future of financial document handling is here, and it’s powered by intelligent AI. Are you ready to explore how Gemini 2.5 Flash can streamline your operations?</p><p>Link to <a href="https://github.com/aksstar/IntelligentDocumentProcessor">full code.</a></p><p>Thanks for reading.</p><p><em>Your feedback and questions are highly appreciated. You can connect with me via </em><a href="https://www.linkedin.com/in/aakash-gouda/">LinkedIn</a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b8f4a18135a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/gemini-2-5-flash-the-ai-backbone-for-smarter-document-processing-6b8f4a18135a">Gemini 2.5 Flash: The AI Backbone for Smarter Document Processing</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gemini and Imagen3: Revolutionizing Marketing Video Creation with Google Cloud]]></title>
            <link>https://medium.com/google-cloud/gemini-and-imagen3-revolutionizing-marketing-video-creation-with-google-cloud-6b2b2ddc4fe3?source=rss-29bc3d9681c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b2b2ddc4fe3</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[imagen]]></category>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[generative-ai]]></category>
            <dc:creator><![CDATA[aakash gouda]]></dc:creator>
            <pubDate>Fri, 22 Nov 2024 00:59:50 GMT</pubDate>
            <atom:updated>2024-11-22T00:59:50.589Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s fast-paced digital landscape, creating impactful marketing videos quickly and efficiently has become a business necessity. Thanks to advancements in AI and cloud technologies, tools like <strong>Google Gemini</strong> and <strong>Imagen3</strong> are empowering creators and marketers to generate engaging content effortlessly. In this blog, we’ll explore how these tools, combined with Python and Gradio, can be used to automate video generation based on user inputs like product categories and logos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qd-GMBur4eUTeVpQ9bOO5g.png" /></figure><h3>What are Gemini and Imagen3?</h3><h3>Gemini</h3><p>Gemini is Google’s state-of-the-art AI model, designed to excel in multimodal tasks such as text, images, and more. With Gemini, generating creative ideas, crafting personalized marketing messages, and synthesizing media assets is faster and more precise. Its natural language understanding ensures that even complex prompts yield highly relevant outputs.</p><h3>Imagen3</h3><p>Imagen3, another innovative tool from Google, focuses on high-quality image and video generation. Imagen3 can transform textual descriptions into visually stunning images or short animations, enabling marketers to create tailored visuals for ads, social media, and campaigns.</p><h3>Automating Marketing Video Creation</h3><p>By combining Gemini’s storytelling capabilities with Imagen3’s visual prowess, it’s possible to automate the entire video production pipeline. Let’s break down how the Python-based application, shown in the code above, achieves this.</p><h3>1. Storyboard Generation with Gemini</h3><p>The first step in creating a marketing video is drafting the storyboard. Gemini is tasked with understanding the category and product name to generate a coherent narrative.</p><p><strong>Example:</strong></p><ul><li><strong>Input</strong>: <em>Category: Audio Device | Product: Pixel Buds 2</em></li><li><strong>Output</strong>: A sequence of scenes featuring:</li><li>A person jogging in a park, showcasing the Buds.</li><li>The <em>Pixel Buds</em> syncing with a mobile app.</li><li>Highlighting features.</li></ul><p>This is achieved via a helper function generate_story, which interacts with Gemini to return a structured storyboard in JSON format.</p><pre>[<br>0: {<br>scene_number: &quot;1&quot;,<br>Scene Description: &quot;Close-up shot of Pixel Buds 2 nestled in<br>their charging case.&quot;,<br>camera_movement_description: &quot;Slow zoom in on the Pixel Buds<br>2, starting with the case closed and then opening to reveal<br>the earbuds.&quot;,<br>Text on Video: [<br>0: &quot;Crystal-clear audio&quot; ,<br>1: &quot;Adaptive Noise Cancellation&quot; ,<br>2: &quot;Long-lasting battery&quot;<br>],<br>Narration Text: &quot;Introducing the Google Pixel Buds 2.<br>Experience unparalleled audio quality, wherever your day takes<br>you. Immerse yourself in rich soundscapes with crystal-clear<br>audio and powerful bass.&quot;,<br>narrator_tone: &quot;warm&quot;,<br>transition: &quot;fade&quot;,<br>Narrator Gender: &quot;female&quot;,<br>text_effect: &quot;fade&quot;<br>} ,<br>1: {<br>scene_number: &quot;2&quot;,<br>Scene Description: &quot;Pixel Buds 2 shown beside a laptop<br>playing music.&quot;,<br>camera_movement_description: &quot;Pan across the laptop screen to<br>the Pixel Buds 2 case.&quot;,<br>Text on Video: [<br>0: &quot;Seamless Connectivity&quot; ,<br>1: &quot;Fast Pairing&quot; ,<br>2: &quot;Multi-device support&quot;<br>],<br>Narration Text: &quot;Seamlessly connect to your devices with the<br>latest Bluetooth technology. Enjoy a stable connection and<br>effortless pairing. Switch between your laptop and phone<br>without missing a beat. Making multitasking a breeze.&quot;,<br>narrator_tone: &quot;informative&quot;,<br>transition: &quot;wipe&quot;,<br>Narrator Gender: &quot;male&quot;,<br>text_effect: &quot;scroll&quot;<br>} ,<br>2: {<br>scene_number: &quot;3&quot;,<br>Scene Description: &quot;Pixel Buds 2 on a table beside a phone<br>showing map application&quot;,<br>camera_movement_description: &quot;Camera zooms out, revealing a<br>smartphone with navigation open, signifying their use for<br>travel and commuting.&quot;,<br>Text on Video: [<br>0: &quot;Real-time translation&quot; ,<br>1: &quot;In-ear detection&quot; ,<br>2: &quot;Comfortable fit&quot;<br>],<br>Narration Text: &quot;Break down language barriers with real-time<br>translation, directly in your ear. Communicate effortlessly<br>with people from all over the world. Experience the freedom to<br>connect wherever you roam.&quot;,<br>narrator_tone: &quot;exciting&quot;,<br>transition: &quot;zoom&quot;,<br>Narrator Gender: &quot;female&quot;,<br>text_effect: &quot;pop&quot;<br>}]</pre><h3>2. Visual Creation with Imagen3</h3><p>Imagen3 converts the scenes from the storyboard into images or short animations. For each scene:</p><ul><li>Textual descriptions are passed to Imagen3 to generate visuals or GIFs.</li><li>These visuals are stored temporarily and integrated into video clips.</li></ul><p>The function utils.get_generated_image acts as a placeholder for Imagen3’s capabilities.</p><h3>3. Scene Video Assembly</h3><p>Each scene’s visual and audio is compiled into short video clips:</p><ul><li><strong>Visual Effects</strong>: Features like zoom-in effects and transitions (e.g., fades) enhance the video’s appeal.</li><li><strong>Audio Narration</strong>: Scene descriptions are converted into speech using text-to-speech capabilities.</li></ul><p>These clips are created in parallel using Python’s multiprocessing to accelerate processing.</p><h3>4. Adding Background Music and Branding</h3><p>To complete the video:</p><ul><li>A background music track is either uploaded or selected from a default library.</li><li>Logos are added for branding, ensuring consistent identity across all marketing materials.</li></ul><p>The final clips are combined into a single cohesive video with smooth transitions.</p><h3>5. User-Friendly Gradio Interface</h3><p>The entire process is wrapped into an intuitive Gradio interface, making it accessible even for non-technical users:</p><ol><li>Input the <strong>category</strong> and <strong>product name</strong>.</li><li>Optionally upload background music and a logo.</li><li>Click “Generate Storyboard” and then “Generate Video.”</li></ol><p>The output is a polished marketing video ready for use.</p><p>Checkout sample video <a href="https://github.com/aksstar/Marketing_Video_Creation/blob/main/Pixel%20Buds.mp4">here</a></p><h3>How Google Cloud Enhances This Workflow</h3><h3>1. Scalability</h3><p>Using Google Cloud infrastructure ensures that even resource-intensive tasks, such as generating high-resolution visuals or processing large datasets, can be handled effortlessly.</p><h3>2. Seamless Integration</h3><p>Both Gemini and Imagen3 are designed to integrate with other Google Cloud services, such as Cloud Storage for storing assets or AI/ML services for further customization.</p><h3>3. Cost Efficiency</h3><p>Cloud-based pay-as-you-go models allow businesses to only pay for the resources they use, making this solution accessible for startups and enterprises alike.</p><h3>Applications in Marketing</h3><h3>1. Product Ads</h3><p>Automate the creation of high-quality video ads for products, tailored for different demographics and platforms.</p><h3>2. Social Media Campaigns</h3><p>Generate engaging video content for platforms like Instagram, TikTok, and YouTube within minutes.</p><h3>3. Personalized Customer Engagement</h3><p>Create personalized videos for email campaigns or loyalty programs by dynamically adapting the visuals and narration.</p><h3>Conclusion</h3><p>By leveraging the power of <strong>Google Gemini and Imagen3</strong>, businesses can streamline their video creation process, saving time and resources while achieving superior quality. Combined with tools like Python and Gradio, these technologies democratize content creation, making professional-grade videos accessible to everyone.</p><p>The future of marketing is automated, creative, and efficient — and tools like Gemini and Imagen3 are leading the way.</p><p><strong>Ready to revolutionize your marketing strategy? Start exploring Gemini and Imagen3 today!</strong></p><p>Link to <a href="https://github.com/aksstar/Marketing_Video_Creation">full code</a>.</p><p>Thanks for reading.</p><p><em>Your feedback and questions are highly appreciated. You can connect with me via </em><a href="https://www.linkedin.com/in/aakash-gouda/">LinkedIn</a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b2b2ddc4fe3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/gemini-and-imagen3-revolutionizing-marketing-video-creation-with-google-cloud-6b2b2ddc4fe3">Gemini and Imagen3: Revolutionizing Marketing Video Creation with Google Cloud</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking Codebase Insights with Vertex AI Gemini 1.5 Pro: A Comprehensive Guide]]></title>
            <link>https://medium.com/google-cloud/unlocking-codebase-insights-with-vertex-ai-gemini-1-5-pro-a-comprehensive-guide-1f40a6f488e9?source=rss-29bc3d9681c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f40a6f488e9</guid>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[vertex-ai]]></category>
            <dc:creator><![CDATA[aakash gouda]]></dc:creator>
            <pubDate>Fri, 10 May 2024 10:16:57 GMT</pubDate>
            <atom:updated>2024-05-10T10:16:57.525Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Vertex AI Gemini 1.5 Pro, with its remarkable 1 million token context window, revolutionizes code analysis. This advanced large language model empowers developers to gain deeper insights, streamline workflows, and enhance code quality. This blog delves into the capabilities of Gemini 1.5 Pro, demonstrating its prowess in various code-related tasks.</p><p>The tutorial utilizes the “Online Boutique” GitHub repository, a microservices demo application, as the codebase for analysis. After setting up the environment and installing necessary libraries, the code is processed to create an index and extract relevant text for Gemini 1.5 Pro to analyze.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xBPBo2-MHYXAMQVJE_KNCA.png" /></figure><h3>Harnessing Gemini 1.5 Pro’s Power</h3><p><strong>Codebase Summarization:</strong> Say goodbye to manually sifting through thousands of lines of code. Gemini 1.5 Pro can automatically generate concise and informative summaries of your codebase, highlighting key components, functionalities, and relationships. This saves you valuable time and provides a high-level overview for onboarding new developers or revisiting older projects.</p><pre>prompt = &quot;&quot;&quot;<br>  Give me a summary of this codebase, and tell me the top 3 things that I can learn from it.<br>&quot;&quot;&quot;</pre><p><strong>Developer Onboarding:</strong> Generating a comprehensive getting started guide becomes a breeze. Gemini 1.5 Pro can create step-by-step instructions and documentation, simplifying the onboarding process for new developers.</p><pre>prompt = &quot;&quot;&quot;<br>  Provide a getting started guide to onboard new developers to the codebase.<br>&quot;&quot;&quot;</pre><p><strong>Bug Detection</strong>: Uncovering critical issues is crucial for maintaining code quality. Gemini 1.5 Pro analyzes the codebase and pinpoints the top three most severe bugs, aiding developers in prioritizing fixes.</p><pre>prompt = &quot;&quot;&quot;<br>  Find the top 3 most severe issues in the codebase.<br>&quot;&quot;&quot;</pre><p><strong>Bug Fixing</strong>: Not only can Gemini 1.5 Pro identify bugs, it can also suggest code fixes. By analyzing the code and understanding the context, it offers potential solutions to resolve identified issues.</p><pre>prompt = &quot;&quot;&quot;<br>  Find the most severe bug in the codebase that you can provide a code fix for.<br>&quot;&quot;&quot;</pre><p><strong>Feature Implementation</strong>: Implementing new features can be streamlined with Gemini 1.5 Pro’s function-calling capabilities. By leveraging tools like GitHub issue extraction, the model can understand feature requests and generate code for their implementation.</p><pre>prompt = (<br>                &quot;Implement the following feature request&quot;<br>                + FEATURE_REQUEST_URL<br>                + &quot;\n&quot;<br>                + issue_data[&quot;body&quot;]<br>            )</pre><p><strong>Troubleshooting Guide</strong>: Creating a troubleshooting guide becomes efficient. Gemini 1.5 Pro analyzes common issues and provides step-by-step solutions, assisting developers in resolving problems effectively.</p><pre>prompt = &quot;&quot;&quot;<br>    Provide a troubleshooting guide to help resolve common issues.<br>&quot;&quot;&quot;</pre><p><strong>Reliability Enhancement:</strong> Gemini 1.5 Pro suggests best practices and improvements to enhance application reliability. By referencing external resources and analyzing code structure, it recommends strategies to ensure stable performance.</p><pre>prompt = &quot;&quot;&quot;<br>  How can I make this application more reliable? Consider best practices from https://www.r9y.dev/<br>&quot;&quot;&quot;</pre><p><strong>Security Enhancement:</strong> Security is paramount. Gemini 1.5 Pro helps identify potential vulnerabilities and recommends best practices to make the application more secure.</p><pre>prompt = &quot;&quot;&quot;<br>  How can you secure the application?<br>&quot;&quot;&quot;</pre><p><strong>Knowledge Reinforcement: </strong>Solidify your understanding of the codebase with a quiz generated by Gemini 1.5 Pro. The model creates questions based on the concepts used in the code, promoting knowledge retention and comprehension.</p><pre>prompt = &quot;&quot;&quot;<br>  Create a quiz about the concepts used in my codebase to help me solidify my understanding.<br>&quot;&quot;&quot;</pre><p><strong>Component Tutorials:</strong> Creating quickstart tutorials for specific components is simplified. Gemini 1.5 Pro provides end-to-end guidance, including configuration steps and highlighting key capabilities within the application context.</p><pre>prompt = &quot;&quot;&quot;<br>  Please write an end-to-end quickstart tutorial that introduces AlloyDB,<br>  shows how to configure it with the CartService,<br>  and highlights key capabilities of AlloyDB in context of the Online Boutique application.<br>&quot;&quot;&quot;</pre><p><strong>Git Changelog Generation:</strong> Understanding changes between Git commits is essential. Gemini 1.5 Pro analyzes Git diffs and summarizes the most important aspects of the changes, providing developers with clear insights into code evolution.</p><pre>prompt = &quot;&quot;&quot;<br>  Given the below git diff output, Summarize the important changes made.<br>&quot;&quot;&quot;</pre><h3><strong>Conclusion</strong></h3><p>Vertex AI Gemini 1.5 Pro empowers developers to analyze codebases with unprecedented efficiency and depth. From summarization and bug fixing to feature implementation and security enhancement, the model offers a comprehensive suite of capabilities to optimize workflows and enhance code quality. By leveraging Gemini 1.5 Pro, developers can unlock valuable insights and streamline the development process, ultimately building more robust and secure applications.</p><p>Special Thanks to <a href="https://medium.com/u/5644dc670e09">Eric Dong</a> for code and prompts development.</p><p>Link to <a href="https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/use-cases/code/analyze_codebase_with_gemini_1_5_pro.ipynb">full code</a>.</p><h3>References:</h3><ul><li><a href="https://blog.google/technology/ai/google-gemini-next-generation-model-february-2024/">https://blog.google/technology/ai/google-gemini-next-generation-model-february-2024/</a></li><li><a href="https://cloud.google.com/vertex-ai?hl=en">https://cloud.google.com/vertex-ai?hl=en</a></li></ul><p>Thanks for reading.</p><p><em>Your feedback and questions are highly appreciated. You can connect with me via </em><a href="https://www.linkedin.com/in/aakash-gouda/">LinkedIn</a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f40a6f488e9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/unlocking-codebase-insights-with-vertex-ai-gemini-1-5-pro-a-comprehensive-guide-1f40a6f488e9">Unlocking Codebase Insights with Vertex AI Gemini 1.5 Pro: A Comprehensive Guide</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Harnessing Vertex AI Embeddings and LangChain for Smart Document Search]]></title>
            <link>https://medium.com/google-cloud/harnessing-vertex-ai-embeddings-and-langchain-for-smart-document-search-62b8a50e5d3f?source=rss-29bc3d9681c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/62b8a50e5d3f</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[vertex-ai]]></category>
            <category><![CDATA[question-answering]]></category>
            <category><![CDATA[gemini]]></category>
            <dc:creator><![CDATA[aakash gouda]]></dc:creator>
            <pubDate>Wed, 06 Mar 2024 07:39:34 GMT</pubDate>
            <atom:updated>2024-03-07T02:54:56.418Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever wished you could instantly find that one critical piece of information buried within a mountain of PDFs, presentations, spreadsheets, and documents? Traditional keyword search can only get you so far. This blog post dives into a powerful code solution that uses advanced language models (Gemini and Text Bison) and semantic embeddings to truly understand your documents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y6JBoRJveUu2Hp00" /><figcaption>Picture of a cute robot trying to find answers in document generated using Imagen 2</figcaption></figure><p><strong>Under the Hood</strong></p><ul><li><strong>LangChain:</strong> The backbone of this project, providing a flexible way to chain together different AI models.</li><li><strong>Vertex AI Embeddings:</strong> This Google service generates text embeddings, allowing us to compare documents with our search query based on meaning, not just keywords.</li><li><strong>Chroma:</strong> A specialized database designed to efficiently store and retrieve the embeddings created by Vertex AI.</li><li><strong>Vertex AI (LLM):</strong> A large language model used to generate comprehensive and human-like answers from the most relevant document sections.</li></ul><p><strong>Dive in Details :</strong></p><p><strong>Embedding Creation and Storage</strong></p><ol><li><strong>Generating Embeddings:</strong> The process begins when Vertex AI Embeddings analyzes text chunks from our documents. It transforms these chunks into multi-dimensional vectors (embeddings) that encapsulate their meaning.</li><li><strong>Storing Embeddings:</strong> Chroma, our specialized vector database, comes into play. It is designed to efficiently store and manage the embeddings created by Vertex AI. Chroma’s optimized structure allows us to rapidly retrieve the most relevant embeddings when a user submits a search query.</li></ol><p><strong>RAG Architecture (Retrieval-Augmented Generation)</strong></p><p>At the heart of our document search system lies the RAG (Retrieval-Augmented Generation) architecture. This framework empowers our system to go beyond simple document retrieval and provide comprehensive answers to user queries. Here’s how it works:</p><ol><li><strong>Retrieval:</strong> When a user asks a question, the system first uses the Chroma vector database to identify the most semantically relevant documents. This retrieval step leverages the embeddings we generated earlier. The ContextualCompressionRetriever is set up, utilizing our LLMChainFilter as its compressor and our vector_index (powered by Chroma) as its base retriever for finding relevant documents.</li><li><strong>Generation:</strong> A large language model (LLM) from Vertex AI processes the retrieved documents. The LLM’s ability to understand and generate human-like text enables it to synthesize information from the documents and formulate a concise and informative answer directly addressing the user’s question.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kOEEgoffOdzH-x-1" /></figure><p><strong>Code Workflow</strong></p><ol><li><strong>File Loading:</strong> The process_file function handles loading various document types (PDF, Word, PowerPoint, CSV, plain text) using LangChain’s document loaders.</li><li><strong>Text Splitting:</strong> Documents are split into smaller chunks for efficient embedding generation.</li><li><strong>Embedding Generation:</strong> Vertex AI Embeddings transforms the text chunks into semantic embeddings.</li><li><strong>Embedding Storage:</strong> Chroma stores the generated embeddings.</li><li><strong>Search:</strong> When a user enters a query, the system finds the most semantically relevant documents using Chroma.</li><li><strong>Response Generation:</strong> A Vertex AI LLM processes the retrieved documents to generate a concise and informative answer.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Yfyy7XCS2t15mYkh" /></figure><p><strong>Real-World Use Cases</strong></p><ul><li><strong>Technical Support:</strong> Quickly find solutions in product manuals.</li><li><strong>Research:</strong> Analyze vast collections of academic papers.</li><li><strong>Company Intranet:</strong> Search internal policies and procedures.</li></ul><p>Imagine a customer support team with a vast database of manuals and solution guides. This system allows them to find relevant information rapidly. Or, researchers using it to comb through papers for insights!</p><p><strong>Experience the Ease of Use</strong></p><ul><li>Upload your document (PDF, Word, PowerPoint, CSV, or plain text) to the system.</li><li>Ask a question related to the document’s content.</li><li>The system will intelligently analyze your document and provide a concise and informative answer.</li></ul><p><strong>Demo :</strong></p><p><a href="https://github.com/aksstar/Smart-Document-Search/tree/main">Code link</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*X82AgDKwSg95aCoi" /></figure><p><strong>Conclusion and Future Improvements</strong></p><p>This code provides a solid foundation for building powerful document search systems. Potential enhancements include integrating additional file formats, refining the question-answering capabilities, and exploring more sophisticated embedding models.</p><p><strong>References</strong> :</p><ul><li><a href="https://github.com/GoogleCloudPlatform/generative-ai/blob/main/language/use-cases/document-qa/question_answering_documents_langchain_matching_engine.ipynb">https://github.com/GoogleCloudPlatform/generative-ai/blob/main/language/use-cases/document-qa/question_answering_documents_langchain_matching_engine.ipynb</a></li><li><a href="https://python.langchain.com/docs/integrations/llms/google_vertex_ai_palm">https://python.langchain.com/docs/integrations/llms/google_vertex_ai_palm</a></li><li><a href="https://api.python.langchain.com/en/latest/community_api_reference.html#module-langchain_community.document_loaders">https://api.python.langchain.com/en/latest/community_api_reference.html#module-langchain_community.document_loaders</a></li></ul><h3>Thanks for reading.</h3><p><em>Your feedback and questions are highly appreciated. You can connect with me via </em><a href="https://www.linkedin.com/in/aakash-gouda/">LinkedIn</a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62b8a50e5d3f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/harnessing-vertex-ai-embeddings-and-langchain-for-smart-document-search-62b8a50e5d3f">Harnessing Vertex AI Embeddings and LangChain for Smart Document Search</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Medical Entity Extraction on Google Cloud: A Comprehensive Guide]]></title>
            <link>https://medium.com/google-cloud/medical-entity-extraction-on-google-cloud-a-comprehensive-guide-898d7a5fc173?source=rss-29bc3d9681c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/898d7a5fc173</guid>
            <category><![CDATA[medpalm]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[entity-extraction]]></category>
            <dc:creator><![CDATA[aakash gouda]]></dc:creator>
            <pubDate>Fri, 26 Jan 2024 07:33:58 GMT</pubDate>
            <atom:updated>2024-01-26T08:37:04.361Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Lb5m3If-nHBKezvX.png" /></figure><p>In the vast landscape of healthcare data, extracting meaningful medical entities is akin to finding needles in a haystack.Extracting crucial medical entities, like medication names, dosages, and diagnoses, from unstructured text is a cornerstone of healthcare data analysis.</p><p>In this blog post, we’ll delve into three distinct approaches for medical entity extraction: utilizing Healthcare NL APIs, harnessing the power of Large Language Models (LLMs), and employing open-source models. Let’s explore the strengths and considerations of each method.</p><h3><strong>Entity Extraction using Healthcare NL API</strong></h3><p>The Healthcare Natural Language API is a specialized machine learning tool within Google Cloud’s Healthcare API that understands and processes unstructured medical text (like doctor’s notes, clinical reports, etc.). It produces organized, structured data about the medical concepts found in the analyzed text. This data is much easier to use for further analysis and automation tasks than the original raw text.</p><p><strong>Capabilities:</strong></p><p><strong>Entity Extraction</strong>: Identifies and pulls key medical items:</p><ul><li>Diseases</li><li>Medications</li><li>Medical procedures</li><li>Medical devices</li><li>Important attributes of these concepts (e.g., dosage, frequency, side effects)</li></ul><p><strong>Concept Mapping</strong>: Links identified entities to standard medical vocabularies. This is crucial for making the extracted information compatible with other healthcare systems. Supported vocabularies include:</p><ul><li>RxNorm (medications)</li><li>ICD-10 (diseases)</li><li>MeSH (broad medical terms)</li><li>SNOMED CT</li></ul><p><strong>Limitations</strong> :</p><ul><li>Breaks the concept into multiple single labels, for example : Leg Pain a symptom will be labeled as Leg : Anatomical structure and Pain : Problem in response.</li><li>Doesn’t work well with non generic medicine name/ local medicine name like [Crocin, Zandu balm etc]</li></ul><p><strong>Example :</strong></p><pre>Input :<br>sample_text = &quot;Course in Hospital: Mr. Johnson arrived in the ER from nursing home with a three-day history of worsening shortness of breath, yellow-green sputum, and increased sputum production. He was subsequently diagnosed with a COPD exacerbation and was satting at 84% on 4L O2 by nasal prongs. Medical presciptions : TAB PARACIP 500 MG two TABLETS PER ORAL THRICE DAILY AFTER FOOD FOR 5 DAYS INJ. AUGMENTIN 1.2 GM, INTRAVENOUS, THREE TIMES A DAY X 4 DAYS&quot;<br><br>Truncated Output :<br>&#39;entityMentions&#39;: [{&#39;mentionId&#39;: &#39;1&#39;,<br>&#39;type&#39;: &#39;SEVERITY&#39;,<br>&#39;text&#39;: {&#39;content&#39;: &#39;worsening&#39;, &#39;beginOffset&#39;: 97},<br>&#39;linkedEntities&#39;: [{&#39;entityId&#39;: &#39;UMLS/C1457868&#39;},<br>{&#39;entityId&#39;: &#39;UMLS/C4084902&#39;}],<br>&#39;confidence&#39;: 0.9495142102241516},<br>{&#39;mentionId&#39;: &#39;2&#39;,<br>&#39;type&#39;: &#39;PROBLEM&#39;,<br>&#39;text&#39;: {&#39;content&#39;: &#39;shortness of breath&#39;, &#39;beginOffset&#39;: 107},<br>&#39;linkedEntities&#39;: [{&#39;entityId&#39;: &#39;UMLS/C0013404&#39;}],<br>&#39;temporalAssessment&#39;: {&#39;value&#39;: &#39;CLINICAL_HISTORY&#39;,<br>&#39;confidence&#39;: 0.9956560730934143},<br>&#39;certaintyAssessment&#39;: {&#39;value&#39;: &#39;LIKELY&#39;,<br>&#39;confidence&#39;: 0.9996985197067261},<br>&#39;subject&#39;: {&#39;value&#39;: &#39;PATIENT&#39;, &#39;confidence&#39;: 0.9996469616889954},<br>&#39;confidence&#39;: 0.9954680800437927},<br>{&#39;mentionId&#39;: &#39;3&#39;,<br>&#39;type&#39;: &#39;PROBLEM&#39;,<br>&#39;text&#39;: {&#39;content&#39;: &#39;yellow-green sputum&#39;, &#39;beginOffset&#39;: 128},<br>&#39;linkedEntities&#39;: [{&#39;entityId&#39;: &#39;UMLS/C3812802&#39;}],<br>&#39;temporalAssessment&#39;: {&#39;value&#39;: &#39;CLINICAL_HISTORY&#39;,<br>&#39;confidence&#39;: 0.9959474205970764},<br>&#39;certaintyAssessment&#39;: {&#39;value&#39;: &#39;LIKELY&#39;,<br>&#39;confidence&#39;: 0.9996469616889954},<br>&#39;subject&#39;: {&#39;value&#39;: &#39;PATIENT&#39;, &#39;confidence&#39;: 0.9996917247772217},<br>&#39;confidence&#39;: 0.6370829343795776}<br>}</pre><p><a href="https://cloud.google.com/healthcare-api/docs/how-tos/nlp-demo"><strong>Try the Healthcare Natural Language API</strong></a></p><h3>Entity Extraction using LLMs</h3><p>Large Language Models (LLMs) offer a compelling solution for entity extraction tasks. Their ability to understand complex language patterns makes them particularly adept at identifying concepts like medicine names, dosages, and strengths within discharge notes and other medical text.</p><p><strong>Med-PaLM: A Specialized LLM for Healthcare</strong></p><p>Med-PaLM leverages Google’s advanced language models, specifically fine-tuned for the medical domain. This specialized training, which includes medical exams, research, and consumer queries, enhances Med-PaLM’s performance in understanding medical terminology and context.</p><p><strong>Pros</strong></p><ul><li><strong>Ease of Implementation</strong>: LLMs can be customized for entity extraction through prompt engineering, offering a more streamlined development process.</li><li><strong>Adaptability</strong>: Few-shot learning allows LLMs to rapidly learn new entity types, even with limited training data.</li><li><strong>Accuracy</strong>: Pre-training on vast medical text corpora gives specialized LLMs like Med-PaLM a robust understanding of medical language.</li></ul><p><strong>Cons</strong></p><ul><li><strong>Hallucination</strong>: It’s crucial to implement safeguards to address the potential for LLMs to generate inaccurate entities. Rigorous validation is key.</li><li><strong>Output Inconsistency</strong>: Strategies for standardizing the structure of extracted entities ensure compatibility with downstream systems.</li></ul><pre>Prompt : <br>You are a medical expert and you have to all extract Medicine Name, dosage, frequency, duration from the following text in the format<br>[Medicine Name, Medicine strength, Medicine Dose, Medicine frequency, Medicine duration].<br>if medicine attribute is not found fill None. Output should be strictly a list containing 5 items.<br><br><br>Example of<br>Medical strength = [&#39;10mg&#39;, &#39;90MG&#39;, &#39;40 MG&#39;]<br>Dosage = [&#39;ONE TABLET&#39;, &#39;two doses&#39;, &#39;3 TSF&#39;, &#39;2 PUFFS&#39;, &#39;1 TAB&#39;] dosage.<br>Frequency = [&#39;THRICE DAILY&#39;, &#39;ONCE AT BED TIME&#39;, &#39;TWICE A DAY&#39;, &#39;ONCE A DAY&#39;]<br>Duration = [&#39;21 days / 28 days&#39;, &#39;15 days&#39;, &#39;one week&#39;]<br><br><br>Input : &quot;1. TAB PARACIP 500 MG two TABLETS PER ORAL THRICE DAILY AFTER FOOD FOR 5 DAYS (PAIN)<br>2. TAB PAN 40 MG ONE TABLET PER ORAL ONCE DAILY BEFORE BREAKFAST FOR 7 DAYS (ACIDITY)&quot;<br>Expected output : [[&#39;TAB PAN&#39;, &#39;40 MG&#39;,&#39;ONE TABLET&#39;, &#39;ONCE DAILY&#39;, &#39;7 DAYS&#39;], [&#39;TAB PARACIP &#39;, &#39;500 MG&#39;,&#39;two TABLETS&#39;,&#39;THRICE DAILY&#39;, &#39;5 DAYS&#39;]]</pre><h3>Entity Extraction using Open Source Models :</h3><p>MedSpaCy is a Python library built on top of the popular natural language processing (NLP) framework, spaCy. It’s specifically designed to handle the complexities of clinical and medical text.</p><p><strong>Why Use MedSpaCy?</strong></p><ul><li><strong>Medical Domain Expertise</strong>: MedSpaCy’s models and rule-based systems are trained on medical text, making it more accurate than general-purpose NLP tools when working with clinical notes, research papers, and other medical documents.</li><li><strong>Seamless with spaCy</strong>: If you’re already familiar with spaCy, integrating MedSpaCy is easy. It adds specialized pipelines to your existing spaCy workflow.</li><li><strong>Customization</strong>: You can fine-tune MedSpaCy’s models or add custom rules for your specific medical text processing needs.</li></ul><pre>import spacy<br>import medspacy<br><br><br>nlp = medspacy.load(&quot;en_core_web_sm&quot;) # Load a pre-trained MedSpaCy model<br>text = &quot;Patient reports headache and nausea. Denies fever. Prescribed ibuprofen 200mg.&quot;<br>doc = nlp(text)<br><br><br>for entity in doc.ents:<br>   print(entity.text, entity.label_)</pre><p><strong>Dive into the code </strong><a href="https://github.com/aksstar/medical_entity_extractor/blob/main/Entity%20Extractor.ipynb"><strong>here</strong></a></p><h3>References:</h3><ul><li><a href="https://cloud.google.com/healthcare-api/docs/how-tos/nlp">https://cloud.google.com/healthcare-api/docs/how-tos/nlp</a></li><li><a href="https://sites.research.google/med-palm/">https://sites.research.google/med-palm/</a></li><li><a href="https://github.com/medspacy/medspacy">https://github.com/medspacy/medspacy</a></li></ul><h3>Thanks for reading.</h3><p><em>Your feedback and questions are highly appreciated. You can connect with me via </em><a href="https://www.linkedin.com/in/aakash-gouda/">LinkedIn</a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=898d7a5fc173" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/medical-entity-extraction-on-google-cloud-a-comprehensive-guide-898d7a5fc173">Medical Entity Extraction on Google Cloud: A Comprehensive Guide</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Background Change with Imagen on Vertex AI : A Step-by-Step Guide]]></title>
            <link>https://medium.com/google-cloud/background-change-using-imagen-genai-on-vertex-ai-36726b2e24bb?source=rss-29bc3d9681c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/36726b2e24bb</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[imagen]]></category>
            <category><![CDATA[vertex-ai]]></category>
            <dc:creator><![CDATA[aakash gouda]]></dc:creator>
            <pubDate>Mon, 30 Oct 2023 14:45:24 GMT</pubDate>
            <atom:updated>2023-10-31T03:51:22.966Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagen on Vertex AI brings Google’s state of the art generative AI capabilities to application developers. With Imagen on Vertex AI, application developers can build next-generation AI products that transform their user’s imagination into high quality visual assets, in seconds.</p><p>There are two options for editing images :</p><p><strong>Mask free editing</strong> — Lets you edit an image without a mask (specific area).</p><p><strong>Mask-based editing</strong> — Lets you specify a targeted area to apply edits to. This method of editing is good for edits that apply to only parts of an image.</p><p>In this article we see how can we do <strong>Mask-based editing </strong>using python API.</p><p>Background changing involved following steps :</p><ul><li>Removing existing background</li><li>Creating a mask and inverted mask image</li><li>Encoding Image to string</li><li>Creating Request payload</li></ul><h3>Removing existing background :</h3><p>We use <a href="https://github.com/danielgatis/rembg">rembg</a> for removing the background, you can explore other options for doing the same.</p><p>Rembg provides simple python code for background removal:</p><pre>output = remove(input_image_path)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-aZleETHXFrKn1xF" /><figcaption>Input : Original Image</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5GCcbluNAjEi6EHc" /><figcaption>Output : Background removed</figcaption></figure><h3>Creating a mask and inverted mask image</h3><p>We use rembg for extracting the mask, we provide the output from previous step as the input :</p><pre>output = remove(img, only_mask =True)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bV1ZQLRuHMPXK7Q3" /><figcaption>Input : Background removed image</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XCceRyoevxof6YJs" /><figcaption>Output : Masked Image</figcaption></figure><p>We use open cv to create inverted mask</p><pre>mask_image = cv2.imread(masked_image_path, cv2.IMREAD_GRAYSCALE)<br>inverted_mask = np.bitwise_not(mask_image)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7kaQ2ylxM81MsOjx" /><figcaption>Input : Masked Image</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9wN34KwSXOOCxObr" /><figcaption>Output : Inverted Masked Image</figcaption></figure><h3>Encoding Image to string</h3><p>To make image generation requests you must send image data as <a href="https://en.wikipedia.org/wiki/Base64">Base64 encoded</a> text.</p><pre>encoded_inp_img = base64.b64encode(inp_img_file.read()).decode(“utf-8”)</pre><h3>Creating Request payload</h3><p>Payload consists of</p><ul><li>Prompt : Description of background you want to generate</li><li>Image : Here we specify the path to the image with the extracted background.</li><li>Mask : inverted mask image</li><li>sampleCount : Number of images to be generated</li><li>MODE : backgroundEditing</li></ul><p>We use the requests module to call imagen APIs</p><pre>response = requests.post(endpoint, json=request_payload, headers=headers)</pre><p>The output response consists of bytesBase64Encoded text which is then converted into image and saved on disk.</p><pre>img_bytes = base64.b64decode(image_data[“bytesBase64Encoded”])<br>img = Image.open(BytesIO(img_bytes))<br>img.save(&quot;{}_pic.png&quot;.format(idx))</pre><p>Sample prompts :</p><blockquote>Prompt : A garden with lush green grass</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ly4LecE-3JlucdtG" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h2sK6nDbCMOiyPhN" /></figure><blockquote>Prompt : Snow on the ground</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GZMHa89-QGons97g" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KjrBEd799w59mO8r" /></figure><blockquote>Prompt : beach with clear skies and blue water</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_LTqIUnT0d1xF0I1" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2kVLkxmiv74RBQsm" /></figure><p>Link to <a href="https://github.com/aksstar/background_changer/blob/main/background_changer.ipynb">full code</a>.</p><h3>References:</h3><ul><li><a href="https://cloud.google.com/vertex-ai/docs/generative-ai/image/edit-images">https://cloud.google.com/vertex-ai/docs/generative-ai/image/edit-images</a></li></ul><p>Thanks for reading.</p><p><em>Your feedback and questions are highly appreciated. You can connect with me via </em><a href="https://www.linkedin.com/in/aakash-gouda/">LinkedIn</a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36726b2e24bb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/background-change-using-imagen-genai-on-vertex-ai-36726b2e24bb">Background Change with Imagen on Vertex AI : A Step-by-Step Guide</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Train Custom Model and Deploy on Google Cloud Vertex AI]]></title>
            <link>https://medium.com/google-cloud/how-to-train-custom-model-and-deploy-on-vertex-ai-b6ee6f1c529d?source=rss-29bc3d9681c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6ee6f1c529d</guid>
            <category><![CDATA[lightgbm]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[custom-training]]></category>
            <dc:creator><![CDATA[aakash gouda]]></dc:creator>
            <pubDate>Sat, 14 Jan 2023 21:49:16 GMT</pubDate>
            <atom:updated>2023-01-16T11:55:56.862Z</atom:updated>
            <content:encoded><![CDATA[<p>Google provides a bunch of pre-built containers for frameworks like Tensorflow, SKLearn and XGBoost but there are cases where we need to train a model on vertex using some other framework like LightGBM in situation like this we need to build a custom container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XzmNQtvVniTnD7f0w6MO0w.png" /><figcaption>GCP</figcaption></figure><p>In this blog I will walk you through steps to create a custom container for LightGBM and deploy the same as the endpoint on Vertex AI. I will be using the IRIS Dataset and building a classification model using LightGBM.</p><p>The post is divided into four sections</p><ul><li>Part 1 : Setting up Artifact Registry</li><li>Part 2 : Training Container</li><li>Part 3 : Serving Container</li><li>Part 4 : Deployment on Vertex AI</li></ul><p>You can find Full Code <a href="https://github.com/aksstar/GoogleCloudPlatform">here</a> :</p><h3>Part 1 : Setting up Artifact Registry</h3><p><a href="https://cloud.google.com/artifact-registry/docs/overview">Artifact Registry</a> enables you to centrally store artifacts and build dependencies as part of an integrated Google Cloud experience.</p><p>For creating a Repository :</p><ul><li>Navigate to Artifact Registry page on GCP</li><li>Click on Create Repository</li><li>Fill in Name and Select Format, mode, location and encryption</li><li>Click on create</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4U-uxmIe7KSb92NX" /><figcaption>Create repository tab in Artifact Registry</figcaption></figure><h3>Part 2 : Training Container</h3><p>Create a new folder which contains two files :</p><ul><li>Task.py : The python code file which handles data preprocessing, model training and artifact upload.</li></ul><p>Some environment variables are autoset when code runs as a vertex custom training job for e.g. : AIP_MODEL_DIR, AIP_STORAGE_URI more details <a href="https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#variables">here</a></p><pre>model = lgb.LGBMClassifier()<br>model.fit(X_train, y_train)<br>prediction=model.predict(X_test)<br>joblib.dump(model, model_file_name)<br><br># Initialise a client<br>storage_client = storage.Client(project=PROJECT_ID)<br><br># Upload model artifact to Cloud Storage<br>model_directory = os.environ[&#39;AIP_MODEL_DIR&#39;]<br>print(&quot;AIP_MODEL_DIR==&gt;&gt;&gt;&quot;, model_directory)<br>storage_path = os.path.join(model_directory, model_file_name)<br>blob = storage.blob.Blob.from_string(storage_path, client=storage.Client())<br>blob.upload_from_filename(model_file_name</pre><p>The above code trains a LightGBM model and saves the model pickle file to ‘AIP_MODEL_DIR’ path.</p><p>Once the file pickle file is available in the gcs bucket, custom training job registers and uploads the model artifact in model registry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OXdewUDRG_RcgB2b" /><figcaption>Model Registry</figcaption></figure><ul><li>Dockerfile : contains commands for installation of the required packages, copies the python file created in the previous step to container and provides entrypoint to container.</li></ul><pre>FROM python<br><br># Installs additional packages<br>RUN pip install lightgbm pandas numpy scikit-learn google-cloud-aiplatform protobuf==3.20.3 google-cloud-storage<br><br># Copies the trainer code to the docker image.<br>COPY task.py ./task.py<br><br># Sets up the entry point to invoke the trainer.<br>ENTRYPOINT [&quot;python&quot;, &quot;task.py&quot;]# Installs additional packages</pre><p>Once we have Dockerfile and task.py file in place we use terminal/image shell in Vertex Workbench to build and push training container to artifact registry created in the previous step:</p><p>Run the following command to configure gcloud as the credential helper for the Artifact Registry domain associated with this repository’s location:</p><pre>gcloud auth configure-docker us-central1-docker.pkg.dev</pre><p>Navigate to the folder containing Dockerfile using cd command and the use</p><p><a href="https://cloud.google.com/vertex-ai/docs/training/create-custom-container#build_the_container_image">Docker build</a> Command :</p><pre>docker build -f Dockerfile -t us-central1-docker.pkg.dev/your-project-name/testrepo/lightgbm_model .</pre><p>Docker push command :</p><pre>docker push us-central1-docker.pkg.dev/your-project-name/testrepo/lightgbm_model</pre><p>In the above command — modify as per your config:</p><p>Region : us-central1</p><p>PROJECT_ID : your-project-name</p><p>Artifact Repository name : testrepo</p><p>Container name : lightgbm_model</p><h3>Part 3 : Serving Container</h3><p>Similar to training container building, we have two files :</p><p>Python file : it has 3 main function</p><ul><li>Loading the model file from ‘AIP_MODEL_DIR’ path specified</li><li><a href="https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health">Creating a health check</a> endpoint which responds with code 200 if healthy.</li><li>Creating serving endpoint which takes json input and responds with model predictions</li></ul><p>Sample Code :</p><pre>#Loading model from AIP_MODEL_DIR path.<br>model_f = &quot;model.pkl&quot;<br>model =  joblib.load(model_f)<br><br>@app.route(os.environ[&#39;AIP_HEALTH_ROUTE&#39;], methods=[&#39;GET&#39;])<br>def health_check():<br>   return {&quot;status&quot;: &quot;healthy&quot;}<br><br><br>@app.route(os.environ[&#39;AIP_PREDICT_ROUTE&#39;], methods=[&#39;POST&#39;])<br>def add_income():<br>    request_json = request.json<br>    request_instances = request_json[&#39;instances&#39;]<br>    prediction=model.predict(request_instances)<br>    prediction = prediction.tolist()<br>    output = {&#39;predictions&#39;:<br>                   [<br>                       {<br>                           &#39;result&#39; : prediction<br>                       }<br>                   ]<br>               }<br>    return jsonify(output)</pre><p>Docker File packages the above code to container and also sets environment variables which will be required for prediction container :</p><pre>FROM python<br><br># Installs additional packages<br>RUN pip install lightgbm flask scikit-learn<br><br>ENV AIP_STORAGE_URI=gs://aakash-test-env/model<br>ENV AIP_HEALTH_ROUTE=/ping<br>ENV AIP_PREDICT_ROUTE=/predict<br>ENV AIP_HTTP_PORT=8080<br># Copies the API code to the docker image.<br>COPY . ./<br><br># Sets up the entry point to invoke the trainer.<br>ENTRYPOINT [&quot;python&quot;, &quot;serving_model.py&quot;]</pre><p>Navigate to the folder containing Dockerfile using cd command and the use</p><p><a href="https://cloud.google.com/vertex-ai/docs/training/create-custom-container#build_the_container_image">Docker build</a> Command :</p><pre>docker build -f Dockerfile -t us-central1-docker.pkg.dev/your-project-name/testrepo/lightgbm_serve .</pre><p>Docker push command :</p><pre>docker push us-central1-docker.pkg.dev/your-project-name/testrepo/lightgbm_serve</pre><p>After Building and pushing the above two containers the snapshot of artifact registry should look like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5vllwj9qUwI3aF-R" /><figcaption>Artifact Registry</figcaption></figure><h3>Part 4 : Deployment on Vertex AI</h3><p>Now that we have training and serving container ready, We will go ahead and create CustomContainerTrainingJob.</p><p>Code :</p><pre>from google.cloud import aiplatform<br><br>REGION = &#39;us-central1&#39;<br>PROJECT_ID = &#39;your-project-name&#39;<br>bucket = &#39;gs://your-bucket-name/model&#39; # Should be same as AIP_STORAGE_URI specified in docker file<br>container_uri=&#39;us-central1-docker.pkg.dev/your-project-name/testrepo/lightgbm_model&#39;<br>model_serving_container_image_uri=&#39;us-central1-docker.pkg.dev/your-project-name/testrepo/lightgbm_serve&#39;<br>display_name=&#39;Custom Job from Code&#39;<br><br>aiplatform.init(project=PROJECT_ID, location=REGION, staging_bucket=bucket)<br><br># Create CustomContainerTrainingJob and start run with some service account<br>job = aiplatform.CustomContainerTrainingJob(<br>display_name=display_name,<br>container_uri=container_uri,<br>model_serving_container_image_uri=model_serving_container_image_uri,<br>)<br><br>model = job.run( model_display_name=display_name, service_account=&quot;&quot;)<br><br># Finally deploy the model to endpoint<br>endpoint = model.deploy(<br>deployed_model_display_name=display_name, sync=True<br>)</pre><p>The code snippet initiates an aiplatform object then triggers a custom training job and finally deploys the model to the endpoint. Please refer to documentation to customize the endpoint by passing relevant parameters to deploy function.</p><p>Once the model is deployed to endpoint it can serve online requests.Usually the deployment process can take 20–40 mins. You can check the status and logs in the Vertex AI dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n4xvetf1H-ExTM_H" /><figcaption>Model deployed on Vertex Endpoint</figcaption></figure><h3>References:</h3><ul><li><a href="https://blog.ml6.eu/deploy-ml-models-on-vertex-ai-using-custom-containers-c00f57efdc3c">https://blog.ml6.eu/deploy-ml-models-on-vertex-ai-using-custom-containers-c00f57efdc3c</a></li><li><a href="https://cloud.google.com/vertex-ai/docs/predictions/use-custom-container">https://cloud.google.com/vertex-ai/docs/predictions/use-custom-container</a></li><li><a href="https://cloud.google.com/vertex-ai/docs/training/containers-overview">https://cloud.google.com/vertex-ai/docs/training/containers-overview</a></li><li><a href="https://cloud.google.com/vertex-ai/docs/training/create-custom-job">https://cloud.google.com/vertex-ai/docs/training/create-custom-job</a></li></ul><h3>Thanks for reading.</h3><p><em>Your feedback and questions are highly appreciated. You can connect with me via </em><a href="https://www.linkedin.com/in/aakash-gouda/">LinkedIn</a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6ee6f1c529d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/how-to-train-custom-model-and-deploy-on-vertex-ai-b6ee6f1c529d">How to Train Custom Model and Deploy on Google Cloud Vertex AI</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>