fix: update paths and version for openclaw-true-recall-base rename
This commit is contained in:
12
config.json
12
config.json
@@ -1,12 +1,14 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0",
|
"version": "1.2",
|
||||||
"description": "TrueRecall Base - Memory capture",
|
"description": "OpenClaw TrueRecall Base v1.2 - Real-time memory capture with priority-based session detection",
|
||||||
"components": ["watcher"],
|
"components": ["watcher"],
|
||||||
"collections": {
|
"collections": {
|
||||||
"memories": "memories_tr"
|
"memories": "memories_tr"
|
||||||
},
|
},
|
||||||
"qdrant_url": "http://<QDRANT_IP>:6333",
|
"qdrant_url": "http://10.0.0.40:6333",
|
||||||
"ollama_url": "http://<OLLAMA_IP>:11434",
|
"ollama_url": "http://localhost:11434",
|
||||||
"embedding_model": "snowflake-arctic-embed2",
|
"embedding_model": "snowflake-arctic-embed2",
|
||||||
"user_id": "<USER_ID>"
|
"embedding_dimensions": 1024,
|
||||||
|
"user_id": "rob",
|
||||||
|
"notes": "Ensure memories_tr collection is created with size=1024 for snowflake-arctic-embed2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=<USER>
|
User=root
|
||||||
WorkingDirectory=<INSTALL_PATH>/true-recall-base/watcher
|
WorkingDirectory=/root/.openclaw/workspace/.local_projects/openclaw-true-recall-base/watcher
|
||||||
Environment="QDRANT_URL=http://<QDRANT_IP>:6333"
|
Environment="QDRANT_URL=http://10.0.0.40:6333"
|
||||||
Environment="QDRANT_COLLECTION=memories_tr"
|
Environment="QDRANT_COLLECTION=memories_tr"
|
||||||
Environment="OLLAMA_URL=http://<OLLAMA_IP>:11434"
|
Environment="OLLAMA_URL=http://localhost:11434"
|
||||||
Environment="EMBEDDING_MODEL=snowflake-arctic-embed2"
|
Environment="EMBEDDING_MODEL=snowflake-arctic-embed2"
|
||||||
Environment="USER_ID=<USER_ID>"
|
Environment="USER_ID=rob"
|
||||||
ExecStart=/usr/bin/python3 <INSTALL_PATH>/true-recall-base/watcher/realtime_qdrant_watcher.py --daemon
|
ExecStart=/usr/bin/python3 /root/.openclaw/workspace/.local_projects/openclaw-true-recall-base/watcher/realtime_qdrant_watcher.py --daemon
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ def store_to_qdrant(turn: Dict[str, Any], dry_run: bool = False) -> bool:
|
|||||||
"turn": turn['turn'],
|
"turn": turn['turn'],
|
||||||
"timestamp": turn.get('timestamp', datetime.now(timezone.utc).isoformat()),
|
"timestamp": turn.get('timestamp', datetime.now(timezone.utc).isoformat()),
|
||||||
"date": datetime.now(timezone.utc).strftime('%Y-%m-%d'),
|
"date": datetime.now(timezone.utc).strftime('%Y-%m-%d'),
|
||||||
"source": "true-recall-base",
|
"source": "openclaw-true-recall-base",
|
||||||
"curated": False
|
"curated": False
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user