Commands as AI Conversations

Journal Article (2023)
Authors

D. Spinellis (Athens University of Economics and Business, TU Delft - Software Engineering)

Research Group
Software Engineering
Copyright
© 2023 D. Spinellis
To reference this document use:
https://doi.org/10.1109/MS.2023.3307170
More Info
expand_more
Publication Year
2023
Language
English
Copyright
© 2023 D. Spinellis
Research Group
Software Engineering
Issue number
6
Volume number
40
Pages (from-to)
22-26
DOI:
https://doi.org/10.1109/MS.2023.3307170
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Developers and data scientists often struggle to write command-line inputs, even though graphical interfaces or tools like ChatGPT can assist. The solution? "ai-cli,"an open-source system inspired by GitHub Copilot that converts natural language prompts into executable commands for various Linux command-line tools. By tapping into OpenAI's API, which allows interaction through JSON HTTP requests, "ai-cli"transforms user queries into actionable command-line instructions. However, integrating AI assistance across multiple command-line tools, especially in open source settings, can be complex. Historically, operating systems could mediate, but individual tool functionality and the lack of a unified approach have made centralized integration challenging. The "ai-cli"tool, by bridging this gap through dynamic loading and linking with each program's Readline library API, makes command-line interfaces smarter and more user-friendly, opening avenues for further enhancement and cross-platform applicability.

Files

Commands_as_AI_Conversations.p... (pdf)
(pdf | 3.27 Mb)
- Embargo expired in 10-06-2024
License info not available