QUICK REFERENCE 01
.NET AI request path
Trace a request from the web boundary to the model and back.
Client request → ASP.NET Core endpoint → application service → IChatClient or Semantic Kernel → provider → validated response
Short practical references for the concepts, workflows, and operational checks used throughout the roadmap.
Trace a request from the web boundary to the model and back.
Client request → ASP.NET Core endpoint → application service → IChatClient or Semantic Kernel → provider → validated response
Keep orchestration, model services, and application capabilities easy to reason about.
Kernel = service container + orchestration surface AI service = chat or embedding capability Plugin = application functions exposed as tools Function calling = model selects an available function; application executes and returns its result
Give the model the information and boundaries it needs to produce a usable response.
1. State the task and intended audience 2. Supply relevant context and trusted sources 3. Set constraints, exclusions, and assumptions 4. Specify the output format 5. Evaluate representative cases and revise
Use vectors to retrieve related meaning across differently worded text.
Normalize text → create chunks → generate embeddings → index vectors + metadata → embed query → rank similar chunks → return useful context Check: chunk size, overlap, metadata filters, relevance and latency.
Keep retrieval and generation as separate quality stages.
Ingest → parse → chunk → embed → index Question → retrieve → filter / rerank → assemble context → generate grounded answer → cite sources Evaluate retrieval relevance and answer groundedness separately.
Combine exact terms with semantic similarity when one retrieval method is not enough.
Index fields: searchable text + filterable metadata + vector fields Query: keyword + vector → hybrid ranking → semantic reranker → top passages Always check access filters, freshness, recall, precision and source attribution.
Choose a bounded workflow with explicit tools, state, and stop conditions.
User goal → planner / coordinator → approved tool calls → observe results → update state → answer or request human input Set tool permissions, iteration limits, error handling, and a clear stop condition.
Watch the experience, service health, and AI-specific costs and quality.
Capture: request ID, latency, errors, model, token counts, estimated cost, retrieval scores Evaluate: accuracy, groundedness, completeness, safety Operate: retries with limits, timeouts, dashboards, alerts, redaction and incident notes