Show HN: Semanticcache – A high-performance semantic caching library for Go

4 botirk 2 9/7/2025, 10:19:01 PM github.com ↗
I built semanticcache, a Go library that uses vector embeddings to cache and retrieve semantically similar content. It’s designed for LLM applications, search systems, and other use cases where semantic similarity matters.

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

Comments (2)

stefanos82 · 5h ago
You need to add the LICENSE file that's missing from README.md
botirk · 4h ago
done thanks bro!