Reduce size of context, hack for now
This commit is contained in:
parent
9b2a639f97
commit
3d6d0a0a89
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
|
@ -470,8 +470,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[:500]}
|
||||
SEMANTIC MEMORY: {semantic_mem[:500]}
|
||||
EPISODIC MEMORY: {episodic_mem[:1000]}
|
||||
SEMANTIC MEMORY: {semantic_mem[:1000]}
|
||||
PROCEDURAL MEMORY: NULL
|
||||
SEARCH CONTEXT: The following documents provided with sources they were
|
||||
extracted from could be used to provide an answer {search_context}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue