Documentation
Table of Contents

Method WithRateLimiter

Namespace
IntentSharp
Assembly
IntentSharp.dll

WithRateLimiter(IRateLimiter?)

Sets the rate limiter that every completion and judge call waits on, for at most 30 seconds; a call that would wait longer fails as a transient provider error. EmbedAsync(string, CancellationToken) calls do not wait on it. Pass null for none, which is also the default without this call.

public IntentClientBuilder WithRateLimiter(IRateLimiter? rateLimiter)

Parameters

rateLimiter IRateLimiter

Returns

IntentClientBuilder