@xuda.io/ai_module 1.1.3867 → 1.1.3869

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
@@ -4947,7 +4947,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4947
4947
  content: [
4948
4948
  {
4949
4949
  type: 'input_text',
4950
- text: 'Please extract all text from this document. Maintain the structure and formatting as much as possible.',
4950
+ text: 'extract all text from this document. Maintain the structure and formatting as much as possible.',
4951
4951
  },
4952
4952
  {
4953
4953
  type: 'input_file',
@@ -4958,7 +4958,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4958
4958
  ],
4959
4959
  },
4960
4960
  ],
4961
- metadata: { conversation_id },
4961
+ metadata: { conversation_id, func: 'attachment_handler' },
4962
4962
  });
4963
4963
 
4964
4964
  return ret;
@@ -5620,7 +5620,7 @@ export const convert_profile_image_to_avatar = async function (req, job_id, head
5620
5620
  response_format: z.object({
5621
5621
  is_real_person_in_picture: z.boolean().describe('if a postrate of real person in the picture return true otherwise return false'),
5622
5622
  }),
5623
- metadata: { account_id: account_obj._id },
5623
+ metadata: { account_id: account_obj._id, func: 'detect_real_person_in_image' },
5624
5624
  });
5625
5625
 
5626
5626
  const res = JSON5.parse(ret.data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3867",
3
+ "version": "1.1.3869",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",