Skip to main content

Overview

SemanticMemory represents distilled knowledge or specific attributes extracted from episodic data, organized by categories and tags.

Properties

PropertyTypeDescription
categorystringThe high-level grouping for this memory (e.g., “preferences”).
feature_namestringThe specific attribute name.
valuestringThe data or fact stored for this feature.
tagstringA searchable label associated with the memory.
set_idstringThe identifier for the collection this memory belongs to.
metadatastring[]Associated citations and identifiers.

Usage Example

const knowledge = searchResponse.content.semantic_memory;

console.log('Knowledge points:');
console.dir(knowledge , { depth: null });