PulseAugur
实时 17:14:16
English(EN) Your CI suite is probably re-paying OpenAI for prompts it already sent

withOhm 工具缓存相同的 LLM 提示词以降低成本和提高安全性

一位开发者创建了 withOhm,一个旨在通过缓存相同的 LLM 提示词来降低 AI 应用成本和提高安全性的工具。该系统缓存完全匹配的提示词,而非语义匹配,以避免错误,并将缓存的响应作为流式数据重放,以保持兼容性。此外,withOhm 还包含一个用于网页内容获取的合规层,在数据到达模型之前检查 robots.txt、编辑 PII 并防止 SSRF 攻击。 AI

影响 通过对相同的 LLM 调用进行去重,降低了 AI 应用的运营成本,并通过合规的网页内容获取提高了安全性。

排序理由 开发者创建的用于优化 LLM 使用的工具。

在 dev.to — LLM tag 阅读 →

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

withOhm 工具缓存相同的 LLM 提示词以降低成本和提高安全性

报道来源 [1]

  1. dev.to — LLM tag TIER_1 English(EN) · iwasinnam2 ·

    Your CI suite is probably re-paying OpenAI for prompts it already sent

    <p><strong>Disclosure</strong>: this is my own project (withOhm). Sharing it because the problem is generic enough that if you're building anything agentic or RAG-adjacent, you've probably hit some version of it already.</p> <p><strong>The problem</strong><br /> Two things kept h…