diff --git a/packages/orchestration-service/src/chat/index.js b/packages/orchestration-service/src/chat/index.js index 0e50fd7..829d37a 100644 --- a/packages/orchestration-service/src/chat/index.js +++ b/packages/orchestration-service/src/chat/index.js @@ -7,7 +7,7 @@ const SYSTEM_PROMPT = `You are a helpful, context-aware AI assistant. You have access to memories of past conversations with the user. Use them to provide consistent, personalised responses.`; -const RECENT_EPISODE_LIMIT = 10; // Number of recent episodes to retrieve for context +const RECENT_EPISODE_LIMIT = 5; // Number of recent episodes to retrieve for context const SEMANTIC_LIMIT = 5; const SCORE_THRESHOLD = 0.75;