SemanticTextMemory(IMemoryStore, ITextEmbeddingGenerationService) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.