@xuda.io/ai_module 1.1.4255 → 1.1.4256
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 +3 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5221,6 +5221,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
5221
5221
|
setTimeout(async () => {
|
|
5222
5222
|
const app_id = 'prj712ffdf5aa8adce6cedef988f9c12392'; //'prj3937cb6f9a31c8c7dea25055bba845b1'; //
|
|
5223
5223
|
const uid = 'd39126e0e2c51ffbd1aad10709fc8335';
|
|
5224
|
+
const account_profile_info = await account_module.get_active_account_profile_info(uid);
|
|
5224
5225
|
|
|
5225
5226
|
// await init_studio_units();
|
|
5226
5227
|
let ret;
|
|
@@ -5253,6 +5254,8 @@ setTimeout(async () => {
|
|
|
5253
5254
|
// Location: 'https://xuda-bucket-dev.nyc3.digitaloceanspaces.com/dev.xuda.io/user/d39126e0e2c51ffbd1aad10709fc8335/cb7353fc-4788-49b7-8e73-f7f1be108b69_drv_d39126e0e2c51ffbd1aad10709fc8335_b92337f79e090a2f287bc3dc35d0033e.png',
|
|
5254
5255
|
// },
|
|
5255
5256
|
// });
|
|
5257
|
+
ret = await submit_chat_gpt_prompt({ uid, prompt: `show logo of JPMorgan Chase & Co.`, model: 'gpt-5-nano', metadata: {}, account_profile_info });
|
|
5258
|
+
|
|
5256
5259
|
console.log(ret);
|
|
5257
5260
|
}, 1000);
|
|
5258
5261
|
|