@xuda.io/ai_module 1.1.4801 → 1.1.4802

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.
Files changed (2) hide show
  1. package/index.mjs +31 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3412,7 +3412,37 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
3412
3412
  "${db_doc.agentConfig.agent_user_guide}"
3413
3413
 
3414
3414
 
3415
- use the field keys from the above object
3415
+ use the field keys from the above ## fields object
3416
+
3417
+ result example:
3418
+
3419
+ const loanStepper = [
3420
+ {
3421
+ step: 1,
3422
+ title: "Core Loan Details",
3423
+ description: "Enter the fundamental numbers for your loan.",
3424
+ fields: ["loan_amount", "down_payment", "loan_type"]
3425
+ },
3426
+ {
3427
+ step: 2,
3428
+ title: "Rates & Terms",
3429
+ description: "Define the interest and duration of the loan.",
3430
+ fields: ["interest_rate", "interest_type", "loan_term"]
3431
+ },
3432
+ {
3433
+ step: 3,
3434
+ title: "Payment Schedule",
3435
+ description: "How and when would you like to make payments?",
3436
+ fields: ["payment_frequency", "start_date"]
3437
+ },
3438
+ {
3439
+ step: 4,
3440
+ title: "Additional Options",
3441
+ description: "Finalize your calculation with extra payments or schedules.",
3442
+ fields: ["extra_payments", "amortization_schedule"]
3443
+ }
3444
+ ];
3445
+
3416
3446
  `,
3417
3447
  model: 'gpt-5-nano',
3418
3448
  metadata: { agent_id: db_doc._id, func: 'get_agent_user_guide_fields' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4801",
3
+ "version": "1.1.4802",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",