Skip to content

Citations from a Plugin #9612

Closed Answered by dmytrostruk
malv007 asked this question in Q&A
Nov 7, 2024 · 1 comments · 11 replies
Discussion options

You must be logged in to vote

@malv007 Thanks for providing more information, it's really helpful!

I think that's fine to integrate Kernel Memory with Semantic Kernel via Plugin. Just want to mention, that it's not really important which integration is used via Plugin, as chat completion service can work with any kind of Plugin output.

For example, imagine you are working with following data model:

public sealed class DataModel
{
    public string Content { get; set; }
    public string Citation { get; set; }
}

And you have a plugin which returns some data using that model:

public sealed class MyPlugin
{
    [KernelFunction]
    [Description("Provides data with citations.")]
    public static List<DataModel> GetData()

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@malv007
Comment options

@malv007
Comment options

@dmytrostruk
Comment options

Answer selected by sophialagerkranspandey
@malv007
Comment options

@dmytrostruk
Comment options

@dmytrostruk
Comment options

@malv007
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants