@xuda.io/ai_module 1.1.4716 → 1.1.4718

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5534,7 +5534,7 @@ setTimeout(async () => {
5534
5534
  let ret;
5535
5535
  // ret = await is_spam_email(uid, 'dsgr8-2994400420@gigs.craigslist.org', 'To: You, From: Us - 70% Off Stickers & Labels Today Only');
5536
5536
  // ret = await is_spam_email(uid, 'noreply@tm.openai.com', 'Please update your Plus payment method', account_profile_info);
5537
- ret = await is_business_contact(uid, 'Eden Avrahami', 'eden.ioshka@gmail.com', 'Re: Account Accesses - Donwell Garage Doors', 'Hey Yosi,We didn’t get an update, please wait for my updates- you will be the first to know Thanks,Eden', account_profile_info);
5537
+ ret = await is_business_contact_has_person(uid, 'Eden Avrahami', 'eden.ioshka@gmail.com', 'Re: Account Accesses - Donwell Garage Doors', 'Hey Yosi,We didn’t get an update, please wait for my updates- you will be the first to know Thanks,Eden', account_profile_info);
5538
5538
  // ret = await is_business_contact(
5539
5539
  // uid,
5540
5540
  // 'noreply@tm.openai.com',
@@ -6863,7 +6863,7 @@ export const is_business_contact_has_person = async function (uid, email, name,
6863
6863
  response_format: z.object({
6864
6864
  has_person: z.boolean().describe('true if the email has person, false otherwise'),
6865
6865
  }),
6866
- metadata: { func: 'is_business_contact' },
6866
+ metadata: { func: 'is_business_contact_has_person' },
6867
6867
  account_profile_info,
6868
6868
  });
6869
6869
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4716",
3
+ "version": "1.1.4718",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",