@reverbia/sdk 1.0.0-next.20251205130522 → 1.0.0-next.20251205183506

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.
@@ -48622,10 +48622,12 @@ var FACT_EXTRACTION_PROMPT = `You are a memory extraction system. Extract durabl
48622
48622
 
48623
48623
  CRITICAL: You MUST respond with ONLY valid JSON. No explanations, no markdown, no code blocks, just pure JSON.
48624
48624
 
48625
- Only extract facts that will be useful in future conversations, such as identity, stable preferences, ongoing projects, skills, and constraints.
48625
+ Only store clear, factual statements that might be relevant for future context or reference. Extract facts that will be useful in future conversations, such as identity, stable preferences, ongoing projects, skills, locations, favorites, and constraints.
48626
48626
 
48627
48627
  Do not extract sensitive attributes, temporary things, or single-use instructions.
48628
48628
 
48629
+ You must also extract stable personal preferences, including food likes/dislikes, hobbies, favorite items, favorite genres, or other enduring tastes.
48630
+
48629
48631
  If there are no memories to extract, return: {"items": []}
48630
48632
 
48631
48633
  Response format (JSON only, no other text):
@@ -48650,6 +48652,24 @@ Response format (JSON only, no other text):
48650
48652
  "confidence": 0.99,
48651
48653
  "pii": false
48652
48654
  },
48655
+ {
48656
+ "type": "identity",
48657
+ "namespace": "location",
48658
+ "key": "city",
48659
+ "value": "San Francisco",
48660
+ "rawEvidence": "I live in San Francisco",
48661
+ "confidence": 0.99,
48662
+ "pii": false
48663
+ },
48664
+ {
48665
+ "type": "preference",
48666
+ "namespace": "location",
48667
+ "key": "country",
48668
+ "value": "Japan",
48669
+ "rawEvidence": "I like to travel to the Japan",
48670
+ "confidence": 0.94,
48671
+ "pii": false
48672
+ },
48653
48673
  {
48654
48674
  "type": "preference",
48655
48675
  "namespace": "answer_style",
@@ -48667,6 +48687,15 @@ Response format (JSON only, no other text):
48667
48687
  "rawEvidence": "I'm in PST",
48668
48688
  "confidence": 0.9,
48669
48689
  "pii": false
48690
+ },
48691
+ {
48692
+ "type": "preference",
48693
+ "namespace": "food",
48694
+ "key": "likes_ice_cream",
48695
+ "value": "ice cream",
48696
+ "rawEvidence": "I like ice cream",
48697
+ "confidence": 0.95,
48698
+ "pii": false
48670
48699
  }
48671
48700
  ]
48672
48701
  }`;
@@ -1500,10 +1500,12 @@ var FACT_EXTRACTION_PROMPT = `You are a memory extraction system. Extract durabl
1500
1500
 
1501
1501
  CRITICAL: You MUST respond with ONLY valid JSON. No explanations, no markdown, no code blocks, just pure JSON.
1502
1502
 
1503
- Only extract facts that will be useful in future conversations, such as identity, stable preferences, ongoing projects, skills, and constraints.
1503
+ Only store clear, factual statements that might be relevant for future context or reference. Extract facts that will be useful in future conversations, such as identity, stable preferences, ongoing projects, skills, locations, favorites, and constraints.
1504
1504
 
1505
1505
  Do not extract sensitive attributes, temporary things, or single-use instructions.
1506
1506
 
1507
+ You must also extract stable personal preferences, including food likes/dislikes, hobbies, favorite items, favorite genres, or other enduring tastes.
1508
+
1507
1509
  If there are no memories to extract, return: {"items": []}
1508
1510
 
1509
1511
  Response format (JSON only, no other text):
@@ -1528,6 +1530,24 @@ Response format (JSON only, no other text):
1528
1530
  "confidence": 0.99,
1529
1531
  "pii": false
1530
1532
  },
1533
+ {
1534
+ "type": "identity",
1535
+ "namespace": "location",
1536
+ "key": "city",
1537
+ "value": "San Francisco",
1538
+ "rawEvidence": "I live in San Francisco",
1539
+ "confidence": 0.99,
1540
+ "pii": false
1541
+ },
1542
+ {
1543
+ "type": "preference",
1544
+ "namespace": "location",
1545
+ "key": "country",
1546
+ "value": "Japan",
1547
+ "rawEvidence": "I like to travel to the Japan",
1548
+ "confidence": 0.94,
1549
+ "pii": false
1550
+ },
1531
1551
  {
1532
1552
  "type": "preference",
1533
1553
  "namespace": "answer_style",
@@ -1545,6 +1565,15 @@ Response format (JSON only, no other text):
1545
1565
  "rawEvidence": "I'm in PST",
1546
1566
  "confidence": 0.9,
1547
1567
  "pii": false
1568
+ },
1569
+ {
1570
+ "type": "preference",
1571
+ "namespace": "food",
1572
+ "key": "likes_ice_cream",
1573
+ "value": "ice cream",
1574
+ "rawEvidence": "I like ice cream",
1575
+ "confidence": 0.95,
1576
+ "pii": false
1548
1577
  }
1549
1578
  ]
1550
1579
  }`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reverbia/sdk",
3
- "version": "1.0.0-next.20251205130522",
3
+ "version": "1.0.0-next.20251205183506",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",