[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-672882-105":59,"doc-detail-672882-en":130,"doc-similar-672882":174},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","prompt2dag-a-modular-methodology-for-llm-based-data-enrichment-pipeline-generation","Prompt2DAG - A Modular Methodology for LLM-Based Data Enrichment Pipeline Generation","","Developing reliable data enrichment pipelines requires substantial engineering expertise. Prompt2DAG provides a methodology that converts natural-language descriptions into executable Apache Airflow DAGs. Four generation strategies—Direct, LLM-only, Hybrid, and Template-based—are evaluated through 260 experiments using thirteen LLMs and five case studies. A penalized scoring framework measures reliability and code quality via SAT, DST, and executability PCT, showing Hybrid as optimal with higher success and more consistent outcomes.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/prompt2dag-a-modular-methodology-for-llm-based-data-enrichment-pipeline-generation/672882/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/prompt2dag-a-modular-methodology-for-llm-based-data-enrichment-pipeline-generation/672882.png","ImageObject",300,407,{"name":92,"@type":93},"Anna Hans","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-10","2026-11-02",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is Prompt2DAG and what does it generate?","Question",{"text":112,"@type":113},"Prompt2DAG transforms natural-language descriptions into executable Apache Airflow DAGs for data enrichment workflows.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which generation strategies are compared in the study?",{"text":117,"@type":113},"The paper compares Direct, LLM-only, Hybrid, and Template-based approaches for generating DAGs.",{"name":119,"@type":110,"acceptedAnswer":120},"How is performance evaluated for reliability and quality?",{"text":121,"@type":113},"Performance is measured with a penalized scoring framework that combines reliability with code quality and executability using SAT, DST, and PCT.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},672882,1793611880,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":34,"preview_urls":145},5909892332657,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","arXiv :2509 . 13487v1 [ cs . SE] 16 Sep 2025  \nPrompt2DAG: A Modular Methodology for LLM-Based Data Enrichment Pipeline Generation  \nAbubakari Alidu a , Michele Ciavotta a , Flavio De Paoli aaDept. Informatics, Systems and Communication, University of Milan-Bicocca, Italy  \nAbstract  \nDeveloping reliable data enrichment pipelines demands significant engineering expertise. We present Prompt2DAG, a methodology that transforms natural language descriptions into executable Apache Airflow DAGs. We evaluate four generation approachesâĂŤDirect, LLM-only, Hybrid, and TemplatebasedâĂŤacross 260 experiments using thirteen LLMs and five case studies to identify optimal strategies for production-grade automation. Performance is measured using a penalized scoring framework that combines reliability with code quality (SAT), structural integrity (DST), and executability (PCT) .  \nThe Hybrid approach emerges as the optimal generative method, achieving a 78.5% success rate with robust quality scores (SAT: 6.79, DST: 7.67, PCT: 7.76) . This significantly outperforms the LLM-only (66.2% success) and Direct (29.2% success) methods. Our findings show that reliability, not intrinsic code quality, is the primary differentiator. Cost-effectiveness analysis reveals the Hybrid method is over twice as efficient as Direct prompting per successful DAG. We conclude that a structured, hybrid approach is essential for balancing flexibility and reliability in automated workflow generation, offering a viable path to democratize data pipeline development.  \nKeywords: Data pipelines, Workflow generation, Large Language Models (LLMs), Modular prompting, Directed Acyclic Graphs (DAGs), Pipeline democratization, Software engineering  \n1. Introduction  \nData pipelines are foundational to modern data-driven organizations, enabling the systematic collection, processing, transformation, and analysis of information across diverse domains [1, 2] . These pipelines orchestrate  \nworkflows that integrate heterogeneous data sources, apply specific business logic, and deliver actionable insights. However, the design, implementation, and maintenance of such pipelines traditionally demand specialized data engineering expertise, creating a significant barrier for domain experts who possess subject-matter knowledge but may lack the specific programming skills needed to translate their requirements into robust, executable workflows [3, 4] .  \nThis technical barrier restricts broader participation in data pipeline development, thereby limiting the agility with which organizations can innovate and respond to data-driven opportunities. The challenge is particularly evident when using powerful workflow orchestration frameworks that offer flexibility and comprehensive ecosystems, but require careful management of task dependencies, diligent configuration of operators, and often complex debugging processes [5] .  \nThe capabilities demonstrated by Large Language Models (LLMs) in natural language understanding and code generation open up the possibility of bridging this expertise gap by enabling pipeline descriptions in natural language and translating them into structured workflow definitions or executable code [6, 7] . However, the efficacy and reliability of LLM-based pipeline generation are heavily contingent on how the generation task is structured and how the LLM’s capabilities are harnessed. Direct, end-to-end generation from high-level descriptions to complex code often struggles with precision, maintainability, and adherence to software engineering best practices [8] .  \nIn this paper, we introduce and evaluate Prompt2DAG, a methodology for transforming natural language descriptions into executable data workflows. Our work focuses specifically on data enrichment pipelines, a critical and broadly applicable category of data processing where organizations enhance their data assets through geocoding, entity reconciliation, or sentiment analysis. We systematically compare four distin","cbCaia0uyWK9ZxvR","https://ap.wps.com/l/cbCaia0uyWK9ZxvR","pdf",2271650,68,"English","# 1. Introduction\n## 1.1 Motivation and challenge\n## 1.2 Prompt2DAG overview and evaluation approach\n## 1.3 Report organization (Section 2 reference)","[{\"question\":\"What is Prompt2DAG and what does it generate?\",\"answer\":\"Prompt2DAG transforms natural-language descriptions into executable Apache Airflow DAGs for data enrichment workflows.\"},{\"question\":\"Which generation strategies are compared in the study?\",\"answer\":\"The paper compares Direct, LLM-only, Hybrid, and Template-based approaches for generating DAGs.\"},{\"question\":\"How is performance evaluated for reliability and quality?\",\"answer\":\"Performance is measured with a penalized scoring framework that combines reliability with code quality and executability using SAT, DST, and PCT.\"}]","Prompt2DAG - A Modular Methodology for LLM-Based Data Enrichment Pipeline Generation | PDF",171,[146,150,154,158,162,166,170],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/54e31e6b9761c4549e54b9eacabff6e9.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/328037bcfeff769b14fa5411bfa8b2db.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/cf17a234e71b9f0f1b1fb8f294378176.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e5f9bb6da4769d4d6ce668a71122be6a.webp",980,1268,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4ade781ca181b39ee4156fdadebd5e9b.webp",979,1267,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/cca87aac0bb45fde0a24efccf9d98b15.webp",978,1265,{"page_no":34,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1244fd00e068e43376d427daa654d92d.webp",977,1264,{"list":175,"token":66},[176,182,188,195,202,209,215,222,228,235],{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":41,"category_name":40,"create_tm":181},119970,"RRAML - Reinforced Retrieval Augmented Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835295392/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=Y0bCAGBiuf%2F8y4sTfJrZ8SAjYpM%3D","rraml-reinforced-retrieval-augmented-machine-learning",1785727317,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":29,"category_name":40,"create_tm":187},672881,"Guide to Data Orchestration for Generative AI - Building Enterprise-Grade Applications with Apache Airflow and Astronomer","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990162325/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=iVplafSrs%2Bj4vBhef9DtCjgMny4%3D","guide-to-data-orchestration-for-generative-ai-building-enterprise-grade-applications-with-apache-airflow-and-astronomer",1793611874,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":193,"category_name":40,"create_tm":194},327188,"STELLA - Efficient Sensor-to-LLM Translation for On-Device Human Activity Recognition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909308474/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=M8oc7O1wjhFM62zJ93YzsMphXm0%3D","stella-efficient-sensor-to-llm-translation-for-on-device-human-activity-recognition",17,1789976637,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":40,"create_tm":201},83132,"EvoPlan Evolutionary Neuro-Symbolic Robot Planning with Spatio-Temporal Guarantees","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808939323/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=rgbNmalCJRNvqHyKVvT7kBxTHBg%3D","evoplan-evolutionary-neuro-symbolic-robot-planning-with-spatio-temporal-guarantees",22,1784185507,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":207,"category_name":40,"create_tm":208},82196,"Multi-Agent LLM Collaboration for Unit Test Generation via Human-Testing-Inspired Workflows","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808720476/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=LGsCmGVR2piWPAy11vdwNPfpRtM%3D","multi-agent-llm-collaboration-for-unit-test-generation-via-human-testing-inspired-workflows",51,1784178751,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":52,"category_name":40,"create_tm":214},509851,"SK 2 DECOMPILE: LLM-BASED TWO-PHASE BINARY DECOMPILATION FROM SKELETON TO SKIN","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935330227/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=cpuVqMDq4k%2FqqeenUXCXGJ%2B8XS0%3D","sk-2-decompile-llm-based-two-phase-binary-decompilation-from-skeleton-to-skin",1791237554,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":40,"create_tm":221},82688,"Evaluating Large Language Models for Decision-Making in Agent-Based Urban Mobility Simulations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808778794/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=Giap2zVBOSN9HO3gB1KFRvUJnf8%3D","evaluating-large-language-models-for-decision-making-in-agent-based-urban-mobility-simulations",18,1784182297,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":36,"category_name":40,"create_tm":227},84046,"PolyWorkBench: Multilingual Long-Horizon LLM Agents Benchmarking","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809127126/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=WvSj4iWSMxEqUagBbLRkY7WOKt8%3D","polyworkbench-multilingual-long-horizon-llm-agents-benchmarking",1784192221,{"doc_id":229,"doc_title":230,"file_type":137,"home_preview_img_url":231,"slug":232,"view_count":233,"category_name":40,"create_tm":234},327684,"Which Algorithm Specification Formats Help Language Models Implement Machine Learning Algorithms?","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909340393/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=UrDdRxEE5ibZZ3OoIT25i3B1ZqY%3D","which-algorithm-specification-formats-help-language-models-implement-machine-learning-algorithms",16,1789977806,{"doc_id":236,"doc_title":237,"file_type":137,"home_preview_img_url":238,"slug":239,"view_count":240,"category_name":40,"create_tm":241},85777,"An LLM-powered Agentic Recommendation System for Connected TV Content Discovery","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809353326/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=FlgX57xxtU4x02cBlfdZhaAQhGc%3D","an-llm-powered-agentic-recommendation-system-for-connected-tv-content-discovery",26,1784206208]