Show HN: Semanticcache – A high-performance semantic caching library for Go(github.com)
github.com
Show HN: Semanticcache – A high-performance semantic caching library for Go
https://github.com/botirk38/semanticcache
https://github.com/botirk38/semanticcache
Features include multiple backends (in-memory LRU, LFU, FIFO, Redis), OpenAI embedding integration, vector similarity search with pluggable comparators, extensibility for custom backends and providers, type-safe generics, and batch operations.
You can cache responses or documents with semantic lookup, use custom similarity functions, and choose between in-memory or Redis persistence.
Repo: https://github.com/botirk38/semanticcache