Documentation
Table of Contents

Namespace IntentSharp.Resilience

Classes

CacheStats

Counts for a request cache.

MemoryRequestCache

In-process cache with TTL and least-recently-used eviction.

RateLimitSnapshot

The state of a rate limiter for one provider at one moment.

TokenBucketRateLimiter

Token-bucket limiter: steady refill rate with burst capacity, one bucket per provider.

Interfaces

IRateLimiter

Local request throttle applied before each provider call.

IRequestCache

Caches provider responses by request content so identical requests do not call the model twice.