> ## Documentation Index
> Fetch the complete documentation index at: https://langchain-docs-zh.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 缓存集成

> 使用 LangChain JavaScript 与缓存集成。

[缓存 LLM 调用](https://langchain-docs-zh.mintlify.site/langchain/oss/langchain/models.md#提示词缓存) 可以用于测试、节省成本和提升速度。

以下是一些集成方案，它们允许您使用不同的缓存和不同的策略来缓存单个 LLM 调用的结果。

| 集成 | 下载 |
| :- | :- |
| [`BetterDB Agent Cache`](https://www.betterdb.com/ai) | [  ![Downloads per month](https://img.shields.io/npm/dm/@betterdb/agent-cache?style=flat-square\&label=%20&)](https://www.npmjs.com/package/@betterdb/agent-cache) |
| [`Azure Cosmos DB NoSQL semantic`](https://langchain-docs-zh.mintlify.site/langchain/oss/javascript/integrations/llm_caching/azure_cosmosdb_nosql) | [  ![Downloads per month](https://img.shields.io/npm/dm/@langchain/azure-cosmosdb?style=flat-square\&label=%20&)](https://www.npmjs.com/package/@langchain/azure-cosmosdb) |
| [`BetterDB Semantic Cache`](https://www.betterdb.com/ai) | [  ![Downloads per month](https://img.shields.io/npm/dm/@betterdb/semantic-cache?style=flat-square\&label=%20&)](https://www.npmjs.com/package/@betterdb/semantic-cache) |

***

> 官方原文：[src/oss/javascript/integrations/llm\_caching/index.mdx](https://github.com/langchain-ai/docs/blob/main/src/oss/javascript/integrations/llm_caching/index.mdx) · 非官方翻译，译文由 AI 生成，以英文原文为准。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.