mlsanityData to 14 Oct 2026

AskIt: Unified Programming Interface for Programming with Large Language Models

arXiv 2308.15645 ↗First posted 29 Aug 2023cs.PL cs.AI cs.SEcited by 5

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) exhibit a unique phenomenon known as emergent abilities, demonstrating adeptness across numerous tasks, from text summarization to code generation. While these abilities open up novel avenues in software design and crafting, their incorporation presents substantial challenges. Developers face decisions regarding the use of LLMs for directly performing tasks within applications as well as for generating and executing code to accomplish these tasks. Moreover, effective prompt design becomes a critical concern, given the necessity of extracting data from natural language outputs. To address these complexities, this paper introduces AskIt, a domain-specific language (DSL) specifically designed for LLMs. AskIt simplifies LLM integration by providing a unified interface that not only allows for direct task execution using LLMs but also supports the entire cycle of code generation and execution. This dual capability is achieved through (1) type-guided output control, (2) template-based function definitions, and (3) prompt generation for both usage modes. Our evaluations underscore AskIt's effectiveness. Across 50 tasks, AskIt generated concise prompts, achieving a 16.14 % reduction in prompt length compared to benchmarks. Additionally, by enabling a seamless transition between using LLMs directly in applications and for generating code, AskIt achieved significant efficiency improvements, as observed in our GSM8K benchmark experiments. The implementations of AskIt in TypeScript and Python are available at https://github.com/katsumiok/ts-askit and https://github.com/katsumiok/pyaskit, respectively.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 21 of its 38 references that are in the map. First posted on arXiv 29 Aug 2023.

Builds on

21 of 38 references.

References · 21

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  7. 2022Emergent Abilities of Large Language Modelscited by 2,512
  8. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  9. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  10. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  11. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
  12. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
9 more
  1. 2023StarCoder: may the source be with you!cited by 799
  2. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  3. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
  4. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 189
  5. 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
  6. 2021Jigsaw: Large Language Models meet Program Synthesiscited by 103
  7. 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 64
  8. 2019Unsupervised Question Answering by Cloze Translationcited by 59
  9. 2016Neural Paraphrase Generation with Stacked Residual LSTM Networkscited by 52

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 1; 2026: 2.

5 papers.