@xuda.io/ai_module 1.1.4687 → 1.1.4689
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/index.mjs +4 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5574,6 +5574,7 @@ setTimeout(async () => {
|
|
|
5574
5574
|
// );
|
|
5575
5575
|
|
|
5576
5576
|
// ret =await get_business_info(uid, 'docxsite', 'info@docxsite.com', account_profile_info);
|
|
5577
|
+
ret = await get_person_info(uid, 'lidan ben shlush', 'dan@locksmith-star.com', account_profile_info);
|
|
5577
5578
|
|
|
5578
5579
|
console.log(ret);
|
|
5579
5580
|
}, 1000);
|
|
@@ -9649,9 +9650,9 @@ export const get_person_info = async function (uid, name, email, account_profile
|
|
|
9649
9650
|
person_preferred_name: z.string().optional().nullable().describe('Preferred/nickname if different'),
|
|
9650
9651
|
|
|
9651
9652
|
// Demographic Information
|
|
9652
|
-
person_age: z.union([z.number().int().min(18).max(100), z.string().describe("Age range or 'unknown'")]).describe('Estimated age or range'),
|
|
9653
|
-
person_gender: z.enum(['male', 'female', 'non-binary', 'unknown']).describe('Gender based on
|
|
9654
|
-
person_nationality: z.string().describe('Country of origin/nationality (2-letter ISO code)'),
|
|
9653
|
+
person_age: z.union([z.number().int().min(18).max(100), z.string().describe("Age range or 'unknown'")]).describe('find age base on the name Estimated age or range'),
|
|
9654
|
+
person_gender: z.enum(['male', 'female', 'non-binary', 'unknown']).describe('find Gender based on the name'),
|
|
9655
|
+
person_nationality: z.string().describe('find nationality based on the name Country of origin/nationality (2-letter ISO code)'),
|
|
9655
9656
|
|
|
9656
9657
|
// Professional Information
|
|
9657
9658
|
person_title: z.string().describe('Professional title/role'),
|