Skip to content

AgentGroupChat with Vector database support #10429

Answered by crickman
dehlers1000 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, using a plug-in is the way you'd want to integrate RAG/VectorDB inetgrateion with a ChatCompletionAgent.

We have a demo that shows how to do this integration:

On line 94, we are registering a vector store text search instance as a plugin:
https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/VectorStoreRAG/RAGChatService.cs#L94

LIne 121 is where it is invoked:
https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/VectorStoreRAG/RAGChatService.cs#L121

For this to work register both a vector store and a vector store text search instance:
https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/VectorStoreRAG/Program.cs#L69
h…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dehlers1000
Comment options

Answer selected by dehlers1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
.NET Issue or Pull requests regarding .NET code agents
3 participants