Share via


SemanticTextMemory(IMemoryStore, ITextEmbeddingGenerationService) Constructor

Definition

Initializes a new instance of the SemanticTextMemory class.

public SemanticTextMemory (Microsoft.SemanticKernel.Memory.IMemoryStore storage, Microsoft.SemanticKernel.Embeddings.ITextEmbeddingGenerationService embeddingGenerator);
new Microsoft.SemanticKernel.Memory.SemanticTextMemory : Microsoft.SemanticKernel.Memory.IMemoryStore * Microsoft.SemanticKernel.Embeddings.ITextEmbeddingGenerationService -> Microsoft.SemanticKernel.Memory.SemanticTextMemory
Public Sub New (storage As IMemoryStore, embeddingGenerator As ITextEmbeddingGenerationService)

Parameters

storage
IMemoryStore

The memory store to use for storing and retrieving data.

embeddingGenerator
ITextEmbeddingGenerationService

The text embedding generator to use for generating embeddings.

Applies to