Getting Started with AI in C# (Part 5A - Retrieval-Augmented Generation) [Advanced]
Вставка
- Опубліковано 6 лют 2025
- Sorry for the first few seconds of muffled sound... rest is good.
This is a sort of re-recording of Part 5 (The old version is here: • Getting Started with A... )
The old video has more theory, but has some flaws and is now using an obsolete version of vector-search so I made this new video.
If you wish the source code from the video you can get/see it here: github.com/rwj...
Nice video. Are there any advantages in using the RagSearch method and augmenting the prompt with the result from that, over implementing the search in a plugin that uses the same code to vectorize the question and doing the search? In the previous video you implemented the search in a plugin and I really like the possibility of injecting multiple kernel functions to keep things separated.
No (I mention it very briefly). I would still use Function Calling in production code, as the user of the system might just say "Hi", we have wasted a call to the vector store and extra data on the prompt that was not needed to exchange pleasantries with the user. I kept it out of this video to focus purely on the vector store code