ms-agent-framework-rag
Comprehensive guide for building Agentic RAG systems using Microsoft Agent Framework in C#. Use when creating RAG applications with semantic search, document indexing, and intelligent agent orchestration. Includes scaffolding scripts, reference implementations, and documentation
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Comprehensive guide for building Agentic RAG systems using Microsoft Agent Framework in C#. Use when creating RAG applications with semantic search, document indexing, and intelligent agent orchestration. Includes scaffolding scripts, reference implementations, and documentation for vector databases, embedding models, and multi-agent workflows.
How to use
Sklonuj lub pobierz repozytorium z umiejętnością ms-agent-framework-rag z shuyu-labs. Upewnij się, że masz zainstalowany C# oraz Microsoft Agent Framework.
Przejdź do katalogu skills/codex/ms-agent-framework-rag i uruchom skrypt do tworzenia nowego systemu RAG, podając nazwę projektu (np. MyKnowledgeBase). Skrypt automatycznie przygotuje strukturę katalogów i pliki konfiguracyjne.
Skonfiguruj warstwę ingestion — określ formaty dokumentów, które będziesz przetwarzać (PDF, DOCX, TXT, MD, HTML) oraz wybierz strategię dzielenia tekstu na fragmenty (semantyczną, sliding window lub hierarchiczną).
Wybierz i skonfiguruj bazę wektorową (Azure AI Search, Qdrant lub Pinecone) do przechowywania osadzonych dokumentów. Dodaj metadane takie jak źródło, data i tagi dla lepszego wyszukiwania.
Zdefiniuj specjalizowane agenty zgodnie z Twoimi potrzebami — np. agenta badawczego do wyszukiwania dokumentów, agenta syntezy do łączenia informacji z wielu źródeł oraz agenta walidacji do sprawdzania dokładności odpowiedzi.
Wdróż warstwę API z endpointami REST do wysyłania zapytań do systemu. Zintegruj Azure OpenAI lub OpenAI API jako model generacyjny dla agentów.