@wix/vibe-bookings-plugin 0.66.0 → 0.67.0
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/dist/index.cjs +2 -6
- package/dist/index.cjs.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -13586,7 +13586,7 @@ var retryFn = ({
|
|
|
13586
13586
|
|
|
13587
13587
|
// src/services/contentInjection.service.ts
|
|
13588
13588
|
var prompts = {
|
|
13589
|
-
serviceGenerationProjectId: "
|
|
13589
|
+
serviceGenerationProjectId: "05740d4d-8826-45a0-bab4-dce8d5a04571"
|
|
13590
13590
|
};
|
|
13591
13591
|
var bookingServicesDetailsExample = {
|
|
13592
13592
|
items: [
|
|
@@ -13620,7 +13620,6 @@ var ContentInjectionService = class {
|
|
|
13620
13620
|
async generateServices() {
|
|
13621
13621
|
this.logger.info("generating services");
|
|
13622
13622
|
const businessDescription = this.env.userRequest;
|
|
13623
|
-
const lng = "English";
|
|
13624
13623
|
const responseExample = JSON.stringify(
|
|
13625
13624
|
bookingServicesDetailsExample,
|
|
13626
13625
|
null,
|
|
@@ -13628,22 +13627,19 @@ var ContentInjectionService = class {
|
|
|
13628
13627
|
);
|
|
13629
13628
|
this.logger.info("generating services", {
|
|
13630
13629
|
businessDescription,
|
|
13631
|
-
lng,
|
|
13632
13630
|
responseExample
|
|
13633
13631
|
});
|
|
13634
13632
|
const response = await this.llmService.generateObjectByProject(
|
|
13635
13633
|
prompts.serviceGenerationProjectId,
|
|
13636
13634
|
{
|
|
13637
13635
|
businessDescription,
|
|
13638
|
-
lng,
|
|
13639
13636
|
responseExample
|
|
13640
13637
|
}
|
|
13641
13638
|
);
|
|
13642
13639
|
if (!response) {
|
|
13643
13640
|
this.logger.error("Failed to generate services", {
|
|
13644
13641
|
projectId: prompts.serviceGenerationProjectId,
|
|
13645
|
-
businessDescription
|
|
13646
|
-
lng
|
|
13642
|
+
businessDescription
|
|
13647
13643
|
});
|
|
13648
13644
|
return;
|
|
13649
13645
|
}
|