Class AiServiceCollectionExtensions
- Namespace
- MailFathom.AI
- Assembly
- MailFathom.AI.dll
Registers what the AI boundary implements for the rest of the application.
public static class AiServiceCollectionExtensions
- Inheritance
-
AiServiceCollectionExtensions
- Inherited Members
Methods
- AddChatProviderAdapter(IServiceCollection)
Registers the adapter that produces answers by calling a chat provider, and the transport it sends over.
- AddDeterministicTextEmbeddings(IServiceCollection, int, int)
Registers the generator that derives vectors from the text alone, reaching no provider.
- AddEmbeddingProviderAdapter(IServiceCollection)
Registers the adapter that produces vectors by calling a provider, and the transport it sends over.
- AddLocalTextDerivations(IServiceCollection)
Registers the derivations retrieval is built on that reach no provider and no network.
- AddMailAnsweringAgent(IServiceCollection)
Registers the agent that answers a question about the mailbox from what it retrieves while answering.
- AddModelJudgedRetrieval(IServiceCollection)
Registers the second retrieval pass that puts the fused ranking's own candidates to the model.