Enum AiProviderRole
- Namespace
- MailFathom.Application.AiProviders
- Assembly
- MailFathom.Application.dll
Names what an outbound AI provider is called for.
public enum AiProviderRole
Fields
Chat = 1The provider that turns a conversation into generated text.
Embedding = 0The provider that turns a passage into a vector.
Remarks
The two are declared, credentialed, called, and reported on separately, and an instance may hold one and not the other. This enumeration is what keeps that separation expressible in one place rather than as two parallel sets of types: the states are read and written per role, so nothing can collapse them into a single "AI is configured" flag.