Files
agent-framework/dotnet/samples/GettingStarted/AgentWithRAG
T
westey ada5b83c80 .NET: Add rag samples with sample TextSearchStore (#1664)
* Port store for adding text to a vector store to AF

* Fix typo.

* Change TextSearchStore to sample, and add sample to use it and do rag with a custom schema

* Add more tests and fix broken ones

* Fix merge issue

* Fix sample after merge.

* Convert TextSearchStore to use Dynamic mode to be AOT compatible.

* Add some more clarification on when to use assistant messages in rag searches.
ada5b83c80 ยท 2025-11-04 16:24:26 +00:00
History
..

Agent Framework Retrieval Augmented Generation (RAG)

These samples show how to create an agent with the Agent Framework that uses Retrieval Augmented Generation (RAG) to enhance its responses with information from a knowledge base.

Sample Description
Basic Text RAG This sample demonstrates how to create and run a basic agent with simple text Retrieval Augmented Generation (RAG).
RAG with external Vector Store and custom schema This sample demonstrates how to create and run an agent that uses Retrieval Augmented Generation (RAG) with an external vector store. It also uses a custom schema for the documents stored in the vector store.