chore: publish from main

This commit is contained in:
github-actions[bot]
2026-09-02 01:52:18 +00:00
parent 36e41c064f
commit 0a7f629fd5
2 changed files with 32 additions and 0 deletions
@@ -210,6 +210,7 @@ Models have a finite context window measured in tokens. When designing conversat
- Exact-input caching for conversations is often ineffective. Consider semantic caching (embedding-based) for repeated meaning-level queries.
- Semantic caching introduces dependency on embeddings and is not universally suitable.
- Cache only where it reduces cost and meets correctness requirements (e.g., FAQ bots).
- Configure caches through `set_llm_cache(...)` from `langchain_core.globals`; exact-match backends include `InMemoryCache`, `SQLiteCache`, `RedisCache`, and `UpstashRedisCache` (serverless Redis over HTTP, with optional `ttl`), and `RedisSemanticCache` is an embedding-based option.
## Best practices