woocommerce/plugins/woocommerce-admin/client/customize-store/design-with-ai
RJ c889d5ed2d
add: made look and tone ai api call more robust (#40052)
* add: made look and tone ai completion api call more robust

- added tracks and tests for invalid ai response

* removed some redundant stuff

* parameterised prompt for safety

* minor fixes
2023-09-07 17:05:47 +08:00
..
components CYS - Add LookAndFeel and ToneOfVoice pages (#39979) 2023-09-06 14:21:09 +08:00
pages add: made look and tone ai api call more robust (#40052) 2023-09-07 17:05:47 +08:00
stories fix: applied lint autofixes (#39942) 2023-08-30 06:40:45 +08:00
tests add: made look and tone ai api call more robust (#40052) 2023-09-07 17:05:47 +08:00
actions.ts add: made look and tone ai api call more robust (#40052) 2023-09-07 17:05:47 +08:00
events.ts CYS - Add LookAndFeel and ToneOfVoice pages (#39979) 2023-09-06 14:21:09 +08:00
index.tsx CYS - Add LookAndFeel and ToneOfVoice pages (#39979) 2023-09-06 14:21:09 +08:00
services.ts add: made look and tone ai api call more robust (#40052) 2023-09-07 17:05:47 +08:00
state-machine.tsx add: made look and tone ai api call more robust (#40052) 2023-09-07 17:05:47 +08:00
types.ts add: made look and tone ai api call more robust (#40052) 2023-09-07 17:05:47 +08:00