rag-pipeline-dotnet

Implement RAG pipelines with Microsoft Semantic Kernel for .NET applications.

2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/michaelalber/ai-toolkit --skill rag-pipeline-dotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-pipeline-dotnet
Source: https://github.com/michaelalber/ai-toolkit/tree/main/skills/rag-pipeline-dotnet
Command: npx skills add https://github.com/michaelalber/ai-toolkit --skill rag-pipeline-dotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the creation of robust, secure, and compliant Retrieval-Augmented Generation (RAG) pipelines within .NET applications, specifically addressing the needs of enterprise and federal environments.

Core Features & Use Cases

  • End-to-End RAG Implementation: Guides the setup, ingestion, indexing, retrieval, and generation phases of a RAG pipeline using Microsoft Semantic Kernel.
  • Federal Compliance: Incorporates critical considerations for data classification, FedRAMP, NIST AI RMF, and air-gapped deployments.
  • Use Case: Develop a secure Q&A system for internal company policies that can be deployed in a government-mandated air-gapped environment, ensuring all data handling adheres to strict compliance standards.

Quick Start

Configure the Semantic Kernel with Azure OpenAI for chat completion and text embedding, then ingest a document into the 'policies' collection.

Frequently Asked Questions about rag-pipeline-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a RAG pipeline in .NET using Semantic Kernel?

To build a RAG pipeline in .NET, this Skill guides you through the setup, ingestion, indexing, retrieval, and generation phases using Microsoft Semantic Kernel. You configure chat completion and text embedding services, then ingest documents into a vector collection for querying.

Can I deploy a retrieval-augmented generation pipeline in an air-gapped environment?

Yes, this Skill supports deploying a retrieval-augmented generation pipeline in an air-gapped environment. It incorporates critical considerations for data classification and federal compliance to ensure secure, isolated operation without external network dependencies.

Does this Semantic Kernel RAG implementation meet federal compliance standards?

This Semantic Kernel RAG implementation addresses federal compliance by incorporating critical considerations for FedRAMP, NIST AI RMF, and data classification. It is designed for enterprise and federal environments requiring strict adherence to security standards.

What is the best way to create a document Q&A system in C#?

The best way to create a document Q&A system in C# is using this Skill's end-to-end RAG implementation. It leverages Microsoft Semantic Kernel to ingest documents into a vector collection, enabling secure question answering directly from your indexed knowledge base.

How do I configure vector search in .NET for an internal knowledge base?

You configure vector search in .NET by setting up Semantic Kernel with text embedding, then ingesting documents into a specific collection like 'policies'. This Skill guides the embedding pipeline and indexing process to enable efficient vector search across your knowledge base.