@things-factory/ai-assistant 10.1.102 → 10.1.103

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/ai-assistant",
3
- "version": "10.1.102",
3
+ "version": "10.1.103",
4
4
  "main": "dist-server/index.js",
5
5
  "things-factory": true,
6
6
  "author": "heartyoh",
@@ -51,5 +51,5 @@
51
51
  "copyfiles": "^2.4.1",
52
52
  "rimraf": "^5.0.0"
53
53
  },
54
- "gitHead": "8bba629dd321caa7c047d52f451d61d2678cc6e2"
54
+ "gitHead": "db9d51a78d29b96c2c9a5c6a5beac70998aaaeb5"
55
55
  }
@@ -252,6 +252,7 @@ export function entryCategoryOf(target: EntryTarget, run: (context: any) => Grap
252
252
  guidance: [
253
253
  `- When the person gives material to enter as records (files, photos, pasted text), read all of it first - call readChatAttachment for a file sent in an earlier turn - then call ${name} once with every record as a row.`,
254
254
  '- Never invent a value. Leave a field out when the material does not say it; the card marks it, and you ask the person for it.',
255
+ '- A row kept out because a name was not found, or matches several records, is settled in the conversation: say which name, list the candidates the card names, and ask; then propose again with the name the person chose. The card has no picker - never tell the person to choose on it.',
255
256
  '- Give each row its sources: which attachment and where in it, written in the person\'s language. A value the person gave or corrected in the conversation adds the source { person: true }. The server looks for each row\'s numbers and dates in the cited file and marks what it does not find.',
256
257
  '- When the material prints a total, always pass it as declaredTotal exactly as printed - do not add it up yourself. The server also reads a total line of a text file itself.',
257
258
  `- ${name} only proposes. Nothing is entered until the person presses the button on the card - never say the records were entered.`,