Commit Graph

66 Commits

Author SHA1 Message Date
Thomas Shellberg a319582c6d
Fix saving bug with Woo AI settings page and simplify. (#39565)
* Fix Woo AI plugin settings page save bug and refactor settings page.
2023-08-15 22:10:21 +02:00
Thomas Shellberg 9418072a47
Add Branding + Tone to Product Descriptions (#39253)
* [Woo AI] generate product descriptions using tone of voice and/or business description context.
2023-08-09 14:15:18 +02:00
Sam Seay e8c3808527
Upgrade TypeScript to v5.1 (#39531) 2023-08-08 16:35:31 +12:00
Joel Thiessen 144bf08293
Generating the short description on the product editor (#39237)
* [Woo AI] Generate short description after long description is generated.
2023-08-07 14:03:52 +02:00
Sam Seay 4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 (#39245) 2023-07-18 14:27:18 +12:00
Joel Thiessen 7cb5cfed69
Making completion utilities available in AI package (#39190)
Co-authored-by: github-actions <github-actions@github.com>
2023-07-17 10:25:14 -07:00
Joel Thiessen b7e7d66de8
Adding basic Woo AI settings screen (#38920) 2023-07-12 17:12:03 -07:00
Nima Karimi 1096ddb0d3
Incorporate additional product data to generate AI description (#39150)
* Switching front-end description logic to use new endpoint

* Logging troubles

* Tentively working for title suggestions

* Adding changelog

* Updating to accept altered response body for title suggestions

* Using client-size streaming instead of our own proxy API

* Removing obsolete API code

* implementing feedback

* Refactoring product data logic

* Fixing getAttributes function to work with local attributes

* Allowing for boolean values in product data

* Refactoring getCategories to always return array

* Removing orphaned type

* Refactoring getCategories again

* Refactor productData methods to get attributes and categories

* Include product properties in the prompt for generating description

* Add changelog

* Include local attributes in addition to global attr

* Show error if parsing suggestions fail

---------

Co-authored-by: Joel <dygerati@gmail.com>
2023-07-10 23:35:03 +03:00
rodelgc 90a6ba76dd
Update `wp-env` to `8.2.0` (#39100)
* Update pinVersion

* Syncpack fix mismatches

* Update lockfile via `pnpm i`

* Add changelog.

* Add more changelogs
2023-07-06 10:06:39 -07:00
Joel Thiessen 419bd98db7
Updating product AI features endpoints (#38930) 2023-07-05 18:39:19 -07:00
Sam Seay 957fb2b07e
Update pnpm to 8.6.5 (#38990) 2023-06-29 16:51:29 +12:00
Nima Karimi 8d5d8d9302
Release Woo AI plugin v0.2.0 (#39011)
Updating versions and changelog
2023-06-29 02:21:33 +03:00
Joel Thiessen 9927facfb3
Adding tracks events indicating visibility for ai features (#39005) 2023-06-28 10:32:12 -07:00
Nima Karimi 500cdb8b23
Update the product's permalink (slug) when an AI suggestion is selected (#38902)
* Add product id to product data

* Create a React Hook for updating product slug

* Update product slug when title is updated.

* Add changelog

* Import hooks from index

* Use getPostId util to get product ID

* Only update draft product's slug
2023-06-27 21:46:18 +03:00
Joel Thiessen 6c3256b413
Handling errors from token endpoint (#38708) 2023-06-19 13:44:05 -07:00
Joel Thiessen 8098c35588
Add initial release of WooAI plugin (#38610)
Co-authored-by: Joel Thiessen <444632+joelclimbsthings@users.noreply.github.com>
Co-authored-by: Nima Karimi <73110514+nima-karimi@users.noreply.github.com>
Co-authored-by: Thomas Shellberg <tommy.shellberg@automattic.com>
2023-06-08 13:20:05 -07:00