PulseAugur
实时 16:41:52
English(EN) How I do use the recent llama.cpp native tools to do web rag a.k.a. web_fetch (or anything else for the matter) directly from inside the llama-server's webui

Llama.cpp 服务器通过多沙箱设置实现 RAG 和 shell 命令

Reddit 的 r/LocalLLaMA 版块的一位用户分享了一种详细的方法,可以在 llama.cpp 服务器的 Web UI 中启用检索增强生成(RAG)和其他命令行功能。该方法包括在 llama-server 中启用原生工具,为系统范围的沙箱安装和配置 `firejail`,并创建一个拥有名为 `smolmachines` 的虚拟机容器的专用用户。该设置最终形成一个多层沙箱过程,允许 LLM 直接从其界面安全地执行命令,例如使用 `wget` 获取网页内容。 AI

影响 使本地 LLM 界面能够直接执行更复杂的 RAG 和命令,增强其在复杂任务中的实用性。

排序理由 用户开发的用于利用现有 LLM 服务器功能的方法。

在 r/LocalLLaMA 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

报道来源 [1]

  1. r/LocalLLaMA TIER_1 English(EN) · /u/DevelopmentBorn3978 ·

    How I do use the recent llama.cpp native tools to do web rag a.k.a. web_fetch (or anything else for the matter) directly from inside the llama-server's webui

    <!-- SC_OFF --><div class="md"><p>As some other fellow lllmers I've discovered few days ago that the amazing llama.cpp project has just added native tools functionalities into the server.</p> <p>After having enabled the relative options into llama-server and played a bit with the…