diff --git a/main.py b/main.py index b91c6cec4..a301053ad 100644 --- a/main.py +++ b/main.py @@ -466,8 +466,8 @@ async def user_context_enrichment(session, user_id:str, query:str, generative_re context = f""" You are a memory system that uses cognitive architecture to enrich the LLM context and provide better query response. You have access to the following information: - EPISODIC MEMORY: {episodic_mem} - SEMANTIC MEMORY: {semantic_mem} + EPISODIC MEMORY: {episodic_mem[:500]} + SEMANTIC MEMORY: {semantic_mem[:500]} PROCEDURAL MEMORY: NULL SEARCH CONTEXT: The following documents provided with sources they were extracted from could be used to provide an answer {search_context}