{"id":"https://openalex.org/W4406891896","doi":"https://doi.org/10.1109/fllm63129.2024.10852434","title":"Prompt Engineering as Code (PEaC): an approach for building modular, reusable, and portable prompts","display_name":"Prompt Engineering as Code (PEaC): an approach for building modular, reusable, and portable prompts","publication_year":2024,"publication_date":"2024-11-26","ids":{"openalex":"https://openalex.org/W4406891896","doi":"https://doi.org/10.1109/fllm63129.2024.10852434"},"language":"en","primary_location":{"id":"doi:10.1109/fllm63129.2024.10852434","is_oa":false,"landing_page_url":"https://doi.org/10.1109/fllm63129.2024.10852434","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"2024 2nd International Conference on Foundation and Large Language Models (FLLM)","raw_type":"proceedings-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5082237113","display_name":"Gaetano Perrone","orcid":"https://orcid.org/0000-0001-8238-6426"},"institutions":[],"countries":[],"is_corresponding":true,"raw_author_name":"Gaetano Perrone","raw_affiliation_strings":["Universit&#x00E0; Degli Studi di Napoli Federico II,DIETI - Dipartimento di Ingegneria Elettrica e Delle Tecnologie Dell&#x2019;Informazione,Napoli,Italy"],"affiliations":[{"raw_affiliation_string":"Universit&#x00E0; Degli Studi di Napoli Federico II,DIETI - Dipartimento di Ingegneria Elettrica e Delle Tecnologie Dell&#x2019;Informazione,Napoli,Italy","institution_ids":[]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5080036543","display_name":"Simon Pietro Romano","orcid":"https://orcid.org/0000-0002-5876-0382"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Simon Pietro Romano","raw_affiliation_strings":["Universit&#x00E0; Degli Studi di Napoli Federico II,DIETI - Dipartimento di Ingegneria Elettrica e Delle Tecnologie Dell&#x2019;Informazione,Napoli,Italy"],"affiliations":[{"raw_affiliation_string":"Universit&#x00E0; Degli Studi di Napoli Federico II,DIETI - Dipartimento di Ingegneria Elettrica e Delle Tecnologie Dell&#x2019;Informazione,Napoli,Italy","institution_ids":[]}]}],"institutions":[],"countries_distinct_count":0,"institutions_distinct_count":2,"corresponding_author_ids":["https://openalex.org/A5082237113"],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":1.1385,"has_fulltext":false,"cited_by_count":3,"citation_normalized_percentile":{"value":0.82060097,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":{"min":95,"max":99},"biblio":{"volume":null,"issue":null,"first_page":"289","last_page":"294"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10142","display_name":"Formal Methods in Verification","score":0.9369999766349792,"subfield":{"id":"https://openalex.org/subfields/1703","display_name":"Computational Theory and Mathematics"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10142","display_name":"Formal Methods in Verification","score":0.9369999766349792,"subfield":{"id":"https://openalex.org/subfields/1703","display_name":"Computational Theory and Mathematics"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9309999942779541,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T12000","display_name":"Systems Engineering Methodologies and Applications","score":0.9309999942779541,"subfield":{"id":"https://openalex.org/subfields/2207","display_name":"Control and Systems Engineering"},"field":{"id":"https://openalex.org/fields/22","display_name":"Engineering"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/modular-design","display_name":"Modular design","score":0.6926665306091309},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.6015492081642151},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.5175449252128601},{"id":"https://openalex.org/keywords/reliability-engineering","display_name":"Reliability engineering","score":0.42096638679504395},{"id":"https://openalex.org/keywords/embedded-system","display_name":"Embedded system","score":0.38507336378097534},{"id":"https://openalex.org/keywords/software-engineering","display_name":"Software engineering","score":0.37037327885627747},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.3330579996109009},{"id":"https://openalex.org/keywords/engineering","display_name":"Engineering","score":0.23256522417068481}],"concepts":[{"id":"https://openalex.org/C101468663","wikidata":"https://www.wikidata.org/wiki/Q1620158","display_name":"Modular design","level":2,"score":0.6926665306091309},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.6015492081642151},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.5175449252128601},{"id":"https://openalex.org/C200601418","wikidata":"https://www.wikidata.org/wiki/Q2193887","display_name":"Reliability engineering","level":1,"score":0.42096638679504395},{"id":"https://openalex.org/C149635348","wikidata":"https://www.wikidata.org/wiki/Q193040","display_name":"Embedded system","level":1,"score":0.38507336378097534},{"id":"https://openalex.org/C115903868","wikidata":"https://www.wikidata.org/wiki/Q80993","display_name":"Software engineering","level":1,"score":0.37037327885627747},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.3330579996109009},{"id":"https://openalex.org/C127413603","wikidata":"https://www.wikidata.org/wiki/Q11023","display_name":"Engineering","level":0,"score":0.23256522417068481},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.0}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1109/fllm63129.2024.10852434","is_oa":false,"landing_page_url":"https://doi.org/10.1109/fllm63129.2024.10852434","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"2024 2nd International Conference on Foundation and Large Language Models (FLLM)","raw_type":"proceedings-article"}],"best_oa_location":null,"sustainable_development_goals":[],"awards":[],"funders":[],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":0,"referenced_works":[],"related_works":["https://openalex.org/W2378076731","https://openalex.org/W4286888643","https://openalex.org/W3210795196","https://openalex.org/W2088988140","https://openalex.org/W3171015545","https://openalex.org/W2103019253","https://openalex.org/W2951529875","https://openalex.org/W2391453316","https://openalex.org/W4396648495","https://openalex.org/W2297768894"],"abstract_inverted_index":{"Prompt":[0,78],"engineering":[1,75],"is":[2,65,83],"an":[3],"emerging":[4],"skill":[5],"associated":[6],"with":[7,13],"improving":[8],"the":[9,69,73,133,163,176],"way":[10],"we":[11],"interact":[12],"Large":[14],"Language":[15],"Models":[16],"(LLMs).":[17],"However,":[18],"natural":[19],"language":[20,109],"lacks":[21],"key":[22],"features":[23,42],"such":[24],"as":[25,47,80,116],"modularity,":[26],"reusability,":[27,158],"and":[28,102,143,149,161,180],"portability,":[29],"which":[30,111],"are":[31,43],"essential":[32],"for":[33],"creating":[34],"efficient,":[35],"scalable":[36,181],"prompt":[37,74,147,157,166],"systems.":[38],"In":[39],"programming,":[40],"these":[41],"managed":[44],"through":[45,90],"Infrastructure":[46],"Code":[48,81],"(IaC),":[49],"where":[50],"developers":[51],"use":[52],"modular":[53,117],"code":[54],"to":[55,61,67,98,120,139],"manage":[56],"infrastructure.":[57],"This":[58,171],"work":[59],"aims":[60],"show":[62],"how":[63],"it":[64],"possible":[66],"achieve":[68],"same":[70],"objective":[71],"in":[72,96,110,127,146,175],"sector,":[76],"too.":[77],"Engineering":[79],"(PEaC)":[82],"a":[84,91,107],"novel":[85],"approach":[86],"that":[87,154],"organizes":[88],"prompts":[89,112],"human-readable":[92],"data":[93],"serialization":[94],"language,":[95],"order":[97],"realize":[99],"modular,":[100],"reusable,":[101],"portable":[103],"prompts.":[104,183],"We":[105,131],"design":[106],"syntax":[108],"can":[113],"be":[114],"assembled":[115],"components,":[118],"akin":[119],"importing":[121],"functions":[122],"or":[123],"defining":[124],"reusable":[125],"variables":[126],"conventional":[128],"programming":[129],"languages.":[130],"assess":[132],"methodology":[134],"by":[135],"showcasing":[136],"its":[137],"implementation":[138],"multiple":[140],"LLM-driven":[141],"applications":[142],"evaluating":[144],"enhancements":[145],"management":[148],"adaptability.":[150],"Preliminary":[151],"findings":[152],"suggest":[153],"PEaC":[155],"increases":[156],"reduces":[159],"redundancy,":[160],"promotes":[162],"adaptability":[164],"of":[165,178],"systems":[167],"across":[168],"many":[169],"applications.":[170],"method":[172],"represents":[173],"progress":[174],"establishment":[177],"standardized":[179],"engineered":[182]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":2}],"updated_date":"2025-12-22T23:10:17.713674","created_date":"2025-10-10T00:00:00"}
