diff --git a/packages/memory-service/src/entities/extraction.js b/packages/memory-service/src/entities/extraction.js index c4dd0e1..ff860f3 100644 --- a/packages/memory-service/src/entities/extraction.js +++ b/packages/memory-service/src/entities/extraction.js @@ -29,6 +29,8 @@ function buildExtractionPrompt(userMessage, aiResponse, knownEntities = []) { '<|im_start|>user', 'Read the conversation below and extract all named entities and the relationships between them.', `Entity types: ${ENTITY_TYPES.join(', ')}`, + 'Use "character" for any fictional, game, or media characters (e.g. characters from anime, games, books, TV shows, movies)', + 'Use "person" only for real people', 'For each entity provide:', ' "name": short proper noun only (max 4 words)', ' "type": one of the valid types',