public void AddContentToLongTermMemory(MemoryItem commonKnowledgeContent) { if (commonKnowledgeContent == null) { return; } if (KnowledgeRandomizer == null) { KnowledgeRandomizer = new StandardKnowledgeRandomization(MyTraits); } MyMemory.AddLongTermMemoryContent(KnowledgeRandomizer.RandomizeKnowledgeItem(commonKnowledgeContent)); }
public void AddContentToLongTermMemory(List <MemoryItem> commonKnowledgeContent) { if (commonKnowledgeContent == null) { return; } if (KnowledgeRandomizer == null) { KnowledgeRandomizer = new StandardKnowledgeRandomization(MyTraits); } MyMemory.AddLongTermMemoryContent(KnowledgeRandomizer.BuildRandomizedKnowledgeBase(commonKnowledgeContent)); }