knowledgeBaseVector was changed to memory