arXiv:2506.13028cs.OScs.AI2025-06被引 2

用大模型做自然语言终端,设计了防错恢复机制。

NaSh: Guardrails for an LLM-Powered Natural Language Shell

  • 让大模型处理自然语言指令,自动纠错与恢复
  • 提出新终端NaSh,支持用户从错误中快速恢复
  • 适合想用大模型交互的开发者和研究人员

我们探讨了基于大语言模型(LLM)的自然语言终端应如何不同于现有终端。由于LLM可能产生意外或难以解释的输出,我们认为自然语言终端应提供保护机制,帮助用户从错误中恢复。为此,我们设计了名为NaSh的新终端,提出具体实现思路,识别该领域尚未解决的问题,并讨论未来研究方向。

原文摘要 · Abstract (English)

We explore how a shell that uses an LLM to accept natural language input might be designed differently from the shells of today. As LLMs may produce unintended or unexplainable outputs, we argue that a natural language shell should provide guardrails that empower users to recover from such errors. We concretize some ideas for doing so by designing a new shell called NaSh, identify remaining open problems in this space, and discuss research directions to address them.

自然语言终端大模型应用人机交互

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。