<?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[G-Able - Medium]]></title>
        <description><![CDATA[We partner with world-class tech companies to provide our clients with modern digital solutions, enterprise business solutions, and IT infrastructure solutions - Medium]]></description>
        <link>https://medium.com/g-able?source=rss----8f399bd36119---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>G-Able - Medium</title>
            <link>https://medium.com/g-able?source=rss----8f399bd36119---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 09:04:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/g-able" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ Unpacking Meta’s “Superintelligence” Team: A Deep Dive into Their Ambitious AI Play]]></title>
            <link>https://medium.com/g-able/unpacking-metas-superintelligence-team-a-deep-dive-into-their-ambitious-ai-play-99cc821cffb7?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/99cc821cffb7</guid>
            <category><![CDATA[superintelligence]]></category>
            <category><![CDATA[meta]]></category>
            <dc:creator><![CDATA[Wiz]]></dc:creator>
            <pubDate>Tue, 19 Aug 2025 09:07:41 GMT</pubDate>
            <atom:updated>2025-08-19T09:07:41.378Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>In the ever-evolving landscape of artificial intelligence, Meta has recently made waves by assembling a team dubbed the “Superintelligence” group. This move signals a bold step into the realm of advanced AI research and development. In this blog post, I’ll walk you through the steps I took to analyze this team, share insights from my findings, and discuss what Meta is likely aiming to achieve with this ambitious initiative.</p><h4>Step 1: Discovering the Source</h4><p>The journey began when I came across a tweet by <a href="https://x.com/deedydas/status/1946597162068091177?t=khC_e0MyQK7I-w3_xqKcjw&amp;s=06">Deedy Das </a>, who shared an image detailing the composition of Meta’s newly formed “Superintelligence” team. The image provided a wealth of information, including names, tenures, years of experience, current roles, prior affiliations, expertise areas, educational backgrounds, and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0iskpZs6UuGAVHhUQepH5Q.jpeg" /><figcaption>image from Deedy Das’s post.</figcaption></figure><p>This dataset was a goldmine for understanding Meta’s strategic moves in AI. My goal was to parse this data, analyze it systematically, and uncover the broader implications for Meta’s future in AI.</p><h4>Step 2: Parsing the Data</h4><p>To make sense of the raw data, I followed these steps:</p><ol><li><strong>Extracted Key Information :</strong></li></ol><ul><li>Names : Identified all team members.</li><li>Tenure @ Meta : Noted how long each person had been at Meta (ranging from days to years).</li><li>Years of Experience (YoE) : Recorded their professional experience levels.</li><li>Current Job : Listed their roles within Meta.</li><li>Prior Roles : Highlighted their previous positions at other companies or institutions.</li><li>Expertise : Categorized their technical specialties (e.g., LLMs, vision, alignment, compilers).</li><li>Advanced Degree &amp; Undergrad Degree : Documented their educational backgrounds.</li></ul><p><strong>2. Structured the Data :</strong></p><ul><li>Transformed the image into a structured CSV format for easier analysis. This allowed me to sort, filter, and visualize the data programmatically.</li></ul><pre>Name, Tenure @ Meta, YoE, Current Job, Prior Roles, Expertise, Advanced Degree, Undergrad Degree<br>Nat Friedman, 18 days, 26, VP, Meta Superintelligence, NFDG; CEO, Github, Developer ecosystems, BS, MIT (CS)<br>Daniel Gross, 18 days, 15, VP Product, Meta Superintelligence, Cofounder, SSI; NDFG, AI product &amp; venture, —, —<br>Yann Le Cun, 11.6 yrs, 37, VP + Chief AI Scientist, Meta, Professor, NYU, Deep learning, PhD, Sorbonne UPMC, BS, ESIEE Paris<br>Joel Pobar, 10 yrs, 24, VP, Compilers &amp; Infra, Meta, MTS, Anthropic; Senior Engg Director, Meta, LLM compilers &amp; infra, BS, Queensland UT (CS), BS, Queensland UT (CS)<br>Mat Velloso, 11 days, 14, VP Product, Meta, VP Product, DeepMind; Director of Product, Microsoft, Developer platforms, MS, National U (CS), BS, Faculdade Brasilia (Business)<br>Annie Hu, 11 days, 15, Director of Product, Meta, VP, Product, Scale AI, AI product management, MBA, Chicago Booth, BS, UMaryland (Finance)<br>Ruben Mayer-Hirshfeld, 2 mo, 7, Director of Product, Meta, SVP, Gen AI, Scale; Cofounder, Scout AI; Founder, FameGame, AI data ops, —, MS, BS, Stanford (CS, Econ)<br>Linda Gong, 11 days, 4, Product Manager, Meta, Chief of Staff, Scale; Software Engg, Anrok; Quant, Two Sigma, Superintelligence product strategy, —, MS, BS, MIT (CS)<br>Jon Wilfong, 32 days, 17, Business Development, Meta, SVP Field Ops, Scale; CRO, Parallel Domain; EA, Mulesoft, AI field operations, —, BS, Texas A&amp;M (CS)<br>Summer Yue, 11 days, 8, Director, Alignment, Meta, VP of Research, Scale; Research, DeepMind;, Reinforcement learning &amp; data infra, —, BS, UPenn (CS, Econ)<br>Alexander Kolesnikov, 17 days, 9, Research Scientist, Meta, Staff Research Scientist, DeepMind, Self-supervised vision, PhD, IST Austria, BS, MS, LMSU Moscow (Math)<br>Allan Jabri, 2.4 yrs, 4, Research Scientist, Meta, MTS, OpenAI; Research, Meta, Visual self-supervised learning, PhD, UC Berkeley, BS, Princeton (CS)<br>Anton Bakhtin, 5.3 yrs, 13, Research Scientist, Meta, MTS, Anthropic; Research, Meta; Senior Engg, Google; Senior Engineer, Yandex, RL &amp; game agents, BS, MS, LMSU Moscow (Math)<br>Bowen Cheng, 1.2 yrs, 3, Research Scientist, Meta, MTS, OpenAI; Senior Engg, Tesla, Segmentation transformers, PhD, UIUC (ECE), BS, UIUC (ECE)<br>Chengxu Zhuang, 4 days, 3, Research Scientist, Meta, MTS, OpenAI; PostDoc, MIT, Neuroscience-inspired AI, PhD, Stanford (Psychology), BS, Tsinghua (ECE)<br>Chenxi Liu, 4 mo, 5, Research Scientist, Meta, Staff Research, DeepMind; Senior Research, Waymo, Vision language models, PhD, Johns Hopkins (CS), MS, UCLA (Stats); BS, Tsinghua<br>Chunyuan Li, 18 days, 7, Research Scientist, Meta, MTS, X AI; Research Lead, ByteDance; Principal Researcher, Microsoft Research, Diffusion &amp; multimodal generation, PhD, Duke (ECE), BS, Huazhong (ECE)<br>Gabriel Ilharco, 4 days, 1, Research Scientist, Meta, MTS, X AI, Multimodal alignment, PhD, U Wash (CS), MS, BS, ITA Sao Paolo (ECE)<br>Haotian (Ken) Tang, 7 days, 1, Research Scientist, Meta, Efficient DL systems, PhD, MIT (EECS), BS, Shanghai Jiao Tong (CS)<br>Hongyu Ren, 18 days, 2, Research Scientist, Meta, MTS, OpenAI, Graph ML, PhD, Stanford (CS), BS, Peking<br>Huiwen Chang, 4 mo, 6, Research Scientist, Meta, MTS, OpenAI; Research Scientist, Google, Generative image/video, PhD, Princeton (CS), BS, Tsinghua<br>Jack Rae, 35 days, 8, Research Scientist, Meta, Principal Research Scientist, Google; MTS, OpenAI; Senior Staff Researcher, DeepMind, LLM alignment, PhD, UCL (CS), MS, CMU (Stats), BSI, U Bristol (CS)<br>James Lee-Thorp, 4 days, 9, Research Scientist, Meta, Software Engg, Google; Software Engg, Goldman Sachs, Transformer theory, PhD, Columbia (Math), MS, BS, U Cape Town (Math)<br>Ji Lin, 18 days, 2, Research Scientist, Meta, MTS, OpenAI, Efficient LLMs &amp; TinyML, PhD, MIT (EECS), BS, Tsinghua (ECE)<br>Jiahui Yu, 18 days, 5, Research Scientist, Meta, Head of Perception, OpenAI; Staff Researcher, DeepMind, Diffusion models, PhD, UIUC, BS, UST China (CS)<br>Julian Michael, 11 days, 1, Research Scientist, Meta, Head of SEAL, Scale AI; Post Doc, NYU, LLM evaluation, PhD, UWash (CS), BS, UT Austin (CS)<br>Lu Liu, 18 days, 4, Research Scientist, Meta, MTS, OpenAI; MTS, Character AI; Research, Google, Multimodal reasoning, PhD, UT Sydney (ML), BS, South China UT (ECE)<br>Lucas Beyer, 17 days, 7, Research Scientist, Meta, MTS, OpenAI; Staff Researcher, DeepMind, Self-supervised vision, PhD, RWTH Aachen (CS), BS, RWTH Aachen (Computation)<br>Matt Deitke, 4 days, 1, Research Scientist, Meta, Founder, Vercept; Research, AI2, Embodied AI, PhD, UWash (CS), BS, UWash (CS)<br>Michael Zhang, 4 days, 12, Research Scientist, Meta, Senior Staff Researcher, DeepMind, Information retrieval, PhD, GWU (CS), —, —<br>Qingqing Huang, 18 days, 9, Research Scientist, Meta, Research, TikTok; Research Scientist, Google, Mobile systems, PhD, MIT (EECS), NA, China<br>Rui Hou, 5 yrs, 5, Research Scientist, Meta, MTS, OpenAI, ML infrastructure, PhD, UMICH, BS, Tongji<br>Pingchuan Ma, 7 days, 1, Research Scientist, Meta, MTS, OpenAI, Vision, language, PhD, MIT (CS), BS, Nankai (Software)<br>Shengjia Zhao, 18 days, 3, Research Scientist, Meta, MTS, OpenAI, Probabilistic modelling, PhD, Stanford (CS), BS, Tsinghua<br>Shuchao Bi, 18 days, 12, Research Scientist, Meta, Head of Post Training, OpenAI; Director of Engg, Youtube, Video generation, PhD, UC Berkeley (Math), BS, Zhejiang (Math)<br>Trapit Bansal, 4 mo, 3, Research Scientist, Meta, MTS, OpenAI, Contrastive pretraining, PhD, UMass Amherst (CS), MS, BS, IIT Kanpur (Math)<br>Xiaohua Zhai, 17 days, 10, Research Scientist, Meta, MTS, OpenAI; Senior Staff Research, DeepMind; Senior Engg, Google, Vision transformers, PhD, Peking (CS), BS, Nanjing (CS)<br>Yinghao Li, 18 days, 0, Research Scientist, Meta, —, Speech synthesis, PhD, Columbia (ECE), BS, UCSD (CS, Math)<br>Yuanzhi Li, 4 mo, 0, Research Scientist, Meta, Professor, CMU, Optimization theory, PhD, Princeton (CS), BS, Tsinghua (CS)<br>Zhishuai Zhang, 3 mo, 5, Research Scientist, Meta, MTS, OpenAI; Senior Engg, DeepMind; Senior Engg, Waymo, Segmentation models, PhD, Johns Hopkins (CS), BS, UST China (CS)<br>Hamad Syed, 6 days, 11, Software Engineer, Meta, CoFounder, Play AI; Software Engg, Dubizzle, Voice interfaces, —, —, —<br>Yu Zhang, 3 days, 10, Software Engineer, Meta, MTS, OpenAI; Staff Researcher, DeepMind, Backend systems, —, —, —<br>Pei Sun, 2 mo, 14, Software Engineer, Meta, Principal Researcher, DeepMind; Senior Staff Researcher, Waymo, Autonomous perception &amp; LLMs, PhD, CMU (dropout), BS, Tsinghua (CS)<br>Tao Zhu, 18 days, 15, Software Engineer, Meta, Senior Staff Engg, DeepMind; Software Engg, Dropbox; Senior Engg, Twitter, Large-scale ML systems, PhD, USC (CS), MS, BS, Tsinghua (CS)</pre><p><strong>3. Visualized Patterns </strong>:</p><ul><li>Created charts and graphs to highlight trends in hiring, expertise, and educational backgrounds.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*L6yq16lIggN5MQPjWLXUDg.png" /><figcaption>Expertise and Technical Focus areas</figcaption></figure><ul><li>Identified clusters of hires from specific companies (e.g., OpenAI, DeepMind) and academic institutions (e.g., Tsinghua University, MIT).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*h3T_LiZe4FAo3jbKv7hbZw.png" /></figure><h4>Step 3: Analyzing the Team Composition</h4><h4>Key Insights from the Data</h4><ol><li><strong>Research-Oriented Focus :</strong></li></ol><ul><li>24 out of 35 team members are Research Scientists , indicating that Meta is prioritizing foundational research in AI.</li></ul><p><strong>2. Diverse Expertise :</strong></p><ul><li>The team covers a broad spectrum of AI domains:</li><li>Large Language Models (LLMs) : 15+ researchers.</li><li>Vision &amp; Multimodal Systems : 12 researchers.</li><li>Self-supervised Learning, Diffusion Models, Reinforcement Learning : Strong representation.</li><li>Efficiency &amp; Alignment : Critical areas for scalable AI systems.</li></ul><p><strong>3. Hiring Velocity :</strong></p><ul><li>Over half of the team joined within the last month , suggesting a rapid build-up. Many were poached from competitors like OpenAI, DeepMind, Scale AI, and Microsoft.</li></ul><p><strong>4. Leadership Structure :</strong></p><ul><li>Yann LeCun : Serves as the scientific anchor, leveraging his decades of AI research experience.</li><li>Joel Pobar : Leads compiler and infrastructure efforts, crucial for scaling models efficiently.</li><li>Nat Friedman : Brings ecosystem-building expertise from GitHub.</li><li>Mat Velloso : Bridges research and product, having deep roots in DeepMind.</li></ul><p><strong>5. Educational Background :</strong></p><ul><li>PhD Holders : 23 out of 35 (~65.7%), highlighting the emphasis on academic rigor.</li><li>Top Institutions : Strong representation from Tsinghua University, MIT, Stanford, and other elite schools.</li></ul><p><strong>6. Geographic &amp; Demographic Diversity :</strong></p><ul><li>Global Talent Pool : Hires from China, North America, Europe, Australia, and India.</li><li>Gender Imbalance : Likely ~3–5 women out of 35, reflecting broader challenges in AI diversity.</li></ul><h4>Step 4: Understanding the Strategic Moves</h4><h4>Why This Team Matters</h4><p>Meta’s assembly of this “dream team” is no accident. Here’s what they’re likely trying to achieve:</p><ol><li><strong>Competitive Edge in Generative AI :</strong></li></ol><ul><li>With heavy hiring from OpenAI and DeepMind, Meta is clearly targeting leadership in large language models (LLMs) and generative AI.</li><li>The focus on efficiency, alignment, and multimodality suggests they aim to build robust, scalable, and safe AI systems.</li></ul><p><strong>2. Building End-to-End Capability :</strong></p><ul><li>The team spans research, engineering, and product roles, ensuring seamless translation from theory to real-world applications.</li><li>Joel Pobar’s focus on compilers and infrastructure indicates a push for efficient deployment of AI models.</li></ul><p><strong>3. Scaling AI Across Products :</strong></p><ul><li>Meta’s vast user base and existing platforms (e.g., Facebook, Instagram, WhatsApp) provide fertile ground for deploying advanced AI systems.</li><li>By integrating cutting-edge AI into these products, Meta can enhance user experiences and drive innovation.</li></ul><p><strong>4. Responding to Market Pressures :</strong></p><ul><li>The rapid hiring spree reflects Meta’s urgency to catch up with competitors like OpenAI, Google, and Anthropic.</li><li>By assembling top talent, Meta aims to reclaim its position as a leader in AI.</li></ul><h4>Step 5: What to Expect from Meta</h4><p>Based on this analysis, here’s what we can anticipate from Meta in the near future:</p><ol><li><strong>Next-Generation LLMs :</strong></li></ol><ul><li>Meta will likely release more powerful and efficient versions of their Llama series, potentially rivaling GPT-4 or PaLM.</li><li>Expect innovations in alignment, safety, and interpretability to ensure responsible AI deployment.</li></ul><p><strong>2. Multimodal Supermodels :</strong></p><ul><li>Given the strong focus on vision and multimodal research, Meta may introduce models capable of handling text, images, video, and audio seamlessly.</li><li>These could power new features in Meta’s products, such as advanced AR/VR experiences or intelligent assistants.</li></ul><p><strong>3. Efficient AI Infrastructure :</strong></p><ul><li>Joel Pobar’s team will likely develop breakthroughs in compiler technology and model optimization, enabling faster and cheaper AI inference.</li><li>This could lead to more accessible AI tools for developers and businesses.</li></ul><p><strong>4. Product Integration :</strong></p><ul><li>Meta will integrate AI into its core products, enhancing features like content generation, recommendation systems, and personalized experiences.</li><li>Expect AI-driven improvements in advertising, social media moderation, and virtual assistants.</li></ul><p><strong>5. Open Research Contributions :</strong></p><ul><li>Following Meta’s tradition of open-source contributions, we may see releases of datasets, benchmarks, or even parts of their AI infrastructure.</li><li>This could help establish Meta as a thought leader in the AI community.</li></ul><h4>Final Thoughts</h4><p>The AI landscape is rapidly evolving, and Meta’s latest move shows they’re ready to play a pivotal role in shaping its future. By combining scientific rigor, engineering excellence, and product innovation, Meta is setting the stage for a new era of AI-powered experiences.</p><p>Stay tuned for what’s next from Meta’s “Superintelligence” team — the future of AI looks brighter (and more competitive) than ever!</p><h4>References</h4><ul><li>Original Image Source: <a href="https://x.com/deedydas/status/1946597162068091177?spm=a2ty_o01.29997173.0.0.64eac921ue2gPE&amp;t=khC_e0MyQK7I-w3_xqKcjw&amp;s=06">X/Twitter Post by Deedy Das</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99cc821cffb7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/unpacking-metas-superintelligence-team-a-deep-dive-into-their-ambitious-ai-play-99cc821cffb7">🚀 Unpacking Meta’s “Superintelligence” Team: A Deep Dive into Their Ambitious AI Play</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ทำความรู้จัก Robot Framework: A Beginner’s Guide #EP2]]></title>
            <link>https://medium.com/g-able/%E0%B8%97%E0%B8%B3%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81-robot-framework-a-beginners-guide-ep2-9476ffd9d790?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/9476ffd9d790</guid>
            <category><![CDATA[robot-framework]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[testing-tools]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[cha cha]]></dc:creator>
            <pubDate>Thu, 20 Mar 2025 03:04:25 GMT</pubDate>
            <atom:updated>2025-03-20T03:04:25.363Z</atom:updated>
            <content:encoded><![CDATA[<h3>ทำความรู้จัก Robot Framework: A Beginner’s Guide #EP2 ✌️</h3><p>ใน <strong>EP2</strong> นี้ เราจะมาลองใช้งานจริง! โดยเริ่มจากการ <strong>ติดตั้ง (install), ตั้งค่า environment, และสร้าง test script แรก</strong> เพื่อทดสอบการทำงานของ Robot Framework พร้อมแล้ว ไปเริ่มกันเลย! 👩‍💻✨</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JXw_IkhJ_Tt_PvFxlsWs9w.png" /></figure><h3><strong>Step-by-Step Installation Guide ✏️</strong></h3><h4>1️⃣ <strong>Install Python</strong></h4><p>ก่อนอื่นต้องเช็คว่าเครื่องเรามี <strong>Python</strong> หรือยัง โดยเปิด <strong>cmd</strong> แล้วพิมพ์คำสั่งนี้</p><pre>python --version</pre><p>หากไม่มี <strong>Python</strong> สามารถติดตั้งผ่าน <strong>CMD</strong> โดยใช้คำสั่ง</p><pre>winget install Python.Python</pre><p>หลังจากติดตั้งเสร็จแล้ว ให้ตรวจสอบอีกครั้งว่า Python พร้อมใช้งานหรือไม่</p><pre>python --version</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3NoUWLKxTgPPTivJdhFvCQ.png" /></figure><h4>2️⃣ <strong>ติดตั้ง Robot Framework</strong></h4><p>ติดตั้ง Robot Framework ผ่าน pip ด้วยคำสั่งนี้เลยค่ะ</p><pre>pip install robotframework</pre><p>ตรวจสอบว่าติดตั้งเรียบร้อยหรือไม่</p><pre>robot --version</pre><h4>3️⃣ ติดตั้ง SeleniumLibrary</h4><pre>pip install robotframework-seleniumlibrary</pre><h3>เริ่มสร้างไฟล์ทดสอบ .robot ✏️</h3><p>ใน practice นี้เราจะใช้ <strong>Visual Studio Code (VS Code)</strong> เป็นตัวช่วยเขียนและรัน <strong>Robot Framework </strong>ค่ะ โดยให้ทุกท่านที่กำลังลองทำตาม เปิด <strong>VS Code </strong>ขึ้นมาและอย่าลืมที่จะติดตั้ง Extension เพิ่มเติมคือ <strong>Robot Framework Language Server</strong></p><h4>เขียน Test Script แรก!</h4><p>เราจะสร้าง <strong>test case</strong> เพื่อลองล็อกอิน <strong>Facebook</strong> ด้วย <strong>รหัสผ่านผิด</strong> และตรวจสอบว่า <strong>Facebook แจ้งเตือน password ผิดจริงหรือไม่</strong></p><p>เริ่มจากเปิด <strong>VS Code</strong> → สร้าง <strong>New Text File</strong> → บันทึกเป็น login_facebook.robot</p><pre>*** Settings ***<br>Library           SeleniumLibrary<br><br>*** Variables ***<br>${url_test}       https://www.facebook.com<br>${browser}        chrome<br>${user}           test@mail.com<br>${wrong_password} thisisnotPW#1234<br><br>*** Keywords ***<br>User login   <br>    Input Text    name=email   ${user} <br>    Input Text    name=pass    ${wrong_password}  <br>    Submit Form<br><br>*** Test Cases ***<br>Login to Facebook with wrong password  <br>    Open browser    ${url_test}    ${browser}<br>    User login <br>    Wait Until Element Is Visible    xpath=//div[contains(text(),&quot;The password that you&#39;ve entered is incorrect&quot;)]  timeout=10s</pre><h4>อธิบายโค้ดสั้นๆ</h4><p>— <strong>Settings:</strong> Import SeleniumLibrary<br> — <strong>Variables:</strong> กำหนด URL, Browser, Username, และ Password<br> — <strong>Keywords:</strong> สร้าง User login เพื่อใช้ซ้ำใน Test Cases<br> — <strong>Test Cases:</strong> เปิดเว็บ Facebook, ใส่รหัสผิด, และตรวจสอบว่ามีข้อความแจ้งเตือน</p><blockquote>สำหรับใครที่ต้องการเรียนรู้การใช้งาน keywords เพิ่มเติม ดูได้ที่ 👉<a href="https://robotframework.org/robotframework/latest/libraries/BuiltIn.html">Document</a></blockquote><p>เมื่อเราได้ script สำหรับ run test กันแล้ว ขั้นตอนต่อไปเราจะไปลองทดสอบกัน!</p><h3>Running the Test ✏️</h3><p>เมื่อเขียน script เสร็จแล้ว เราก็พร้อม <strong>Run Test!</strong></p><p>1️⃣ เปิด <strong>Terminal</strong> ใน VS Code หรือ <strong>cmd </strong>ก็ได้ค่ะ<br>2️⃣ ไปยัง <strong>path ที่เก็บไฟล์ </strong><br>3️⃣ run คำสั่งนี้</p><pre>robot login_test.robot</pre><p><strong>ผลลัพธ์ที่ได้:</strong><br>✅ ถ้าทุกอย่างทำงานถูกต้อง Terminal จะแสดง <strong>Pass</strong> หรือ <strong>Fail</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*_VslRJQh9bwBHj6R7FALqQ.png" /><figcaption>terminal ใน vs code</figcaption></figure><p>✅ Robot Framework จะ <strong>generate log และ report file</strong> อัตโนมัติ ให้ตรวจสอบรายละเอียดการทำงาน มีหน้าตาประมาณนี้ค่ะ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*WwoqEGuHWpD9GZYWGVR_Hg.png" /><figcaption>Report.html</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NRE2DvI9JsR4Ab4Ar0w6SQ.png" /><figcaption>Log.html</figcaption></figure><h3>📌สรุป</h3><p>ใน <strong>EP2</strong> นี้ เราได้ลองติดตั้ง <strong>Robot Framework</strong> และสร้าง <strong>Test Script แรก</strong> เพื่อลอง <strong>ล็อกอิน Facebook ด้วยรหัสผิด</strong> พร้อมรันทดสอบและดูผลลัพธ์ นอกจากนี้ Robot Framework ยังสามารถทำอะไรได้อีกมากมาย หวังว่าบทความนี้จะเป็นหนึ่งไอเดียที่ทำให้คุณได้ทดลองเล่น และจุดประกายสิ่งใหม่ๆค่ะ</p><p>ถ้าคุณลองทำแล้ว อย่าลืมแชร์ประสบการณ์ หรือคอมเมนต์ถามได้เลยนะคะ! 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9476ffd9d790" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/%E0%B8%97%E0%B8%B3%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81-robot-framework-a-beginners-guide-ep2-9476ffd9d790">ทำความรู้จัก Robot Framework: A Beginner’s Guide #EP2</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[การ transcribe เสียงพูดภาษาไทยให้เป็นข้อความ (Thai Speech-to-Text)]]></title>
            <link>https://medium.com/g-able/%E0%B8%81%E0%B8%B2%E0%B8%A3-transcribe-%E0%B9%80%E0%B8%AA%E0%B8%B5%E0%B8%A2%E0%B8%87%E0%B8%9E%E0%B8%B9%E0%B8%94%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2%E0%B9%84%E0%B8%97%E0%B8%A2%E0%B9%83%E0%B8%AB%E0%B9%89%E0%B9%80%E0%B8%9B%E0%B9%87%E0%B8%99%E0%B8%82%E0%B9%89%E0%B8%AD%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1-thai-speech-to-text-da40961dc0a6?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/da40961dc0a6</guid>
            <category><![CDATA[whisper]]></category>
            <category><![CDATA[speech-to-text-api]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[openai-whisper-model]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Wiz]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 02:57:07 GMT</pubDate>
            <atom:updated>2025-03-06T02:58:39.710Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3JFbI3LhIoAo5jMR" /></figure><p>โพสนี้เราจะมาทดลองการแปลง (transcribe) เสียงพูดภาษาไทยให้เป็นข้อความ (text) โดยใช้โมเดล Whisper จาก OpenAI</p><p>จากหน้าเวปของของ OpenAI ตอนนี้โมเดล Whisper สามารถรับข้อมูล input file ที่มีขนาดใหญ่สูงสุดที่ 25MB โดย format ที่รองรับก็มี mp3, mp4, mpeg, m4a, wav, webm</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*UidX6HxI7KdEdo0xTHEMyQ.png" /></figure><p>ส่วนภาษาที่รองรับก็มีหลายภาษาและแน่นอนมีภาษาไทยด้วย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*tE-HBMCPZzG0ZyeNpj7M1w.png" /><figcaption>ลิงค์อ้างอิงจาก OpenAI — <a href="https://platform.openai.com/docs/guides/speech-to-text/supported-languages/#supported-languages">https://platform.openai.com/docs/guides/speech-to-text/supported-languages/#supported-languages</a></figcaption></figure><p>สำหรับข้อมูลที่จะมาทดสอบ เราจะใช้คลิปใน Youtube มาทดสอบการแปลง Speech-to-Text เพื่อจะได้ดูความถูกต้องของผลลัพธ์ด้วยว่าถูกต้องมากน้อยเพียงใด</p><p>Input: ขอยืมคลิปจาก Youtube <a href="https://www.youtube.com/watch?v=Fj-0mVcP7GE">https://www.youtube.com/watch?v=Fj-0mVcP7GE</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFj-0mVcP7GE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFj-0mVcP7GE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFj-0mVcP7GE%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/46ba75810ee654b0b31916cacfd13a76/href">https://medium.com/media/46ba75810ee654b0b31916cacfd13a76/href</a></iframe><p>ในตัวอย่างนี้ เราจะใช้เครื่องมือในการ download คลิป video ออกมาจาก Youtube คือ yt-dlp สำหรับ code ในคลิปนี้สามารถ copy ไป run ใน Google Colab ได้เลย</p><pre>!pip install yt-dlp<br>!yt-dlp -x --audio-format mp3 https://www.youtube.com/watch?v=Fj-0mVcP7GE<br><br># หลังจาก download เรียบร้อยแล้วเปลี่ยนชื่อให้เป็น metro.mp3</pre><p>code ในการเรียกใช้ whisper-1 model เพื่อ transcribe วิดีโอ ก็มีสั้นๆ แบบนี้</p><pre>from openai import OpenAI<br>import os<br>from google.colab import userdata<br><br>os.environ[&quot;OPENAI_API_KEY&quot;] = userdata.get(&#39;OPENAI_API_KEY&#39;)<br><br>client = OpenAI()<br><br>audio_file = open(&quot;metro.mp3&quot;, &quot;rb&quot;)<br>transcription = client.audio.transcriptions.create(<br>    file=audio_file,<br>    model=&quot;whisper-1&quot;,<br>    response_format=&quot;verbose_json&quot;,<br>    timestamp_granularities=[&quot;word&quot;]<br>)<br><br><br># Extract words from the transcription<br>words = transcription.words<br><br># Print in a readable format<br>for word_data in words:<br>    print(f&quot;{word_data.start} - {word_data.end}: {word_data.word}&quot;)</pre><p>จากนั้นเราก็จะเอา text ที่ได้มารวมกัน</p><pre># Concatenate all words<br>concatenated_text = &quot;&quot;<br>for word_data in words:<br>    # Use dot notation to access the &#39;text&#39; attribute<br>    concatenated_text += word_data.word<br><br>concatenated_text</pre><p>ก็จะได้ Output ตามด้านล่าง สังเกตดูว่าอาจจะอ่านยากสักนิดนึง เนื่องจากยังไม่มีการใส่เครื่องหมายวรรคตอน ส่วนความถูกต้องนั้นถือว่าใช้ได้ประมาณนึง เท่าที่ดูด้วยสายตาคร่าวๆ คิดว่าความถูกต้องเกิน 80–85% ขึ้นไป</p><blockquote>‘สถานีต่อไปสถานีปลายทางหมอชิดพอวันนึงเราไปขึ้นBTSฉันเป็นใครนี้ฉันหมอกอาดไปบอกเขาแล้วก็พยายามแบบอย่าให้ใครจำได้เลยนะว่าเป็นเราหรือว่าบางทีก็จะแบบทำไมคำนี้มันน่าจะอย่างนี้มั้ยอยากมีโอกาสแก้ตัวแต่ในความเป็นจริงคือลูกค้าแบบว่าพอแล้วค่ะพี่รักษาพอนะค่ะขอแบบพอแค่นี้ก่อนคือลูกค้าพอใจแบบนี้แล้วค่ะสถานีต่อไปไทรัฐพลัสเน็คสเตชันไทรัฐพลัสMyvoiceinyoureverydaylifeเราได้มีโอกาสเข้าไปบันถึงเสียงให้กับทางรถไฟฟ้าBTSเป็น10ปีแล้วเชื่อไหมว่าแรกๆก็มีที่พี่พูดแบบนี้ห้ามวางกระเป๋าบนผืนรถหรือว่ากรุณาเดินเข้าด้านในของขะบวนรถมันเป็นไปไม่ได้อยู่แล้วค่ะที่เราจะทำแบบนั้นใช่ไหมคะเเต่ถ้าเราพูดอ่อนเกินไปอย่างเช่นว่ากรุณาเดินเข้าด้านในของขะบวนรถและจะผ่วงเเซาตาราวตลอดการเดินทางลูกค้าบอกว่าคุณรัทกลาวคะถ้าคุณรัทกลาวพูดแบบนี้ก็คือไม่มีใครทำค่ะก็เลยต้องอยู่ระหว่างตรงกลางกับการแจ้งให้สาบแต่เป็นการขอความกรุณาอยู่ในธีก็อย่างล่าสุดที่พี่ไปร่วมแสดงWaterfallANewMusicalก็จะมีพรินซิปเปอร์นักแสดงหลักเดินเข้ามาบอกรัทกลาวYouguidedmetodayพี่ก็UhWhereเอ๊ะฉันไปพาเขาเที่ยวตอนไหนเหรอแบบนี้เขาก็เลยบอกว่านี่ไงบนBTSคือเขาโดยสารไปที่นู้นที่นี่แล้วเขาก็ได้ยินเสียงเราทางนี้ต่อไปสยามเรายิ่งดีใจมากขึ้นไปอีกเพราะว่ารู้สึกว่าโอ้เสียงเราคือเป็นประโยชน์บอกให้เขาได้ทราบว่าเขาจะต้องเตรียมตัวนะจะต้องลงแล้วหรือว่าไม่เคยขึ้นเราจะตั้งใจฟังเป็นพิเศษใช่ไหมเพราะว่าเรากลัวลงเสียงก็เป็นสิ่งที่สำคัญมากๆที่จะช่วยนำทางให้เขาเหล่านั้นได้เราไม่รู้จริงๆว่าเสียงของเรามันไปผูกผันกับวิถีชีวิตของผู้โดยสารอย่างโอว์เมี๊��ครับใครจะไปคิดว่าวันนึงเขาจะบอกว่าพี่ๆมาพูดอันนี้ให้ผมหน่อยอะไรอย่างงี้เรารู้สึกว่ามันเป็นเกียจกับชีวิตเราเรารู้สึกขอบคุณเรารู้สึกตอบแทนอะไรให้กับผู้คนที่โดยสารแล้วได้ยินเสียงเรายินดีมากๆค่ะเสียงเป็นสิ่งที่ธรรมชาติสร้างขึ้นใช้บงบอกความรู้สึกใช้สื่อสารสร้างพลังงานบวกสร้างกำลังใจสร้างความสุขสร้างความเศร้าเป็นเพื่อนได้หลายๆอย่างเพราะฉะนั้นก็เลยผลลับออกมาก็จะเป็นกรุณาเดินเข้าด้านในของกระบวนรถจับห่วงเส้วหรือราวขอบคุณ&lt;’</blockquote><p>จากนั้นเราอาจจะส่ง output ที่ได้ไปให้ LLM ช่วยจัด format เพื่อให้อ่านง่ายขึ้น ก็จะได้แบบนี้</p><p><strong>สถานีต่อไป สถานีปลายทางหมอชิต</strong></p><p>พอวันนึงเราไปขึ้น BTS ฉันเป็นใคร? นี่ฉันหมอกอาดไปบอกเขา แล้วก็พยายามแบบอย่าให้ใครจำได้เลยนะว่าเป็นเราหรือว่า บางทีก็จะแบบ “ทำไมคำนี้มันน่าจะอย่างนี้มั้ย?” อยากมีโอกาสแก้ตัว แต่ในความเป็นจริงคือลูกค้าแบบว่า</p><p><em>“พอแล้วค่ะพี่ รักษาพอนะคะ ขอแบบพอแค่นี้ก่อน คือลูกค้าพอใจแบบนี้แล้วค่ะ”</em></p><p><strong>สถานีต่อไป ไทรัฐพลัส<br>เน็คสเตชัน ไทรัฐพลัส</strong></p><p><em>“My voice in your everyday life”</em></p><p>เราได้มีโอกาสเข้าไปบันทึกเสียงให้กับทางรถไฟฟ้า BTS เป็น 10 ปีแล้ว เชื่อไหมว่าแรก ๆ ก็มีที่พี่พูดแบบนี้</p><p><em>“ห้ามวางกระเป๋าบนพื้นรถ”</em> หรือว่า <em>“กรุณาเดินเข้าด้านในของขบวนรถ”</em></p><p>มันเป็นไปไม่ได้อยู่แล้วค่ะ ที่เราจะทำแบบนั้น ใช่ไหมคะ? แต่ถ้าเราพูดอ่อนเกินไป อย่างเช่นว่า</p><p><em>“กรุณาเดินเข้าด้านในของขบวนรถ และจับห่วงเสาหรือราวตลอดการเดินทาง”</em></p><p>ลูกค้าบอกว่า</p><p><em>“คุณรัทกลาวคะ ถ้าคุณรัทกลาวพูดแบบนี้ก็คือไม่มีใครทำค่ะ”</em></p><p>ก็เลยต้องอยู่ระหว่างตรงกลางกับการแจ้งให้ทราบ แต่เป็นการขอความกรุณาอยู่ในที</p><p>ก็อย่างล่าสุดที่พี่ไปร่วมแสดง <em>Waterfall: A New Musical</em> ก็จะมีพรินซิปเปิล (Principle) นักแสดงหลักเดินเข้ามาบอกรัทกลาวว่า</p><p><em>“You guided me today.”</em></p><p>พี่ก็แบบ <em>“Uh… Where?”</em> เอ๊ะ! ฉันไปพาเขาเที่ยวตอนไหนเหรอ?</p><p>เขาก็เลยบอกว่า <em>“นี่ไง! บน BTS”</em> คือเขาโดยสารไปที่นู้นที่นี่ แล้วเขาก็ได้ยินเสียงเรา</p><p><strong>“ทางนี้ต่อไป สยาม”</strong></p><p>เรายิ่งดีใจมากขึ้นไปอีก เพราะรู้สึกว่า <em>โอ้! เสียงเราคือเป็นประโยชน์</em> บอกให้เขาทราบว่าเขาจะต้องเตรียมตัวนะ จะต้องลงแล้ว หรือว่าถ้าไม่เคยขึ้น เราจะตั้งใจฟังเป็นพิเศษใช่ไหม? เพราะเรากลัวลงผิด</p><p>เสียงก็เป็นสิ่งที่สำคัญมาก ๆ ที่จะช่วยนำทางให้เขาเหล่านั้นได้ เราไม่รู้จริง ๆ ว่าเสียงของเรามันไปผูกพันกับวิถีชีวิตของผู้โดยสารอย่างไร</p><p><em>“โอ้… เมี๊ยวครับ”</em></p><p>ใครจะไปคิดว่าวันนึงเขาจะบอกว่า</p><p><em>“พี่ ๆ มาพูดอันนี้ให้ผมหน่อย”</em></p><p>อะไรอย่างนี้ เรารู้สึกว่ามันเป็นเกียรติของชีวิต เรารู้สึกขอบคุณ เรารู้สึกตอบแทนอะไรให้กับผู้คนที่โดยสารแล้วได้ยินเสียงเรา ยินดีมาก ๆ ค่ะ</p><p>เสียงเป็นสิ่งที่ธรรมชาติสร้างขึ้น ใช้บ่งบอกความรู้สึก ใช้สื่อสาร สร้างพลังงานบวก สร้างกำลังใจ สร้างความสุข สร้างความเศร้า เป็นเพื่อนได้หลาย ๆ อย่าง</p><p>เพราะฉะนั้น ผลลัพธ์ออกมาก็จะเป็น</p><p><em>“กรุณาเดินเข้าด้านในของขบวนรถ จับห่วงเสาหรือราว ขอบคุณ”</em></p><p>สำหรับโพสนี้ก็ขอจบเพียงเท่านี้ หวังว่าคงมีประโยชน์ในการนำไปประยุกต์ใช้หรือต่อยอดได้ แล้วพบกันใหม่</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da40961dc0a6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/%E0%B8%81%E0%B8%B2%E0%B8%A3-transcribe-%E0%B9%80%E0%B8%AA%E0%B8%B5%E0%B8%A2%E0%B8%87%E0%B8%9E%E0%B8%B9%E0%B8%94%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2%E0%B9%84%E0%B8%97%E0%B8%A2%E0%B9%83%E0%B8%AB%E0%B9%89%E0%B9%80%E0%B8%9B%E0%B9%87%E0%B8%99%E0%B8%82%E0%B9%89%E0%B8%AD%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1-thai-speech-to-text-da40961dc0a6">การ transcribe เสียงพูดภาษาไทยให้เป็นข้อความ (Thai Speech-to-Text)</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[uv — a new Python package management]]></title>
            <link>https://medium.com/g-able/uv-a-new-python-package-management-6ca84d4cf17a?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/6ca84d4cf17a</guid>
            <category><![CDATA[python-package-management]]></category>
            <category><![CDATA[li̇nux]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[uv]]></category>
            <category><![CDATA[linux-tutorial]]></category>
            <dc:creator><![CDATA[Wiz]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 02:56:54 GMT</pubDate>
            <atom:updated>2025-06-08T02:39:43.692Z</atom:updated>
            <content:encoded><![CDATA[<h3>uv — a new Python package management</h3><p>บล็อกนี้มีจุดมุ่งหมายเพื่อแนะนำการใช้งาน <strong>uv</strong> อย่างมีประสิทธิภาพ ไม่ว่าคุณจะเป็นมือใหม่ที่ต้องการทำให้เวิร์กโฟลว์ของคุณคล่องตัวขึ้น หรือเป็นนักพัฒนาที่มีประสบการณ์ที่กำลังมองหาทางเลือกที่เร็วกว่าเครื่องมือเดิม คู่มือนี้จะพาคุณไปเรียนรู้ทุกสิ่งที่จำเป็นต้องรู้เกี่ยวกับ uv</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-oLUA98FyOu5moRo" /><figcaption>E</figcaption></figure><p>Python เป็นหนึ่งในภาษาการเขียนโปรแกรมที่ได้รับความนิยมมากที่สุด ถูกใช้งานอย่างแพร่หลายในการพัฒนาเว็บ งานด้านวิทยาศาสตร์ข้อมูล ระบบอัตโนมัติ และอื่นๆ อย่างไรก็ตาม เมื่อโปรเจ็กต์มีความซับซ้อนมากขึ้น การจัดการไลบรารีและสภาพแวดล้อมก็กลายเป็นความท้าทายสำคัญ นักพัฒนา Python มักเผชิญกับปัญหาต่างๆ เช่น:</p><ul><li><strong>ความขัดแย้งของไลบรารี (Dependency Conflicts):</strong> ไลบรารีต่างๆ อาจต้องใช้เวอร์ชันที่ขัดแย้งกันของไลบรารีเดียวกัน ส่งผลให้เกิดข้อผิดพลาดที่น่าหงุดหงิด</li><li><strong>เวลาติดตั้งที่ล่าช้า (Slow Installation Times):</strong> การติดตั้งไลบรารี โดยเฉพาะในโปรเจ็กต์ขนาดใหญ่ อาจใช้เวลานานเนื่องจากต้องแก้ไขความขัดแย้งของไลบรารีและ extensions ต่างๆ</li><li><strong>การจัดการสภาพแวดล้อม (Environment Management):</strong> การทำให้สภาพแวดล้อมสำหรับการพัฒนา ทดสอบ และใช้งานจริงมีความสอดคล้องกันเป็นเรื่องที่ยุ่งยาก โดยเฉพาะเมื่อทำงานร่วมกับทีมหรือหลายเครื่อง</li><li><strong>ความสามารถในการทำซ้ำ (Reproducibility):</strong> การทำให้แน่ใจว่าโปรเจ็กต์สามารถทำงานได้เหมือนกันในทุกระบบ ต้องมีการจัดการไลบรารีและเวอร์ชันอย่างรอบคอบ</li></ul><p>เครื่องมือแบบดั้งเดิม เช่น <strong>pip, pipenv และ virtualenv</strong> เป็นตัวเลือกที่นิยมสำหรับการจัดการไลบรารีและสภาพแวดล้อมของ Python แม้ว่าจะทรงพลัง แต่บางครั้งก็อาจทำงานได้ช้า ใช้งานยาก หรือมีข้อจำกัดบางอย่าง ซึ่งตรงนี้ <strong>uv</strong> เข้ามาช่วยแก้ปัญหา</p><h4>uv คืออะไร?</h4><p><strong>uv</strong> เป็นเครื่องมือรุ่นใหม่ที่มีประสิทธิภาพสูง ออกแบบมาเพื่อลดปัญหาต่างๆ ในการจัดการไลบรารีของ Python โดย uv มุ่งเน้นที่ความเร็วและประสิทธิภาพ ช่วยให้การสร้างสภาพแวดล้อมเสมือน การติดตั้งแพ็กเกจ และการจัดการไลบรารีเป็นเรื่องง่ายขึ้น uv ผสานรวมคุณสมบัติที่ดีที่สุดของเครื่องมือเก่า พร้อมทั้งเพิ่มประสิทธิภาพให้เร็วขึ้นและเชื่อถือได้มากขึ้น</p><p><strong>คุณสมบัติเด่นของ uv:</strong></p><ul><li>🚀 <strong>ติดตั้งไลบรารีได้เร็วเป็นพิเศษ</strong> (Blazing-Fast Installation): uv ใช้อัลกอริธึมการจัดการไลบรารีขั้นสูงและการประมวลผลแบบขนาน ทำให้ติดตั้งแพ็กเกจได้รวดเร็วอย่างมาก</li><li>🏗 <strong>สภาพแวดล้อมเสมือนที่เบาและมีประสิทธิภาพ</strong> (Lightweight Virtual Environments): การสร้างและจัดการสภาพแวดล้อมเสมือนด้วย uv เป็นไปอย่างรวดเร็วและมีประสิทธิภาพ เหมาะสำหรับทั้งโปรเจ็กต์เล็กและใหญ่</li><li>🌎 <strong>รองรับทุกแพลตฟอร์ม</strong> (Cross-Platform Compatibility): ไม่ว่าคุณจะใช้ Windows, macOS หรือ Linux uv ก็ทำงานได้อย่างราบรื่น</li><li>🔄 <strong>เพิ่มความสามารถในการทำซ้ำ</strong> (Enhanced Reproducibility): uv ช่วยให้ไลบรารีของคุณติดตั้งตามที่ระบุไว้เป๊ะๆ ลดปัญหาที่เกี่ยวข้องกับสภาพแวดล้อมที่ไม่สอดคล้องกัน</li></ul><h4>การติดตั้ง (Installation)</h4><p>ทำการติดตั้ง uv ด้วยคำสั่ง ( อ้างอิง <a href="https://docs.astral.sh/uv/getting-started/installation/">Installation | uv</a> )</p><pre>curl -LsSf https://astral.sh/uv/install.sh | sh</pre><p>แล้วตามด้วยการติดตั้ง Python</p><pre>uv python install 3.12<br>python --version<br><br># เรียกดู Python version ในระบบ<br>uv python list</pre><p>จากนั้น ทำการ activate environment ด้วยคำสั่ง</p><pre>source $HOME/.local/bin/env</pre><h3>การสร้าง Project Directory</h3><pre>user-test:~/llm$ uv init test-proj<br>Initialized project `test-proj` at `/home/user-test/llm/test-proj`</pre><p>uv จะสร้าง project artifact มาให้ตามตัวอย่าง</p><pre>user-test:~/llm$ cd test-proj/<br>user-test:~/llm/test-proj$ ls -la<br>total 28<br>drwxr-xr-x  3 user-test user-test 4096 Feb 16 20:19 .<br>drwxrwxr-x 16 user-test user-test 4096 Feb 16 20:19 ..<br>drwxr-xr-x  7 user-test user-test 4096 Feb 16 20:19 .git<br>-rw-r--r--  1 user-test user-test  109 Feb 16 20:19 .gitignore<br>-rw-r--r--  1 user-test user-test   87 Feb 16 20:19 hello.py<br>-rw-r--r--  1 user-test user-test  155 Feb 16 20:19 pyproject.t:oml<br>-rw-r--r--  1 user-test user-test    5 Feb 16 20:19 .python-version<br>-rw-r--r--  1 user-test user-test    0 Feb 16 20:19 README.md<br><br>user-test:~/llm/test-proj$ uv run hello.py<br>Using CPython 3.12.9<br>Creating virtual environment at: .venv<br>Hello from test-proj!</pre><p>ตัวอย่างการ run code</p><pre># ทำการ run code โดยการใช้คำสั่ง uv run<br>user-test:~/llm/test-proj$ uv run hello.py<br>Using CPython 3.12.9<br>Creating virtual environment at: .venv<br>Hello from test-proj!<br><br># อีกวิธีหนึ่งคือใช้คำสั่ง uvx<br>user-test:~/llm/test-proj$ uvx python hello.py<br>Hello from test-proj!</pre><h3>การ activate Virtual Environment</h3><pre>user-test:~/llm/test-proj$ source .venv/bin/activate<br>(test-proj) user-test:~/llm/test-proj$ </pre><h3>Project Metadata and Dependencies — ไฟล์ pyproject.toml</h3><p>ไฟล์ pyproject.toml เป็นที่เก็บ Project Metadata และ Dependencies ทำให้สะดวกต่อการ Reproducibility และแชร์ระหว่างทีมงานพัฒนา</p><pre>(test-proj) user-test:~/llm/test-proj$ cat pyproject.toml <br>[project]<br>name = &quot;test-proj&quot;<br>version = &quot;0.1.0&quot;<br>description = &quot;Add your description here&quot;<br>readme = &quot;README.md&quot;<br>requires-python = &quot;&gt;=3.12&quot;<br>dependencies = []<br></pre><p>การ add package ในโปรเจ็ค ในที่นี้จะเพิ่ม package ของ fastapi และ uvicorn เพื่อ microservices ง่ายๆ โดยใช้ FastAPI</p><pre>(test-proj) user-test:~/llm/test-proj$ uv add fastapi uvicorn<br>Resolved 14 packages in 544ms<br>Installed 12 packages in 135ms<br> + annotated-types==0.7.0<br> + anyio==4.8.0<br> + click==8.1.8<br> + fastapi==0.115.8<br> + h11==0.14.0<br> + idna==3.10<br> + pydantic==2.10.6<br> + pydantic-core==2.27.2<br> + sniffio==1.3.1<br> + starlette==0.45.3<br> + typing-extensions==4.12.2<br> + uvicorn==0.34.0<br><br># สังเกตว่า uv จะทำการเพิ่ม dependencies ในไฟล์ pyproject.toml ให้อัตโนมัติ<br>(test-proj) user-test:~/llm/test-proj$ cat pyproject.toml <br>[project]<br>name = &quot;test-proj&quot;<br>version = &quot;0.1.0&quot;<br>description = &quot;Add your description here&quot;<br>readme = &quot;README.md&quot;<br>requires-python = &quot;&gt;=3.12&quot;<br>dependencies = [<br>    &quot;fastapi&gt;=0.115.8&quot;,<br>    &quot;uvicorn&gt;=0.34.0&quot;,<br>]</pre><p>การแสดงรายการ package ที่ถูกติดตั้ง</p><pre>(test-proj) user-test:~/llm/test-proj$ uv pip list<br>Package           Version<br>----------------- -------<br>annotated-types   0.7.0<br>anyio             4.8.0<br>click             8.1.8<br>fastapi           0.115.8<br>h11               0.14.0<br>idna              3.10<br>pydantic          2.10.6<br>pydantic-core     2.27.2<br>sniffio           1.3.1<br>starlette         0.45.3<br>typing-extensions 4.12.2<br>uvicorn           0.34.0</pre><p>ตัวอย่างโปรแกรม simple FastAPI</p><pre>(test-proj) user-test:~/llm/test-proj$ cat main.py <br>from fastapi import FastAPI<br><br>from enum import Enum<br><br>app = FastAPI()<br><br>@app.get(&quot;/hello/{name}&quot;)<br>async def hello(name):<br>    return f&quot;Hello, {name}. Welcome back to my website!&quot;</pre><p>Start FastAPI ด้วย uvicorn command</p><pre>(test-proj) user-test:~/llm/test-proj$ uvicorn main:app --port 9000 --reload<br>INFO:     Will watch for changes in these directories: [&#39;/home/user-test/llm/test-proj&#39;]<br>INFO:     Uvicorn running on http://127.0.0.1:9000 (Press CTRL+C to quit)<br>INFO:     Started reloader process [3970603] using StatReload<br>INFO:     Started server process [3970606]<br>INFO:     Waiting for application startup.<br>INFO:     Application startup complete.<br></pre><p>ทดสอบการ call API ด้วยคำสั่ง curl</p><pre>user-test:~/llm/test-proj$ curl http://127.0.0.1:9000/hello/Wiz<br>&quot;Hello, Wiz. Welcome back to my website!&quot;<br><br>user-test:~/llm/test-proj$ curl http://127.0.0.1:9000/hello/JohnWick<br>&quot;Hello, JohnWick. Welcome back to my website!&quot;</pre><p>Output Log แสดง URL ที่ถูกเรียก</p><pre>(test-proj) user-test:~/llm/test-proj$ uvicorn main:app --port 9000 --reload<br>INFO:     Will watch for changes in these directories: [&#39;/home/user-test/llm/test-proj&#39;]<br>INFO:     Uvicorn running on http://127.0.0.1:9000 (Press CTRL+C to quit)<br>INFO:     Started reloader process [3970603] using StatReload<br>INFO:     Started server process [3970606]<br>INFO:     Waiting for application startup.<br>INFO:     Application startup complete.<br>INFO:     127.0.0.1:56232 - &quot;GET /hello/Wiz HTTP/1.1&quot; 200 OK<br>INFO:     127.0.0.1:42178 - &quot;GET /hello/JohnWick HTTP/1.1&quot; 200 OK</pre><h3>การ add Tool</h3><p>เป็นการเพิ่ม tool หรือ command line อื่นๆ ที่จำเป็นต้องใช้ในโปรเจ็ค ทำให้สะดวกต่อการใช้งาน เช่น สมมติว่าเราต้องการติดตั้งคำสั่ง huggingface-cli เพิ่มเติม</p><pre>(test-proj) user-test:~/llm/test-proj$ uv tool install huggingface_hub --force<br>Resolved 12 packages in 31ms<br>Installed 12 packages in 137ms<br> + certifi==2025.1.31<br> + charset-normalizer==3.4.1<br> + filelock==3.17.0<br> + fsspec==2025.2.0<br> + huggingface-hub==0.28.1<br> + idna==3.10<br> + packaging==24.2<br> + pyyaml==6.0.2<br> + requests==2.32.3<br> + tqdm==4.67.1<br> + typing-extensions==4.12.2<br> + urllib3==2.3.0<br>Installed 1 executable: huggingface-cli<br><br>(test-proj) user-test:~/llm/test-proj$ uv tool list<br>huggingface-hub v0.28.1<br>- huggingface-cli<br><br>(test-proj) user-test:~/llm/test-proj$ which huggingface-cli<br>/home/user-test/.local/bin/huggingface-cli</pre><p>การ Export requirements.txt</p><pre>uv export --format requirements-txt &gt; requirements.txt</pre><p>หากเพื่อนๆ อ่านมาถึงตรงนี้ คุณจะมีความรู้เพียงพอในการใช้ <strong>uv</strong> เพื่อจัดการแพ็กเกจ Python ได้อย่างเต็มศักยภาพ และทำให้การพัฒนา Python ของคุณรวดเร็วขึ้น ง่ายขึ้น และมีประสิทธิภาพมากขึ้น! 🚀</p><p>มาลองใช้ <strong>uv</strong> และค้นพบว่ามันสามารถทำให้ชีวิตของนักพัฒนา Python ง่ายขึ้นได้อย่างไร! แล้วพบกันใหม่ ฝากกดตบมือเพื่อเป็นกำลังให้ผู้เขียนหน่อยนะทุกคน 👍👏🏻👏👏</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ca84d4cf17a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/uv-a-new-python-package-management-6ca84d4cf17a">uv — a new Python package management</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ทำความรู้จัก Robot Framework: A Beginner’s Guide #EP1 ]]></title>
            <link>https://medium.com/g-able/%E0%B8%97%E0%B8%B3%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81-robot-framework-a-beginners-guide-ep1-f940cc444155?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/f940cc444155</guid>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[robot-framework]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[cha cha]]></dc:creator>
            <pubDate>Thu, 13 Feb 2025 08:53:02 GMT</pubDate>
            <atom:updated>2025-02-19T02:35:51.078Z</atom:updated>
            <content:encoded><![CDATA[<p>หากพูดถึง <em>Test Automation</em> เชื่อว่าหลายคนอาจเคยได้ยินชื่อ <strong>Robot Framework</strong> ผ่านหูผ่านตากันมาบ้าง แต่จริง ๆ แล้วมันคืออะไร? ใช้งานอย่างไร? และทำไมถึงเป็นที่นิยมในหมู่ <em>Tester</em> และ <em>Developer</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZyY871sbmeJsaQhAUYOp-w.png" /></figure><p><strong>Robot Framework</strong> เป็น <em>Open Source Framework</em> ที่ถูกพัฒนาขึ้นเพื่อใช้ในการ <em>Test Automation</em> และ <em>Robotic Process Automation (RPA)</em> ซึ่งได้รับความนิยม ด้วยความที่มี <em>syntax</em> ที่อ่านเข้าใจได้ไม่ยาก ทำให้ผู้ที่ไม่มีพื้นฐานการเขียนโค้ดก็สามารถเรียนรู้และใช้งานได้อย่างง่าย</p><p>ในบทความนี้ เราจะพาคุณไปทำความรู้จักกับพื้นฐานและโครงสร้างของ <em>Robot Framework</em> ว่ามันมีหน้าตาเป็นแบบไหน และทำงานอย่างไร</p><p>มาเริ่มกันเลย! 🚀</p><h3>🤖Robot Framework คืออะไร?</h3><p><strong>Robot Framework</strong> เป็นเครื่องมือที่ช่วยให้เราสามารถเขียน <strong>Test Cases</strong> ได้อย่างสะดวก โดยใช้หลักการ <strong>Keyword-Driven Testing</strong> ซึ่งช่วยให้การสร้างและจัดการเทสต์เคสเป็นเรื่องง่าย</p><h4>จุดเด่นของ robot framework</h4><p>— <strong>Syntax เข้าใจง่าย</strong> — แม้ไม่มีพื้นฐานการเขียนโค้ดก็สามารถเรียนรู้ได้<br> — <strong>รองรับ Test Automation หลากหลายรูปแบบ</strong> ใช้ได้ทั้งเว็บ, API, และ RPA<br> — <strong>Keyword-Driven ทำให้การเขียน Test Case ง่ายขึ้น</strong><br> — <strong>รองรับการทำงานร่วมกับ Library ต่าง ๆ</strong> เช่น <em>Selenium, Requests, Database</em> เป็นต้น</p><h3>🔍 <strong>ทำความรู้จักรูปร่างหน้าตาของ Robot framework ซะหน่อย</strong></h3><p>Robot Framework ประกอบไปด้วย <strong>4 ส่วนหลัก</strong> ได้แก่ <strong>Settings, Variables, Test Cases และ Keywords</strong> แต่ละส่วนมีหน้าที่ดังนี้</p><h4>Settings — ตั้งค่าต่าง ๆ</h4><p>เป็นส่วนที่ใช้กำหนดค่า <strong>Library, Resource Files</strong> และกำหนด Action ที่ต้องทำก่อนหรือหลังการรัน</p><pre>** Settings ***<br>Documentation     keywords.resource  <br>Library           SeleniumLibrary</pre><h4>Variables — กำหนดค่าตัวแปร</h4><p>ใช้สำหรับเก็บข้อมูลที่จำเป็นต้องใช้ในเทสต์เคส เช่น URL, Username, Password เป็นต้น โดยรองรับทั้ง <strong>Scalar, List และ Dictionary</strong></p><pre>*** Variables ***<br>${scalar_name}       value<br>@{list_name}         ListValue1  ListValue2<br>&amp;{dictionary_name}   key1=value1  key2=value2</pre><h4>Keywords — กำหนดฟังก์ชันการทำงาน</h4><p>ส่วนนี้ทำหน้าที่คล้ายฟังก์ชันในโปรแกรมมิ่ง ใช้สำหรับรวมชุดคำสั่งให้สามารถเรียกใช้งานได้สะดวกขึ้น</p><pre>*** Keywords ***<br>User Login<br>    [Arguments]    ${username}    ${password}<br>    Input Text     name=email     ${username}  <br>    Input Text     name=pass      ${password}<br>    Submit Form</pre><h4>Test Cases — กำหนดชุดคำสั่งทดสอบ</h4><p>เป็นส่วนที่ใช้รันทดสอบ โดยสามารถเรียกใช้ <strong>Keywords</strong> และ <strong>Variables</strong> ที่กำหนดไว้ได้</p><pre>*** Test Cases ***<br>Login Test<br>    Open Browser    https://www.facebook.com    chrome<br>    User Login      test@example.com    password123</pre><blockquote>โดยทั้งหมดนี้สามารถศึกษา syntax เพิ่มเติมได้ที่ <a href="https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html">Robot Framework User Guide</a> <em>📑</em></blockquote><h3>💾ตัวอย่างการใช้งานจริงรูปแบบไฟล์ .robot</h3><p>เมื่อรวมโครงสร้างทั้งหมดเข้าด้วยกัน เราจะได้เทสต์เคสที่ใช้ <em>Robot Framework</em> ทำการล็อกอินเข้า Facebook แบบง่าย ๆ</p><pre>*** Settings ***<br>Library           SeleniumLibrary</pre><pre>*** Variables ***<br>${URL}          <a href="https://www.facebook.com/">https://www.facebook.com</a><br>${BROWSER}      chrome<br>${USERNAME}     test@example.com<br>${PASSWORD}     password123</pre><pre>*** Keywords ***<br>Open Facebook<br>    Open Browser    ${URL}    ${BROWSER}</pre><pre>User Login<br>    Input Text    name=email   ${USERNAME}  <br>    Input Text    name=pass    ${PASSWORD}  <br>    Submit Form</pre><pre>*** Test Cases ***<br>Login to Facebook<br>    Open Facebook<br>    User Login</pre><p>ผลลัพธ์เมื่อรัน <em>Test Case</em> นี้ Robot Framework จะทำการเปิดเบราว์เซอร์ ไปที่ <em>Facebook</em> และล็อกอินให้อัตโนมัติ</p><h3>📌สรุป</h3><p>Robot Framework เป็นหนึ่งในเครื่องมือ <em>Test Automation</em> ที่ช่วยให้การเขียน <em>Test Cases</em> เป็นเรื่องง่ายและสะดวก ด้วย <strong>Keyword-Driven Testing</strong> ทำให้การทดสอบมีโครงสร้างที่ชัดเจน และเป็นมิตรกับทั้งผู้เริ่มต้นและผู้มีประสบการณ์</p><p><strong>EP ถัดไป</strong> เราจะมาเรียนรู้การติดตั้งและรัน Robot Framework อย่างละเอียด! <br>หากมีคำถาม หรือประสบการณ์เกี่ยวกับ Robot Framework มาร่วมแชร์กันในคอมเมนต์ได้เลยยยยย✍️😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f940cc444155" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/%E0%B8%97%E0%B8%B3%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81-robot-framework-a-beginners-guide-ep1-f940cc444155">ทำความรู้จัก Robot Framework: A Beginner’s Guide #EP1 🤖</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[เขียน Prompt อย่างไร ? ให้ AI มีประสิทธิภาพ]]></title>
            <link>https://medium.com/g-able/%E0%B9%80%E0%B8%82%E0%B8%B5%E0%B8%A2%E0%B8%99-prompt-%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B9%84%E0%B8%A3-%E0%B9%83%E0%B8%AB%E0%B9%89-ai-%E0%B8%A1%E0%B8%B5%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B8%AA%E0%B8%B4%E0%B8%97%E0%B8%98%E0%B8%B4%E0%B8%A0%E0%B8%B2%E0%B8%9E-fb278842c3f5?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/fb278842c3f5</guid>
            <dc:creator><![CDATA[Bairada ]]></dc:creator>
            <pubDate>Wed, 29 Jan 2025 08:58:21 GMT</pubDate>
            <atom:updated>2025-01-29T08:58:21.033Z</atom:updated>
            <content:encoded><![CDATA[<h3>เขียน Prompt อย่างไร ? ให้ AI มีประสิทธิภาพ</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rKngZnXHmMXDOKMP.png" /></figure><p>ในยุคที่เทคโนโลยี AI กำลังเติบโตอย่างรวดเร็ว การนำ AI มาใช้ในการช่วยงานต่างๆ ในบริษัทไอทีสามารถช่วยเพิ่มประสิทธิภาพและลดระยะเวลาการทำงานลงได้มาก แต่การเขียน <strong>prompt</strong> หรือคำสั่งที่ดีสำหรับ AI เป็นสิ่งสำคัญที่ทำให้ได้ผลลัพธ์ที่ตรงกับความต้องการ ในบทความนี้เราจะมาเรียนรู้วิธีการเขียน prompt ที่เหมาะสมสำหรับการทำงานในบริษัทไอที</p><h4>1. การใช้ AI ในการพัฒนาเว็บไซต์หรือแอปพลิเคชัน</h4><p>สำหรับการพัฒนาเว็บไซต์หรือแอปพลิเคชัน AI สามารถช่วยในหลายๆ ด้าน เช่น การแนะนำเทคนิคการเขียนโค้ด หรือการช่วยสร้างฟีเจอร์ต่างๆ ที่ต้องการ ตัวอย่าง prompt ที่สามารถใช้ได้:</p><blockquote><strong>ตัวอย่าง Prompt</strong></blockquote><blockquote>“ช่วยแนะนำวิธีการเพิ่มฟีเจอร์การล็อกอินด้วย OAuth 2.0 ในแอปพลิเคชัน React?”</blockquote><blockquote>“อธิบายกระบวนการ deploy แอปพลิเคชัน Next.js ไปยัง Vercel พร้อมขั้นตอนการตั้งค่า”</blockquote><h4>2. การใช้ AI ในการวิเคราะห์ข้อมูล</h4><p>ในด้านการวิเคราะห์ข้อมูล, AI สามารถช่วยในการทำงานที่เกี่ยวข้องกับข้อมูลขนาดใหญ่ เช่น การสร้างกราฟ หรือการหาความสัมพันธ์ระหว่างข้อมูล ตัวอย่าง prompt ที่ใช้ได้:</p><blockquote><strong>ตัวอย่าง Prompt</strong></blockquote><blockquote>“ช่วยสร้างการวิเคราะห์ข้อมูลจากไฟล์ CSV ที่มีข้อมูลการขายสินค้าในช่วง 6 เดือนที่ผ่านมา เพื่อหาแนวโน้มที่สำคัญ”</blockquote><blockquote>“เขียนโค้ด Python เพื่อสร้างกราฟแสดงความสัมพันธ์ระหว่างจำนวนผู้ใช้และยอดขายในแอป”</blockquote><h4>3. การใช้ AI ในการพัฒนา API หรือ Backend</h4><p>AI ยังสามารถช่วยในการพัฒนา API หรือ Backend โดยให้คำแนะนำเกี่ยวกับการตั้งค่าระบบต่างๆ และช่วยเขียนโค้ดได้เร็วขึ้น ตัวอย่าง prompt ที่ใช้ได้:</p><blockquote><strong>ตัวอย่าง Prompt</strong></blockquote><blockquote>“ช่วยเขียน API ด้วย Express.js ที่รับข้อมูล JSON จาก POST request และบันทึกลงฐานข้อมูล MongoDB”</blockquote><blockquote>“แนะนำวิธีการเพิ่มการยืนยันตัวตนผู้ใช้ด้วย JWT ในระบบ Backend ที่พัฒนาด้วย Node.js”</blockquote><h4>4. การใช้ AI ในการออกแบบ UX/UI</h4><p>AI ยังสามารถช่วยในการออกแบบส่วนติดต่อผู้ใช้ (UI) หรือประสบการณ์ผู้ใช้ (UX) โดยให้คำแนะนำเกี่ยวกับการออกแบบที่ใช้งานง่ายและดูดี ตัวอย่าง prompt ที่ใช้ได้:</p><blockquote><strong>ตัวอย่าง Prompt</strong></blockquote><blockquote>“ช่วยออกแบบส่วนของหน้าเว็บสำหรับการแสดงผลสถิติที่สวยงามและใช้งานง่ายในแอปพลิเคชัน”</blockquote><blockquote>“เขียนคำแนะนำสำหรับการออกแบบปุ่มที่มีขนาดพอเหมาะและสามารถคลิกได้ง่ายบนมือถือ”</blockquote><h4>5. การใช้ AI ในการจัดการโปรเจ็กต์</h4><p>ในด้านการจัดการโปรเจ็กต์, AI สามารถช่วยจัดทำแผนการทำงาน เช่น Gantt chart หรือการจัดการเวลาให้กับทีมได้ ตัวอย่าง prompt ที่ใช้ได้:</p><blockquote><strong>ตัวอย่าง Prompt</strong></blockquote><blockquote>“แนะนำวิธีการจัดการเวลาของทีมในการพัฒนาแอปพลิเคชันด้วย Agile methodology”</blockquote><blockquote>“ช่วยจัดทำ Gantt chart สำหรับโปรเจ็กต์พัฒนาแอปพลิเคชันเว็บที่ใช้เวลา 6 เดือน”</blockquote><h4>6. การใช้ AI ในการรักษาความปลอดภัย</h4><p>ความปลอดภัยของแอปพลิเคชันเป็นสิ่งสำคัญที่ไม่ควรมองข้าม โดย AI สามารถช่วยให้คำแนะนำเกี่ยวกับการตั้งค่าระบบป้องกันต่างๆ ตัวอย่าง prompt ที่ใช้ได้:</p><blockquote><strong>ตัวอย่าง Prompt</strong></blockquote><blockquote>“อธิบายวิธีการตั้งค่าระบบป้องกันการโจมตีแบบ SQL Injection ในแอปพลิเคชันที่ใช้ MySQL”</blockquote><blockquote>“ช่วยแนะนำขั้นตอนการตรวจสอบความปลอดภัยสำหรับระบบที่ใช้งาน API”</blockquote><h3>สรุป</h3><p>การใช้ AI ในการทำงานภายในบริษัทไอทีสามารถช่วยให้ทีมทำงานได้เร็วขึ้นและมีประสิทธิภาพมากขึ้น แต่สิ่งสำคัญคือการเขียน <strong>prompt</strong> ที่ดีและชัดเจน เพื่อให้ AI สามารถให้คำแนะนำหรือโค้ดที่ตรงกับความต้องการของเราได้อย่างแม่นยำ ดังนั้นการเขียน prompt ที่มีโครงสร้างและชัดเจนจะช่วยให้ AI ตอบโจทย์ได้ดีขึ้นและช่วยให้การทำงานมีประสิทธิภาพสูงสุด</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb278842c3f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/%E0%B9%80%E0%B8%82%E0%B8%B5%E0%B8%A2%E0%B8%99-prompt-%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B9%84%E0%B8%A3-%E0%B9%83%E0%B8%AB%E0%B9%89-ai-%E0%B8%A1%E0%B8%B5%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B8%AA%E0%B8%B4%E0%B8%97%E0%B8%98%E0%B8%B4%E0%B8%A0%E0%B8%B2%E0%B8%9E-fb278842c3f5">เขียน Prompt อย่างไร ? ให้ AI มีประสิทธิภาพ</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ใช้ AI ในงานจริงอย่างไรให้ได้ผล?]]></title>
            <link>https://medium.com/g-able/%E0%B9%83%E0%B8%8A%E0%B9%89-ai-%E0%B9%83%E0%B8%99%E0%B8%87%E0%B8%B2%E0%B8%99%E0%B8%88%E0%B8%A3%E0%B8%B4%E0%B8%87%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B9%84%E0%B8%A3%E0%B9%83%E0%B8%AB%E0%B9%89%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%9C%E0%B8%A5-dd761169dce1?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/dd761169dce1</guid>
            <dc:creator><![CDATA[Bairada ]]></dc:creator>
            <pubDate>Wed, 29 Jan 2025 08:58:13 GMT</pubDate>
            <atom:updated>2025-01-29T08:58:13.234Z</atom:updated>
            <content:encoded><![CDATA[<p>ในยุคปัจจุบัน AI ได้กลายเป็นผู้ช่วยสำคัญที่สามารถยกระดับการทำงานของเราในหลายมิติ แต่การใช้ AI อย่างมีประสิทธิภาพไม่ได้หมายความแค่ <strong>“ใช้ให้เป็น” </strong>แต่ต้อง <strong>“ใช้ให้เหมาะสม”</strong> ด้วย ต่อไปนี้เป็นวิธีที่คุณสามารถนำ AI มาใช้ในงานจริงให้ได้ผลลัพธ์ที่ดีที่สุด</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eVqNvx64lZGUyPDz.jpg" /></figure><h3><strong>1. วิเคราะห์และเลือกเครื่องมือ AI ที่เหมาะสมกับงาน</strong></h3><p>AI มีหลากหลายรูปแบบ เช่น AI สำหรับการเขียนคอนเทนต์ การวิเคราะห์ข้อมูล หรือการจัดการเวลา คุณควรเริ่มต้นด้วยการระบุปัญหาหรือเป้าหมายของคุณ เช่น:</p><blockquote><strong>การจัดการเอกสาร</strong>: ใช้ AI เช่น DocuSign หรือ OCR Tools เพื่อสแกนและจัดเก็บเอกสาร</blockquote><blockquote><strong>การเขียนคอนเทนต์</strong>: ใช้ ChatGPT หรือ Jasper AI ช่วยเขียนบทความหรือสร้างไอเดียใหม่</blockquote><blockquote><strong>การวิเคราะห์ข้อมูล</strong>: ใช้ AI เช่น Power BI หรือ Tableau สำหรับการสร้างรายงานเชิงลึก</blockquote><h3><strong>2. สร้างกระบวนการทำงานร่วมกับ AI</strong></h3><p>AI ไม่ได้ทำงานแทนมนุษย์ได้ 100% แต่สามารถช่วยลดงานที่ซ้ำซ้อนและเพิ่มความเร็วในกระบวนการทำงาน ตัวอย่างเช่น:</p><blockquote>ใช้ AI ช่วยค้นหาข้อมูลพื้นฐาน แล้วคุณค่อยนำข้อมูลเหล่านั้นมาเพิ่มเติมด้วยความคิดสร้างสรรค์</blockquote><blockquote>ใช้ AI สำหรับงานที่ต้องการความแม่นยำ เช่น การตรวจสอบไวยากรณ์ (Grammarly) หรือตารางเวลา (Notion AI)</blockquote><h3><strong>3. ตั้งเป้าหมายที่ชัดเจน</strong></h3><p>ก่อนใช้ AI ควรกำหนดว่าคุณต้องการอะไรจากมัน เช่น:</p><blockquote>ต้องการลดเวลาในการทำงาน</blockquote><blockquote>เพิ่มคุณภาพของงาน</blockquote><blockquote>ลดข้อผิดพลาดที่เกิดจากมนุษย์</blockquote><blockquote>การตั้งเป้าหมายช่วยให้คุณเลือกวิธีใช้งาน AI ได้ตรงจุด และยังช่วยประเมินผลลัพธ์ได้ชัดเจนยิ่งขึ้น</blockquote><h3>4. ฝึกใช้งาน AI และปรับปรุงกระบวนการอย่างต่อเนื่อง</h3><p>AI จะมีประสิทธิภาพสูงสุดเมื่อคุณรู้วิธีการใช้งานอย่างเชี่ยวชาญ ตัวอย่าง:</p><blockquote>ทดลองฟีเจอร์ต่าง ๆ ของเครื่องมือ AI เพื่อดูว่าสิ่งไหนเหมาะสมที่สุด</blockquote><blockquote>ติดตามการอัปเดตของ AI และปรับเปลี่ยนการใช้งานตามฟีเจอร์ใหม่ ๆ</blockquote><h3>5. ไม่พึ่งพา AI มากเกินไป</h3><p>แม้ว่า AI จะช่วยให้การทำงานง่ายขึ้น แต่ก็ยังมีข้อจำกัด เช่น ความคิดสร้างสรรค์และการตัดสินใจเชิงกลยุทธ์ ยังคงต้องอาศัยมนุษย์ ดังนั้น:</p><blockquote>ใช้ AI เป็นเครื่องมือเสริม ไม่ใช่เครื่องมือแทนที่</blockquote><blockquote>ตรวจสอบงานที่ AI ทำทุกครั้ง เพื่อหลีกเลี่ยงข้อผิดพลาดที่อาจเกิดขึ้น</blockquote><h3>6. วัดผลและปรับปรุง</h3><p>เมื่อเริ่มใช้งาน AI ควรวัดผลอย่างต่อเนื่อง เช่น:</p><blockquote>เวลาที่ประหยัดได้หลังใช้ AI</blockquote><blockquote>คุณภาพของงานที่ดีขึ้นหรือไม่</blockquote><blockquote>ความคิดเห็นจากเพื่อนร่วมงานหรือลูกค้า</blockquote><p>หากผลลัพธ์ยังไม่เป็นที่พอใจ ลองปรับปรุงกระบวนการทำงานหรือเปลี่ยนเครื่องมือที่เหมาะสมกว่า</p><h3>ตัวอย่างการใช้ AI ในงานจริง</h3><ol><li><strong>งานด้านการตลาด</strong>:</li></ol><ul><li>ใช้ AI เช่น Hootsuite หรือ Buffer วิเคราะห์และวางแผนโพสต์บนโซเชียลมีเดีย</li><li>ใช้ ChatGPT เขียนแคปชันและบทความเพื่อดึงดูดกลุ่มเป้าหมาย</li></ul><p><strong>2.งานด้านการเงิน</strong>:</p><ul><li>ใช้ AI เช่น QuickBooks ช่วยในการจัดการบัญชีและรายงานการเงิน</li></ul><p><strong>3.งานด้านการบริการลูกค้า</strong>:</p><ul><li>ใช้ Chatbot เพื่อตอบคำถามลูกค้าอัตโนมัติ ช่วยลดเวลาในการให้บริการ</li></ul><p><strong>4.งานด้านการออกแบบ</strong>:</p><ul><li>ใช้ Canva หรือ Adobe Firefly สร้างงานกราฟิกที่สวยงามในเวลาอันสั้น</li></ul><h3>สรุป</h3><p>การใช้ AI ในงานจริงให้ได้ผลนั้นขึ้นอยู่กับการเลือกเครื่องมือที่เหมาะสมและการปรับกระบวนการทำงานให้สอดคล้องกัน อย่าลืมมอง AI เป็นผู้ช่วยที่ช่วยเสริมศักยภาพของคุณ และอย่าลืมปรับปรุงการใช้งานอย่างต่อเนื่องเพื่อให้เกิดประโยชน์สูงสุด</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/0*gilfLG9W4FqWRaEu" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd761169dce1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/%E0%B9%83%E0%B8%8A%E0%B9%89-ai-%E0%B9%83%E0%B8%99%E0%B8%87%E0%B8%B2%E0%B8%99%E0%B8%88%E0%B8%A3%E0%B8%B4%E0%B8%87%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B9%84%E0%B8%A3%E0%B9%83%E0%B8%AB%E0%B9%89%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%9C%E0%B8%A5-dd761169dce1">ใช้ AI ในงานจริงอย่างไรให้ได้ผล?</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ทำความรู้จัก tag ต่าง ๆ ใน AI Prompt (ฉบับ XML) : ปลดล็อกพลัง AI ให้ง่ายกว่าที่คิด!]]></title>
            <link>https://medium.com/g-able/%E0%B8%97%E0%B8%B3%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81-tag-%E0%B8%95%E0%B9%88%E0%B8%B2%E0%B8%87-%E0%B9%86-%E0%B9%83%E0%B8%99-ai-prompt-%E0%B8%89%E0%B8%9A%E0%B8%B1%E0%B8%9A-xml-%E0%B8%9B%E0%B8%A5%E0%B8%94%E0%B8%A5%E0%B9%87%E0%B8%AD%E0%B8%81%E0%B8%9E%E0%B8%A5%E0%B8%B1%E0%B8%87-ai-%E0%B9%83%E0%B8%AB%E0%B9%89%E0%B8%87%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B8%81%E0%B8%A7%E0%B9%88%E0%B8%B2%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%84%E0%B8%B4%E0%B8%94-aa89e891ee50?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/aa89e891ee50</guid>
            <category><![CDATA[ai-prompts]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Slash BMP]]></dc:creator>
            <pubDate>Wed, 29 Jan 2025 08:58:02 GMT</pubDate>
            <atom:updated>2025-01-29T08:58:02.680Z</atom:updated>
            <content:encoded><![CDATA[<h3>ทำความรู้จัก tag ต่าง ๆ ใน AI Prompt (ฉบับ XML) : ปลดล็อกพลัง AI ให้ง่ายกว่าที่คิด!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t3yvH3dxNeFhTNRI9iWdDA.png" /></figure><p>เคยไหม? พยายามป้อนคำสั่ง (prompt) ให้ AI ทำงานตามที่ต้องการ แต่ผลลัพธ์ที่ได้กลับไม่ตรงใจ ยิ่ง prompt ซับซ้อน ยิ่งยากต่อการควบคุม หลายคนอาจถอดใจ เพราะคิดว่าการใช้งาน AI เป็นเรื่องไกลตัว ต้องมีความรู้ด้านเทคนิคสูง แต่เดี๋ยวก่อน! วันนี้ผมจะมาแนะนำวิธีง่ายๆ ที่จะช่วยให้คุณควบคุม AI ได้อย่างมืออาชีพ ด้วยการใช้ XML prompt</p><p><strong>ปัญหาของ Prompt ที่ซับซ้อน:</strong></p><p>การเขียน prompt ที่ดีนั้นไม่ใช่เรื่องง่าย โดยเฉพาะเมื่อต้องการให้ AI ทำงานที่ซับซ้อน การใช้ภาษาธรรมชาติเพียงอย่างเดียวอาจไม่เพียงพอ เพราะ AI อาจตีความคำสั่งของเราผิดพลาด ทำให้ผลลัพธ์คลาดเคลื่อน ตัวอย่างเช่น เราต้องการให้ AI เขียนบทกวีเกี่ยวกับ “แมวสีส้มที่นอนอาบแดด” แต่ AI ดันเขียนเกี่ยวกับ “อาบแดดให้แมวอย่างไรจนกลายเป็นสีส้ม” เพราะขาดการระบุรายละเอียดที่ชัดเจน</p><p>นี่คือจุดที่ XML prompt เข้ามามีบทบาท!</p><p><strong>XML Prompt คืออะไร?</strong></p><p>XML (Extensible Markup Language) เป็นภาษาที่ใช้กำหนดโครงสร้างของข้อมูล คล้ายกับ HTML ที่ใช้กำหนดโครงสร้างของเว็บไซต์ การใช้ XML ใน prompt ช่วยให้เราสามารถระบุรายละเอียดและบริบทให้กับ AI ได้อย่างชัดเจน โดยใช้ “แท็ก” (tag) ต่างๆ เปรียบเสมือนการใส่ “คำอธิบาย” เพิ่มเติมให้กับคำสั่งของเรา</p><p><strong>ทำไมต้องใช้ XML Prompt?</strong></p><ul><li><strong>เพิ่มความแม่นยำ:</strong> AI เข้าใจคำสั่งของเราได้ดีขึ้น ลดความผิดพลาดในการตีความ</li><li><strong>ควบคุมผลลัพธ์ได้ดั่งใจ:</strong> กำหนดรายละเอียดเฉพาะเจาะจงได้ง่ายขึ้น</li><li><strong>ใช้งานง่าย (กว่าที่คิด):</strong> เพียงเรียนรู้แท็กพื้นฐานไม่กี่ตัว ก็สามารถใช้งานได้ทันที</li></ul><p><strong>รู้จัก Tag พื้นฐานใน XML Prompt:</strong></p><p>ต่อไปนี้คือตัวอย่างแท็กพื้นฐานที่คุณควรรู้จัก พร้อมตัวอย่างการใช้งาน:</p><p>&lt;Instruction&gt;: กำหนดคำสั่งหลักให้กับ AI</p><pre>&lt;Instruction&gt;เขียนบทความเกี่ยวกับประโยชน์ของโยคะ&lt;/Instruction&gt;</pre><p>&lt;Context&gt;: กำหนดบริบทหรือข้อมูลพื้นหลังให้กับ AI</p><pre>&lt;Context&gt;บทความนี้เขียนขึ้นสำหรับผู้เริ่มต้นฝึกโยคะ&lt;/Context&gt;</pre><p>&lt;Persona&gt;: กำหนดบุคลิกหรือบทบาทให้กับ AI (เช่น นักเขียน, นักวิจารณ์, ผู้เชี่ยวชาญ)</p><pre>&lt;Persona&gt;คุณเป็นนักเขียนที่มีประสบการณ์ด้านโยคะมามากกว่า 10 ปี&lt;/Persona&gt;</pre><p>&lt;Tone&gt;: กำหนดน้ำเสียงหรือสไตล์การเขียน (เช่น เป็นทางการ, เป็นกันเอง, สนุกสนาน)</p><pre>&lt;Tone&gt;เป็นกันเอง เข้าใจง่าย&lt;/Tone&gt;</pre><p>&lt;Format&gt;: กำหนดรูปแบบของผลลัพธ์ (เช่น บทความ, รายการ, บทกวี)</p><pre>&lt;Format&gt;บทความความยาวประมาณ 500 คำ&lt;/Format&gt;</pre><p>&lt;Example&gt;: ใส่ตัวอย่างเพื่อให้ AI เข้าใจสิ่งที่คุณต้องการมากขึ้น</p><pre>&lt;Example&gt;<br>&lt;Input&gt;เขียนเรื่องสั้นเกี่ยวกับแมว&lt;/Input&gt;<br>&lt;Output&gt;กาลครั้งหนึ่งนานมาแล้ว มีแมวตัวหนึ่ง...&lt;/Output&gt;<br>&lt;/Example&gt;</pre><p>&lt;Topic&gt;: กำหนดหัวข้อหลัก</p><pre>&lt;Topic&gt;ประโยชน์ของโยคะ&lt;/Topic&gt;</pre><p>&lt;Keywords&gt;: กำหนดคีย์เวิร์ดที่ต้องการ</p><pre>&lt;Keywords&gt;โยคะ, สุขภาพ, การผ่อนคลาย, สมาธิ&lt;/Keywords&gt;</pre><p><strong>ตัวอย่างการใช้งานแบบรวม:</strong></p><pre>&lt;Instruction&gt;เขียนบทความเกี่ยวกับประโยชน์ของโยคะ&lt;/Instruction&gt;<br>&lt;Context&gt;บทความนี้เขียนขึ้นสำหรับผู้เริ่มต้นฝึกโยคะ&lt;/Context&gt;<br>&lt;Persona&gt;คุณเป็นนักเขียนที่มีประสบการณ์ด้านโยคะมามากกว่า 10 ปี&lt;/Persona&gt;<br>&lt;Tone&gt;เป็นกันเอง เข้าใจง่าย&lt;/Tone&gt;<br>&lt;Format&gt;บทความความยาวประมาณ 500 คำ&lt;/Format&gt;<br>&lt;Topic&gt;ประโยชน์ของโยคะ&lt;/Topic&gt;<br>&lt;Keywords&gt;โยคะ, สุขภาพ, การผ่อนคลาย, สมาธิ&lt;/Keywords&gt;</pre><p><strong>เริ่มต้นใช้งาน XML Prompt:</strong></p><p>แพลตฟอร์ม AI หลายแห่งเริ่มรองรับการใช้งาน XML prompt แล้ว คุณสามารถลองใช้งานได้ง่ายๆ โดยการใส่แท็กต่างๆ ลงในช่องป้อนคำสั่ง</p><p><strong>บทสรุป:</strong></p><p>การใช้ XML prompt เป็นอีกหนึ่งเทคนิคที่จะช่วยให้คุณใช้งาน AI ได้อย่างมีประสิทธิภาพมากขึ้น ช่วยให้คุณสื่อสารกับ AI ได้อย่างชัดเจนและได้ผลลัพธ์ตรงตามความต้องการ อย่ากลัวที่จะลองใช้แท็กต่างๆ และค้นหาเทคนิคที่เหมาะกับคุณ แล้วคุณจะพบว่าการใช้งาน AI ไม่ได้ยากอย่างที่คิด!</p><p><strong>ลองนำเทคนิคนี้ไปปรับใช้ แล้วมาแชร์ผลลัพธ์กันนะครับ!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa89e891ee50" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/%E0%B8%97%E0%B8%B3%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%A3%E0%B8%B9%E0%B9%89%E0%B8%88%E0%B8%B1%E0%B8%81-tag-%E0%B8%95%E0%B9%88%E0%B8%B2%E0%B8%87-%E0%B9%86-%E0%B9%83%E0%B8%99-ai-prompt-%E0%B8%89%E0%B8%9A%E0%B8%B1%E0%B8%9A-xml-%E0%B8%9B%E0%B8%A5%E0%B8%94%E0%B8%A5%E0%B9%87%E0%B8%AD%E0%B8%81%E0%B8%9E%E0%B8%A5%E0%B8%B1%E0%B8%87-ai-%E0%B9%83%E0%B8%AB%E0%B9%89%E0%B8%87%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B8%81%E0%B8%A7%E0%B9%88%E0%B8%B2%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%84%E0%B8%B4%E0%B8%94-aa89e891ee50">ทำความรู้จัก tag ต่าง ๆ ใน AI Prompt (ฉบับ XML) : ปลดล็อกพลัง AI ให้ง่ายกว่าที่คิด!</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Code From UI with Gen AI]]></title>
            <link>https://medium.com/g-able/code-from-ui-with-gen-ai-5c2b1b051407?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/5c2b1b051407</guid>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[code-with-ai]]></category>
            <category><![CDATA[ai-in-work]]></category>
            <category><![CDATA[ai-in-development]]></category>
            <dc:creator><![CDATA[Puy P]]></dc:creator>
            <pubDate>Wed, 29 Jan 2025 08:57:14 GMT</pubDate>
            <atom:updated>2025-01-29T08:57:14.156Z</atom:updated>
            <content:encoded><![CDATA[<p>ในโลกที่ขับเคลื่อนด้วยเทคโนโลยีในปัจจุบัน ความต้องการพัฒนาซอฟต์แวร์ที่รวดเร็วและมีประสิทธิภาพนั้นสูงขึ้น ด้วยเหตุนี้ การใช้ประโยชน์จากปัญญาประดิษฐ์ (AI) จึงกลายเป็นตัวเปลี่ยนเกม โดยเฉพาะอย่างยิ่งในด้านการสร้างโค้ด เครื่องมือ AI สามารถช่วยนักพัฒนาสร้างโค้ดได้อย่างรวดเร็ว ช่วยให้ประหยัดเวลา และสามารถไป Focus งานในส่วนอื่นได้ดียิ่งขึ้น</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EQi5ifjv36Wfzo3CR8_-fA.png" /></figure><p>การเขียนโค้ดปกติแล้ว เรามักจะเขียนโค้ดด้วยตนเอง ซึ่งเราอาจใช้เวลานานและเกิดข้อผิดพลาดได้ อย่างไรก็ตาม การมาถึงของ Generative AI ที่ได้รับการฝึกฝนบนพื้นที่เก็บข้อมูลโค้ดขนาดใหญ่ เกี่ยวกับการเขียนโค้ด และอัลกอริทึมต่างๆ ทำให้ Gen AI สามารถเข้าใจรูปแบบ ไวยากรณ์ และแนวทางปฏิบัติที่ดีในการเขียนโปรแกรมได้ดี ซึ่งเมื่อเราใช้ความสามารถนี้ของ Gen AI ร่วมกับความสามารถของ Gen AI Vision ในการทำความเข้าใจภาพแล้ว ก็จะสามารถทำให้กับ Gen AI ช่วยเราสร้างโค้ดที่สอดคล้องกับ UI ที่เราต้องการได้</p><p>Source Code Example From AI: <a href="https://github.com/piscessera/example-ai-gen-ui-code/tree/main">https://github.com/piscessera/example-ai-gen-ui-code/tree/main</a></p><p>หน้าจอ UI ต่อไปนี้ จะแสดงรายการของผู้ใช้งานในตาราง ซึ่งเราจะใช้หน้าจอนี้ในการสั่งงาน AI พร้อมกับการ Prompt Engineering เพื่อได้โค้ดที่เราต้องการ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KjTKTtIDAxhVcRd9LCOoWw.png" /><figcaption>หน้าจอ UI ที่ต้องการนำมาเขียนโค้ด <a href="https://www.pinterest.com/pin/997406648721055194/">https://www.pinterest.com/pin/997406648721055194/</a></figcaption></figure><p>สั่งให้ AI สร้าง Layout ขึ้นมาก่อน</p><p>*ทดสอบให้เขียนโค้ดทั้งหน้าจอภายในครั้งเดียวแล้ว แต่ผลลัพธ์ไม่ค่อยเป็นที่หน้าพอใจ จึงทดลองสั่ง AI ให้เขียนโค้ดแยกเป็นส่วนๆ ผลที่ได้ค่อนข้างโอเคเลย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*fkbETEC7hp1RuoxY7fD_QQ.png" /><figcaption>ตัวอย่างการใช้งาน AI กับ UI ในส่วนของ Layout</figcaption></figure><p>Layout Prompt Example:</p><pre>Instruction:<br>1. Act as a software engineer to write a code from the provided user interface.<br>2. Use NextJS as a framework with Tailwind css framework.<br>3. Reduce the duplicate code by create component code to reuse the component.<br>4. Provide a service to connect rest api.<br>5. Don&#39;t write code as a single file.<br>6. Separate source code with the follow NextJS standard and best practice.<br>7. Write a layout of the UI image. Search bar layout, sidebar layout, main layout. Leave a main layout to blank content.</pre><p>AI Response:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nK8qRNn-L4uoriuLFgDrHQ.png" /><figcaption>AI Response #1</figcaption></figure><p>ผลลัพธ์ที่ได้จาก AI ยังมี Error อยู่บ้าง</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8FLo1XQSV-AZlubRjGP0dA.png" /><figcaption>Error เรียก globals.css ผิด</figcaption></figure><p>ต้องไปเรียก globals.css จาก ‘../style//globals.css’; แทน ตามที่ AI Generate มาให้</p><p>แต่หลังจากแก้ไขเบื้องต้นก็ได้ผลลัพธ์ตามที่คาดหวัง</p><p><a href="https://github.com/piscessera/example-ai-gen-ui-code/tree/01-gen-ui-layout">https://github.com/piscessera/example-ai-gen-ui-code/tree/01-gen-ui-layout</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SrjLwQjukKM-vxDpNDzuug.png" /><figcaption>ตัวอย่างหน้าจอ Layout ที่ได้จาก AI</figcaption></figure><p>ถัดมาค่อยมาลงรายละเอียดในส่วนของ Content ที่ต้องการ</p><p>ซึ่งเราจะสั่งให้ AI เขียนโค้ดของ Menu Users ในส่วนของ Tab Members กันต่อ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/869/1*hjDezXqi-fqRlbIBI0rWrg.png" /><figcaption>หน้าจอ Users ที่ต้องการ</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*RQaHqnJB_vTbdqdnQuBUCg.png" /><figcaption>ตัวอย่างการ Prompt กับ Content</figcaption></figure><p>Users Menu Content Prompt Example</p><pre>instruction:<br>1. modify the users menu content<br>2. write a code of users menu follow the provided ui image</pre><p>ตัว AI ก็จะสร้างโค้ดมาให้เราอีกชุดหนึ่ง ที่ตรงกับหน้าจอที่เราส่งให้ AI ช่วยสร้างโค้ด ซึ่งก็จะมี Error ส่วนที่ต้องปรับแก้อยู่บ้าง ตัวอย่างที่เจอก็จะเป็นเรื่องของ <br>“use client” ที่ตัวโค้ดของ AI ไม่ได้กำหนดไว้ให้ รวมถึง config เกี่ยวกับการเรียก dependency @ ที่หาไม่เจอ</p><p><a href="https://github.com/piscessera/example-ai-gen-ui-code/tree/02-gen-ui-members-content">https://github.com/piscessera/example-ai-gen-ui-code/tree/02-gen-ui-members-content</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C2oRno9wJhYFKP8LJRFTJA.png" /><figcaption>หน้าจอหลังจากรวมผลลัพธ์ส่วนที่ 2 เข้ามา</figcaption></figure><p>จากผลลัพธ์ก็ยังขาดส่วนของตารางอยู่ แต่ถ้าพิจารณาโค้ดแล้ว ที่ขาดจริงๆ เป็นเรื่องของ Mock Data API ซึ่งก็เหมือนเดิม เราก็สามารถให้ AI ช่วยสร้างให้เราได้เลย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*LOXMyXT6Qh-OYJNJI9S6ZQ.png" /><figcaption>ตัวอย่าง Prompt Mock Data</figcaption></figure><p>Mock Data Prompt Example</p><pre>mock data for service api getUser</pre><p>หลังจากปรับปรุงโค้ด service mock data แล้ว ก็จะได้ข้อมูลมาแสดงในตารางตามตัวอย่าง</p><p><a href="https://github.com/piscessera/example-ai-gen-ui-code/tree/03-gen-ui-mock-get-users">https://github.com/piscessera/example-ai-gen-ui-code/tree/03-gen-ui-mock-get-users</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q4eO5Bpkj_VQ4GRZPvsUQQ.png" /><figcaption>หน้าจอหลังจากได้ mock up data</figcaption></figure><p>เราสามารถใช้ AI เขียนโค้ดจากหน้าจอได้ แต่ตรง 100% หรือไม่ คำตอบก็คือไม่ และยังต้องการให้เราคอยรีวิวโค้ด และแก้ไขอยู่ แต่ก็สามารถลดระยะเวลาในการตั้งต้นโค้ดได้พอสมควร เช่น ตัวผู้เขียนเองที่ไม่ได้ถนัด Frontend NextJS + Tailwind มาก นัก ก็สามารถให้ AI พอช่วยตั้งต้นให้ได้ และค่อยมาปรับปรุงต่อภายหลังแทน ซึ่งตัวอย่างในข้างต้นนั้นใช้เวลาเพียง 1–2 ชั่วโมง จากไม่มีโค้ดใดๆ เลย (ในบทความนี้ใช้ LLM ด้วย Gemini API Model: gemini-exp-1206)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c2b1b051407" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/code-from-ui-with-gen-ai-5c2b1b051407">Code From UI with Gen AI</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Running Story EP.10 ตอน วิ่งต่อต้านบุหรี่ไฟฟ้า]]></title>
            <link>https://medium.com/g-able/running-story-ep-10-%E0%B8%95%E0%B8%AD%E0%B8%99-%E0%B8%A7%E0%B8%B4%E0%B9%88%E0%B8%87%E0%B8%95%E0%B9%88%E0%B8%AD%E0%B8%95%E0%B9%89%E0%B8%B2%E0%B8%99%E0%B8%9A%E0%B8%B8%E0%B8%AB%E0%B8%A3%E0%B8%B5%E0%B9%88%E0%B9%84%E0%B8%9F%E0%B8%9F%E0%B9%89%E0%B8%B2-e49c873ea972?source=rss----8f399bd36119---4</link>
            <guid isPermaLink="false">https://medium.com/p/e49c873ea972</guid>
            <category><![CDATA[gable]]></category>
            <category><![CDATA[healthy-lifestyle]]></category>
            <category><![CDATA[hobby]]></category>
            <category><![CDATA[running]]></category>
            <dc:creator><![CDATA[Nuchsarin_C]]></dc:creator>
            <pubDate>Fri, 17 Jan 2025 09:41:01 GMT</pubDate>
            <atom:updated>2025-01-17T09:41:01.911Z</atom:updated>
            <content:encoded><![CDATA[<p>สวัสดีค่ะ EP. นี้ จะมา share งานวิ่ง “ต่อต้านการสูบบุหรี่ไฟฟ้า” จัดโดย สสส. เพื่อให้คนไทยตระหนักถึงโทษของบุหรี่ไฟฟ้า</p><p>เพื่อน ๆ รู้หรือไม่ว่า เรามีวันงดสูบบุหรี่โลกนะ คือ วันที่ 31 พ.ค. ของทุกปี จึงขอใช้ บทความนี้ เป็นสื่อกลางในการช่วยประชาสัมพันธ์อีกทางให้เห็นพิษภัย ของการสูบบุหรี่ และในปัจจุบัน บุหรี่ไฟฟ้า เป็นสิ่งผิดกฎหมาย และเป็นสิ่งเสพติดที่เข้าถึงวัยรุ่น หรือแม้แต่เด็ก ๆ ในโรงเรียนอย่างง่ายดาย เพราะมีข่าวอย่างต่อเนื่องว่า มีการลักลอบขายบุหรี่ไฟฟ้า ให้กับวัยรุ่น และเด็ก ๆ โดยทำเป็นรูปตุ๊กตาน่ารัก ๆ แถมยังมีกลิ่นหอม ซึ่งผู้ปกครองบางคนก็ไม่ทราบว่าน้อง ๆ ซื้อมาสูบ นึกว่าเป็นของเล่นชนิดหนึ่ง ซึ่งเป็นภัย และน่ากลัวมาก ๆ พ่อแม่ ผู้ปกครอง ต้องระมัดระวังบุตรหลานให้ดีด้วย นะคะ</p><p>เกริ่นมาซะยาว เริ่มเรื่องวิ่งกันดีกว่า งานนี้เป็นงานวิ่งใกล้บ้าน จัดที่ ม. มหิดล ศาลายา ที่ทราบข่าวเพราะ มีพี่ในก๊วนวิ่ง แจ้งข่าวผ่าน Facebook ให้ไปลงทะเบียนรับสิทธิ์ วิ่งฟรี มีโควต้าไม่มาก เราก็เห็นว่า ใกล้บ้าน แถมฟรีซะด้วย จะรออะไร รีบเลย สรุปคือทัน เป็น 2 ผู้โชคดี (รีบลงทะเบียนเผื่ออีกคนด้วย อิ ๆ จะได้มีเพื่อน) เลยได้วิ่งฟรี ไม่เสียตังค์ ^^</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*81vSgt3Vql7CU43PL4H4kQ.jpeg" /><figcaption><strong>ภาพประกอบ งานวิ่ง ต่อต้านบุหรี่ไฟฟ้า รูปที่ 1</strong></figcaption></figure><p>งานวิ่งเค้าจัดง่าย ๆ เป็นงานวิ่งเล็ก ๆ ผู้ร่วมงานน่าจะประมาณ พันกว่าคน และมีระยะเดียว คือ fun run 5 KM. วิ่งใน ม. มหิดล อากาศช่วงเช้าไม่ค่อยร้อน ประกอบกับที่ ม. มีต้นไม้มากพอสมควร ปล่อยตัว 6.00 น. ประมาณ 7.00 ก็ถึงเส้นชัยกันเยอะพอสมควรแล้ว</p><p>ถึงเส้นชัย รับเหรียญรางวัล และรับอาหารที่ซุ้ม งานจัดค่อนข้างดี ไม่แออัด อาหารจัดใส่กล่องเรียบร้อย สามารถนำกลับไปกินที่บ้านได้ กล่องอาหารทำอย่างดี สามารถนำกลับมาใช้ใหม่ได้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ey6js0MlxE6Lk_hBlOI0lQ.jpeg" /><figcaption><strong>ภาพประกอบ งานวิ่ง ต่อต้านบุหรี่ไฟฟ้า รูปที่ 2</strong></figcaption></figure><p>เมื่อรับอาหารที่ซุ้มเรียบร้อย (ต้องไปรับก่อนเด๋วอาหารหมด) ก็มาทำการยืดเหยียด คลายเส้น เพื่อจะได้ป้องกันการเป็นตะคริว รูปยืดเหยียด โดนคนที่บ้านแกง อาจจะดูตลก ๆ หน่อย ตามภาพค่ะ ^^</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MkpR3eAGsCcdHzYnXtt4Jw.jpeg" /><figcaption><strong>ภาพประกอบ งานวิ่ง ต่อต้านบุหรี่ไฟฟ้า รูปที่ 3</strong></figcaption></figure><p>เสร็จสรรพ ก็กลับบ้าน จบการรายงานเพียงเท่านี้ พบกันใหม่ครั้งหน้า ขอบคุณค่ะ</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e49c873ea972" width="1" height="1" alt=""><hr><p><a href="https://medium.com/g-able/running-story-ep-10-%E0%B8%95%E0%B8%AD%E0%B8%99-%E0%B8%A7%E0%B8%B4%E0%B9%88%E0%B8%87%E0%B8%95%E0%B9%88%E0%B8%AD%E0%B8%95%E0%B9%89%E0%B8%B2%E0%B8%99%E0%B8%9A%E0%B8%B8%E0%B8%AB%E0%B8%A3%E0%B8%B5%E0%B9%88%E0%B9%84%E0%B8%9F%E0%B8%9F%E0%B9%89%E0%B8%B2-e49c873ea972">Running Story EP.10 ตอน วิ่งต่อต้านบุหรี่ไฟฟ้า</a> was originally published in <a href="https://medium.com/g-able">G-Able</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>