Table of Contents

Class SemanticKernelKnowledgeManagementAgent

Namespace
FoundationaLLM.SemanticKernel.Core.Agents
Assembly
FoundationaLLM.SemanticKernel.Core.dll

The Knowledge Management agent.

public class SemanticKernelKnowledgeManagementAgent : SemanticKernelAgentBase
Inheritance
SemanticKernelKnowledgeManagementAgent
Inherited Members
Extension Methods

Constructors

SemanticKernelKnowledgeManagementAgent(LLMCompletionRequest, IEnumerable<IResourceProviderService>, ILoggerFactory, IHttpClientFactoryService)

The Knowledge Management agent.

public SemanticKernelKnowledgeManagementAgent(LLMCompletionRequest request, IEnumerable<IResourceProviderService> resourceProviderServices, ILoggerFactory loggerFactory, IHttpClientFactoryService httpClientFactoryService)

Parameters

request LLMCompletionRequest

The KnowledgeManagementCompletionRequest to be processed by the agent.

resourceProviderServices IEnumerable<IResourceProviderService>

A collection of IResourceProviderService resource providers.

loggerFactory ILoggerFactory

The ILoggerFactory used to create loggers for logging.

httpClientFactoryService IHttpClientFactoryService

Methods

BuildResponseWithAzureOpenAI()

Builds the completion response using Azure OpenAI.

protected override Task<LLMCompletionResponse> BuildResponseWithAzureOpenAI()

Returns

Task<LLMCompletionResponse>

A LLMCompletionResponse object containing the completion response.

Exceptions

NotImplementedException

ExpandAndValidateAgent()

Retrieves the agent-specific details from the agent properties payload.

protected override Task ExpandAndValidateAgent()

Returns

Task

ValidateAndMapIndexingProfileConfiguration(IndexingProfile)

Validates and maps the configuration of the indexing profile to the corresponding settings.

protected Task<bool> ValidateAndMapIndexingProfileConfiguration(IndexingProfile indexingProfile)

Parameters

indexingProfile IndexingProfile

Returns

Task<bool>

True if valid.