Table of Contents

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

AddAgentConversationAgent(IServiceCollection)

Registers the Agent: the composition that answers a person in a conversation, reading their mail, calendar, and tasks and proposing what to do.

AddCalendarEventExtractionAgent(IServiceCollection, bool)

Registers the one way text becomes calendar events, in whichever of its two states the deployment is in.

AddChatProviderAdapter(IServiceCollection)

Registers the adapter that produces answers by calling a chat provider, and the transport it sends over.

AddContactRelationshipAgent(IServiceCollection)

Registers the agent that reads an opened contact's correspondence into where the relationship stands, and the use case a contact page reaches it through.

AddDayLayoutAgent(IServiceCollection, bool)

Registers the one way a day is arranged, in whichever of its two states the deployment is in.

AddDeterministicTextEmbeddings(IServiceCollection, int, int)

Registers the generator that derives vectors from the text alone, reaching no provider.

AddDiscoveryRunAgents(IServiceCollection)

Registers the two agents a Discover run reaches the model through: the derivation that reads one question into a plan, and the composition that turns what it found into a result.

AddEmailEnrichmentAgent(IServiceCollection, bool)

Registers the one way a message becomes the marks a list row draws, in whichever of its two states the deployment is in.

AddEmbeddingProviderAdapter(IServiceCollection)

Registers the adapter that produces vectors by calling a provider, and the transport it sends over.

AddImageAttachmentDescription(IServiceCollection, long?)

Registers the one way an image attachment becomes text, in whichever of its two states the deployment is in.

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.

AddMailBodyCleanupAgent(IServiceCollection, bool)

Registers the one way a reduced body becomes the cleaned rendering, in whichever of its two states the deployment is in.

AddMailSearchPhraseAgent(IServiceCollection)

Registers the agent that reads a typed sentence into the filters and criteria a search is made of.

AddModelJudgedRetrieval(IServiceCollection)

Registers the second retrieval pass that puts the fused ranking's own candidates to the model.

AddReplyDraftAgent(IServiceCollection, bool)

Registers the agent that drafts a reply, and the use case a composer reaches it through.

AddThreadStateAgent(IServiceCollection, bool)

Registers the one way a conversation becomes the state drawn beside it, in whichever of its two states the deployment is in.