dylanglenister
commited on
Commit
·
49fb144
1
Parent(s):
67ca95b
CHORE: Fixed RAS Syndrome
Browse filesRedundant Acronym Syndrome.
README.md
CHANGED
|
@@ -36,7 +36,7 @@ The system's contextual memory is built upon a RAG architecture to provide relev
|
|
| 36 |
- **Short-Term Memory**: An in-memory LRU (Least Recently Used) cache stores the summaries of the last three interactions. This allows for immediate context recall within an ongoing conversation.
|
| 37 |
- **Long-Term Memory**: The summaries of the last twenty interactions for each patient are persisted in MongoDB. This provides a deeper historical context for recurring patients, allowing the system to reference past conversations and maintain continuity over time.
|
| 38 |
|
| 39 |
-
When a query is received, the system retrieves the relevant short and long-term memory summaries to build a comprehensive context. This context is then provided to the LLM
|
| 40 |
|
| 41 |
## Key Features
|
| 42 |
|
|
|
|
| 36 |
- **Short-Term Memory**: An in-memory LRU (Least Recently Used) cache stores the summaries of the last three interactions. This allows for immediate context recall within an ongoing conversation.
|
| 37 |
- **Long-Term Memory**: The summaries of the last twenty interactions for each patient are persisted in MongoDB. This provides a deeper historical context for recurring patients, allowing the system to reference past conversations and maintain continuity over time.
|
| 38 |
|
| 39 |
+
When a query is received, the system retrieves the relevant short and long-term memory summaries to build a comprehensive context. This context is then provided to the LLM along with the user's query to generate an accurate and context-aware response.
|
| 40 |
|
| 41 |
## Key Features
|
| 42 |
|