Dmytro Struk
Dmytro Struk
Example for Semantic Caching in .NET is here: https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Concepts/Caching/SemanticCachingWithFilters.cs
Hi @Cobra86 , I'm not sure if the issue is on Semantic Kernel side, because we are not modifying user input. Could you please include some code snippet, which will...
@roji Since you are changing current DI methods, I'm wondering if in this scope of work we should also include DI methods that instead of `IServiceCollection` will return `{Service}Builder`, so...
@roji > I think it's OK if we merge this and later do another one changing the return types to builder (if that's what we choose to do). Or do...
> My vote would be to be aligned with MEAI here, so everything works the same way. I agree with this approach. Let's proceed with it unless there will be...
@Krzysztof318 After further brainstorming about this design, I have more ideas to share. But I will need a little bit more time to collect all the information and discuss it...
> @dmytrostruk can we finish this adr? What else you thoughts have? Hi @Krzysztof318 ! Based on latest discussions we agreed on the following: - Keep generic parameter for Embedding...
> Hi @dmytrostruk when will you have time to finish that? Hi @Krzysztof318 , this issue should be prioritized based on other memory-related work which is currently in progress. cc:...
@tamer-abdulghani You can implement and register `PromptRenderFilter`, which will contain rendered prompt after calling `next(context)` delegate/callback. You can get an access to rendered prompt using `context.RenderedPrompt` and you can also...
Examples of prompt evaluation logic in C# using prompt render filter: - https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/ContentSafety/Filters/TextModerationFilter.cs - https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Demos/ContentSafety/Filters/AttackDetectionFilter.cs