@pyxmate/memory 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -240,8 +240,8 @@ curl -s -X POST {{ENDPOINT}}/api/memory/ingest \
|
|
|
240
240
|
{"name":"JavaScript","type":"TOOL"}
|
|
241
241
|
],
|
|
242
242
|
"relationships":[
|
|
243
|
-
{"
|
|
244
|
-
{"
|
|
243
|
+
{"source":"Alice","target":"TypeScript","type":"USES"},
|
|
244
|
+
{"source":"TypeScript","target":"JavaScript","type":"RELATED_TO"}
|
|
245
245
|
]
|
|
246
246
|
}'
|
|
247
247
|
```
|
|
@@ -249,7 +249,7 @@ curl -s -X POST {{ENDPOINT}}/api/memory/ingest \
|
|
|
249
249
|
**When to extract**: Always extract when content mentions specific people, tools, technologies, organizations, locations, or events by name. Skip only for abstract observations with no named subjects (e.g., "prefer tabs over spaces").
|
|
250
250
|
|
|
251
251
|
**Entity fields**: `name` (required), `type` (required), `metadata` (optional properties object)
|
|
252
|
-
**Relationship fields**: `
|
|
252
|
+
**Relationship fields**: `source` (source entity name), `target` (target entity name), `type` (required)
|
|
253
253
|
|
|
254
254
|
---
|
|
255
255
|
|