Constructor AgentMemory
AgentMemory(LM)
Initializes a new instance of the AgentMemory class with the specified language model.
public AgentMemory(LM embeddingModel)
Parameters
embeddingModel
LMThe embeddings language model used to initialize the underlying retrieval engine. This model is critical for both storing and retrieving text partitions.