Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Genpark Prompt Semantic Cache Similarity Dedup Skill

FreeNot checked

GenPark AI Agent Skill - Semantic prompt cache, cosine similarity threshold lookup, hit/miss metrics, and TTL cache expiration.

GitHubEmbed

About

GenPark AI Agent Skill - Semantic prompt cache, cosine similarity threshold lookup, hit/miss metrics, and TTL cache expiration.

README

GenPark Verified Protocol License

Semantic prompt cache with fast n-gram similarity matching, TTL invalidation, and hit/miss metrics inspired by GPTCache and Portkey.

flowchart TD
    A[Incoming User Prompt] --> B[N-gram Tokenizer]
    B --> C[Similarity Matcher Against In-Memory Cache]
    C -->|Sim >= Threshold| D[Cache HIT: Instant Response]
    C -->|Sim < Threshold| E[Cache MISS: Dispatch to LLM API]
    E --> F[Store New Entry with TTL]
    F --> G[Return Fresh Generation]

Features

  • High-Speed N-gram Jaccard Similarity: Evaluates sentence semantic overlap in under 1ms.
  • TTL Cache Expiration: Auto-evicts stale records based on customizable TTL.
  • Zero External Dependencies: Standard library Python 3.9+.

Quickstart

from client import SemanticPromptCacheClient

cache = SemanticPromptCacheClient(similarity_threshold=0.85)
cache.store("What is Python?", "Python is a programming language.")
result = cache.lookup("Explain what Python is?")

Ecosystem & Citations

Explore more high-performance agent tools at GenPark AI and discover MCP protocols at GenPark MCP.

from github.com/Alpha-Park/genpark-prompt-semantic-cache-similarity-dedup-skill

Installing Genpark Prompt Semantic Cache Similarity Dedup Skill

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/Alpha-Park/genpark-prompt-semantic-cache-similarity-dedup-skill

FAQ

Is Genpark Prompt Semantic Cache Similarity Dedup Skill MCP free?

Yes, Genpark Prompt Semantic Cache Similarity Dedup Skill MCP is free — one-click install via Unyly at no cost.

Does Genpark Prompt Semantic Cache Similarity Dedup Skill need an API key?

No, Genpark Prompt Semantic Cache Similarity Dedup Skill runs without API keys or environment variables.

Is Genpark Prompt Semantic Cache Similarity Dedup Skill hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Genpark Prompt Semantic Cache Similarity Dedup Skill in Claude Desktop, Claude Code or Cursor?

Open Genpark Prompt Semantic Cache Similarity Dedup Skill on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Genpark Prompt Semantic Cache Similarity Dedup Skill with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs