@xuda.io/ai_module 1.1.3866 → 1.1.3868

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
@@ -4923,7 +4923,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4923
4923
  ],
4924
4924
  },
4925
4925
  ],
4926
- metadata: { conversation_id },
4926
+ metadata: { conversation_id, func: 'attachment_handler' },
4927
4927
  });
4928
4928
  if (ret.code < 0) {
4929
4929
  throw new Error('something went wrong try again later');
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3866",
3
+ "version": "1.1.3868",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",