Ta strona została przetłumaczona maszynowo. Przeczytaj oryginał w języku angielskim.

FeatureRecipe

semantic-caching-litellm

Realizes core/semantic-caching on the AI gateway core/gateway/litellm; a Release binds it in its Manifest. It writes the gateway's own cache setting into the configuration the gateway's Recipe renders, and emits no file. The gateway keeps its replies in the core/datastore/redis wired to its cache_store socket, reached over TLS while it publishes redis-tls, turns each prompt into a vector with embedding_model, an alias of its model map, and serves a stored reply whose prompt is at least similarity_threshold alike; the store removes a reply ttl_seconds after it was stored. Chat requests, streamed or not, and responses and messages requests are cached; completions, embeddings and every other kind of request are not. Replies are kept apart by the key each request presents, which the gateway verifies and a request cannot name for itself. Under scope end_user it also keeps apart the end users requests name, in an x-litellm-end-user-id or x-litellm-customer-id header or in the body's user, metadata.user_id, litellm_metadata.user or safety_identifier field. The gateway verifies none of them, so a caller naming another end user is served that end user's replies, and a request naming none shares one cache with every other request naming none under the same key. Under scope key the end user is left out, though the body's user field, a request parameter, still keeps apart requests naming different ones. The build halts unless the gateway's api_key slot is attached and its cache_store socket wired, on an embedding_model the map does not publish, on a second such attachment on one gateway, and when the attachment is carried by any component other than core/gateway/litellm.

Pochodzenie

OficjalnyPodpisano tożsamością podpisującą, którą ten katalog uznaje za oficjalnego wydawcę.
Skrót zawartości
sha256:97de262b47f5ab2c8619e2f4a3ea9cd7fc0f6a63c34bc34ae90b82de0c7b2d85
Opublikowano
2026-11-10T10:16:27Z
Tożsamość podpisująca
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Podpis

  • Oficjalnyapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:415c43e0b733d9244922a09de2fc93c990f3fd833df0ce3bdf18c88be4f6b2fb

Referencja w tej wersji

oci://hub.aggrega.ai/featurerecipe/helm/semantic-caching-litellm:1.0.0
Cel
—
Implementuje
core/semantic-caching:1.0.0

Udostępnia

Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.

Nie zadeklarowano szablonów provides.

Workload

Nie zadeklarowano szablonu obciążenia roboczego.

Zmienne lokalne

Nie zadeklarowano zmiennych lokalnych.

Mapowanie wartości

Nie zadeklarowano mapowania wartości.

Relacje

Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.

Używa

Używane przez

Nic w katalogu nie zależy od tej encji.

Dokumentacja pojęcia FeatureRecipe →

Katalog Aggrega — otwarty indeks komponentów, funkcji, receptur oraz wtyczek, które je renderują.

Zbudowano przy użyciu wspólnego systemu projektowego Aggrega.

Prywatność