Dependency Injection for AI Components
Register .NET AI clients, tools, prompts, and retrieval services with explicit lifetimes, safe request state, and clear disposal ownership.
Register .NET AI clients, tools, prompts, and retrieval services with explicit lifetimes, safe request state, and clear disposal ownership.
Check why generation stopped before accepting model output, and give incomplete responses an explicit application outcome.
Track progress per consumer and source ordering boundary, and advance each checkpoint only after the corresponding ingestion work succeeds.
Let one throttling response reduce pressure from every caller sharing the affected capacity pool.
A CancellationToken in scope does nothing unless the async enumeration receives and observes it.
Rethrow the current exception with throw; so the original failure location remains visible.
Compare a document’s source checksum, metadata, and ingestion profile before repeating extraction, chunking, embedding, and index writes.
Make culture and time zone explicit inputs when parsing, formatting, or local-time conversion depends on them.
Bound every model-visible tool result before it enters the next prompt.
Run Qdrant locally, connect with the official .NET client, and create a collection whose vector size and distance match the embedding model.