Table of Contents

Class KnowledgeManagementContextPlugin

Namespace
FoundationaLLM.SemanticKernel.Core.Plugins
Assembly
FoundationaLLM.SemanticKernel.Core.dll

Provides the capability to build a context by recalling memories using vector search.

public class KnowledgeManagementContextPlugin
Inheritance
KnowledgeManagementContextPlugin
Inherited Members
Extension Methods

Constructors

KnowledgeManagementContextPlugin(ISemanticTextMemory, string)

Provides the capability to build a context by recalling memories using vector search.

public KnowledgeManagementContextPlugin(ISemanticTextMemory memory, string indexName)

Parameters

memory ISemanticTextMemory
indexName string

Methods

BuildContextAsync(string, List<MessageHistoryItem>)

[KernelFunction("BuildContext")]
public Task<string> BuildContextAsync(string userPrompt, List<MessageHistoryItem> messageHistory)

Parameters

userPrompt string
messageHistory List<MessageHistoryItem>

Returns

Task<string>