You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: 'Bad AI request, please try changing your request.',
311
311
type: 'danger',
312
312
});
313
313
}
314
-
314
+
315
315
letoptimizedURLs=[];
316
316
letpromises=response.data.imagesURLs.map(url=>{
317
317
returnparseImageURL(url)
@@ -362,7 +362,7 @@
362
362
userMessage: `Generate a contact us information related to [business-type] located in [target-region].\nFor phone number use [+1 555 555-1234].\nFor email use [${user?.email||''}].`,
363
363
maxRecords: 5,
364
364
systemMessage:
365
-
'images are two 1080x720 images URLs related to location, use source.unsplash.com for images, URL should not have premium_photo or source.unsplash.com/random. return description as HTML',
365
+
'imagesURLs are two images related to the business type or the target region, topic should be transformed to kebab-case, use https://app.buildfire.com/api/stockImages/?topic={topic}&imageType=medium. return description as HTML',
366
366
jsonTemplate: jsonTemplate,
367
367
callback: handleAIReq.bind(this),
368
368
hintText: 'Replace values between brackets to match your requirements.',
0 commit comments