News for hackers. Stuff that matters.

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

https://github.com/botirk38/semanticcache

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

( 2 comments | 4 points | on HN )
Re:Show HN: Semanticcache – A high-performance semantic cach... by stefanos82 on Sunday September 07, 2025 @06:55PM (#45162953)
You need to add the LICENSE file that's missing from README.md
Re:Show HN: Semanticcache – A high-performance semantic cach... by botirk on Sunday September 07, 2025 @07:56PM (#45163378)
done thanks bro!