Interface IEmbeddingCredentialSource
- Namespace
- MailFathom.AI.Embeddings
- Assembly
- MailFathom.AI.dll
Resolves what one embedding request presents to one endpoint.
public interface IEmbeddingCredentialSource
Remarks
The port exists so this boundary holds no secret provider at all: references, schemes, and the resolution rules governed by ADR 0005 stay where every other credential's do, and what arrives here is already resolved material with a defined lifetime. It is asked per request rather than once, which is what lets a rotated key take effect without a restart.
Methods
- ResolveAsync(string, CancellationToken)
Resolves the credential configured for one endpoint.