@xuda.io/ai_module 1.1.4690 → 1.1.4692

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 +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -9607,7 +9607,7 @@ export const get_person_info = async function (uid, name, email, account_profile
9607
9607
  DEMOGRAPHIC INFORMATION:
9608
9608
  11. Estimated age (based on career, education, and public information)
9609
9609
  12. Gender (based on name, pronouns in content, or public profiles)
9610
- 13. Nationality/country of origin (if discernible)
9610
+ 13. Nationality/country of origin (if discernible) (based on name, pronouns in content, or public profiles)
9611
9611
 
9612
9612
  CONTACT INFORMATION:
9613
9613
  14. Phone number (if available)
@@ -9640,7 +9640,7 @@ export const get_person_info = async function (uid, name, email, account_profile
9640
9640
  const person_info_ret = await submit_chat_gpt_prompt({
9641
9641
  uid,
9642
9642
  prompt: context_prompt,
9643
- model: 'gpt-5-nano',
9643
+ model: 'gpt-5-mini',
9644
9644
  response_format: z.object({
9645
9645
  // Basic Information
9646
9646
  person_full_name: z.string().describe("Person's full name"),
@@ -9651,7 +9651,7 @@ export const get_person_info = async function (uid, name, email, account_profile
9651
9651
 
9652
9652
  // Demographic Information
9653
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'),
9654
+ person_gender: z.enum(['male', 'female']).describe('find Gender based on the name'),
9655
9655
  person_nationality: z.string().describe('find nationality based on the name Country of origin/nationality (2-letter ISO code)'),
9656
9656
 
9657
9657
  // Professional Information
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4690",
3
+ "version": "1.1.4692",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",