Changeset 2849598
- Timestamp:
- 01/17/2023 07:28:17 AM (3 years ago)
- Location:
- copycraft
- Files:
-
- 4 added
- 6 edited
- 1 copied
-
tags/0.2.0 (copied) (copied from copycraft/trunk)
-
tags/0.2.0/copycraft.php (modified) (1 diff)
-
tags/0.2.0/includes/Modal/OpenAi_Generator.php (modified) (1 diff)
-
tags/0.2.0/languages (added)
-
tags/0.2.0/languages/copycraft.pot (added)
-
tags/0.2.0/readme.txt (modified) (5 diffs)
-
trunk/copycraft.php (modified) (1 diff)
-
trunk/includes/Modal/OpenAi_Generator.php (modified) (1 diff)
-
trunk/languages (added)
-
trunk/languages/copycraft.pot (added)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
copycraft/tags/0.2.0/copycraft.php
r2849557 r2849598 3 3 * Plugin Name: CopyCraft 4 4 * Plugin URI: http://copycraft.ai 5 * Description: AI-powered accurate and compelling product descriptions for your WooCommerce products using OpenAI'sGPT-3.6 * Author: OM4 Software7 * Author URI: https:// om4.io/5 * Description: AI-powered compelling product descriptions for your WooCommerce products using OpenAI GPT-3. 6 * Author: Tectalic 7 * Author URI: https://tectalic.com/ 8 8 * Text Domain: copycraft 9 9 * Domain Path: /languages 10 * Version: 0. 1.110 * Version: 0.2 11 11 */ 12 12 -
copycraft/tags/0.2.0/includes/Modal/OpenAi_Generator.php
r2849557 r2849598 170 170 if ( ! empty( $product->get_attributes() ) ) { 171 171 $prompt .= '- Attributes: '; 172 173 /** 174 * Product Attributes can be store-wide or custom per-product attributes. 175 * 176 * Logic based on wc_display_product_attributes() function. 177 * 178 * @see wc_display_product_attributes() 179 */ 180 172 181 foreach ( $product->get_attributes() as $attribute ) { 173 $prompt .= $attribute->get_name() . ': ' . implode( ', ', $attribute->get_options() ) . '. '; 182 $attribute_name = ''; 183 $attribute_values = array(); 184 if ( $attribute->is_taxonomy() ) { 185 // Storewide attribute. 186 $attribute_taxonomy = $attribute->get_taxonomy_object(); 187 $attribute_name = $attribute_taxonomy->attribute_label; 188 $values = wc_get_product_terms( $product->get_id(), $attribute->get_name(), array( 'fields' => 'all' ) ); 189 foreach ( $values as $attribute_value ) { 190 $attribute_values[] = esc_html( $attribute_value->name ); 191 } 192 } else { 193 // Custom per-product attribute. 194 $attribute_name = $attribute->get_name(); 195 $attribute_values = $attribute->get_options(); 196 foreach ( $attribute_values as &$value ) { 197 $value = esc_html( $value ); 198 } 199 } 200 201 $prompt .= esc_html( $attribute_name ) . ': ' . implode( ', ', $attribute_values ) . '. '; 174 202 } 175 203 $prompt = rtrim( $prompt ) . "\n"; -
copycraft/tags/0.2.0/readme.txt
r2849557 r2849598 1 === CopyCraft: AI-Powered Copywriting and Content Generator===1 === CopyCraft: AI-Powered WooCommerce Product Descriptions Using OpenAI GPT-3 === 2 2 Contributors: jamescollins, om4csaba, OM4 3 3 Donate link: http://copycraft.ai 4 Tags: WooCommerce, Product descriptions, Artificial intelligence, AI, Copywriting, OpenAI4 Tags: WooCommerce, AI, OpenAI, GPT-3, Copywriting 5 5 Requires at least: 5.9.0 6 6 Tested up to: 6.1.0 7 7 Requires PHP: 7.4 8 Stable tag: 0. 1.18 Stable tag: 0.2 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 11 12 C opyCraft is an AI-powered WordPress plugin that helps you create accurate and compelling product descriptions for your WooCommerce products.12 Create compelling WooCommerce product descriptions using OpenAI GPT-3. 13 13 14 14 == Description == 15 15 16 CopyCraft is designed to make the task of writing product descriptions easier and more efficient. It uses advanced AI algorithms to analyze your products and generate descriptions that are informative and engaging. With CopyCraft, you can save time and effort while still ensuring that your product descriptions are of the highest quality.16 CopyCraft is designed to make the task of writing WooCommerce product descriptions easier and more efficient. It uses advanced AI algorithms to analyze your products and generate descriptions that are informative and engaging. With CopyCraft, you can save time and effort while still ensuring that your product descriptions are of the highest quality. 17 17 18 18 Uses OpenAI's GPT-3 API to generate product descriptions. … … 21 21 22 22 - AI-powered product description generator 23 - Accurate and compellingdescriptions24 - Easy to use interface 23 - Generates compelling product descriptions 24 - Easy to use interface - integrates with the WooCommerce Add Product or Edit Product screens 25 25 - Works with WooCommerce 26 26 … … 48 48 = Can I customize the generated product descriptions? = 49 49 50 Yes, you can edit the generated descriptions to suit your needs. The plugin provides a convenient WYSIWYG editor for this purpose. 50 Yes, you can edit the generated descriptions to suit your needs. The plugin integrates with the WooCommerce product editing screen for this purpose. 51 52 = What AI Engine is Used? = 53 54 OpenAI's GPT-3 API is used to generate the product descriptions. We also plan on supporting OpenAI's ChatGPT in the future. 51 55 52 56 = Is the plugin compatible with other e-commerce platforms besides WooCommerce? = … … 55 59 56 60 == Changelog == 61 62 = 0.2 = 63 * Add support for global store-wide product attributes. 57 64 58 65 = 0.1.1 = … … 64 71 == Upgrade Notice == 65 72 73 = 0.2 = 74 * Add support for global store-wide product attributes. 75 66 76 = 0.1.1 = 67 77 * Public release for WordPress.org plugin repository. -
copycraft/trunk/copycraft.php
r2849557 r2849598 3 3 * Plugin Name: CopyCraft 4 4 * Plugin URI: http://copycraft.ai 5 * Description: AI-powered accurate and compelling product descriptions for your WooCommerce products using OpenAI'sGPT-3.6 * Author: OM4 Software7 * Author URI: https:// om4.io/5 * Description: AI-powered compelling product descriptions for your WooCommerce products using OpenAI GPT-3. 6 * Author: Tectalic 7 * Author URI: https://tectalic.com/ 8 8 * Text Domain: copycraft 9 9 * Domain Path: /languages 10 * Version: 0. 1.110 * Version: 0.2 11 11 */ 12 12 -
copycraft/trunk/includes/Modal/OpenAi_Generator.php
r2849557 r2849598 170 170 if ( ! empty( $product->get_attributes() ) ) { 171 171 $prompt .= '- Attributes: '; 172 173 /** 174 * Product Attributes can be store-wide or custom per-product attributes. 175 * 176 * Logic based on wc_display_product_attributes() function. 177 * 178 * @see wc_display_product_attributes() 179 */ 180 172 181 foreach ( $product->get_attributes() as $attribute ) { 173 $prompt .= $attribute->get_name() . ': ' . implode( ', ', $attribute->get_options() ) . '. '; 182 $attribute_name = ''; 183 $attribute_values = array(); 184 if ( $attribute->is_taxonomy() ) { 185 // Storewide attribute. 186 $attribute_taxonomy = $attribute->get_taxonomy_object(); 187 $attribute_name = $attribute_taxonomy->attribute_label; 188 $values = wc_get_product_terms( $product->get_id(), $attribute->get_name(), array( 'fields' => 'all' ) ); 189 foreach ( $values as $attribute_value ) { 190 $attribute_values[] = esc_html( $attribute_value->name ); 191 } 192 } else { 193 // Custom per-product attribute. 194 $attribute_name = $attribute->get_name(); 195 $attribute_values = $attribute->get_options(); 196 foreach ( $attribute_values as &$value ) { 197 $value = esc_html( $value ); 198 } 199 } 200 201 $prompt .= esc_html( $attribute_name ) . ': ' . implode( ', ', $attribute_values ) . '. '; 174 202 } 175 203 $prompt = rtrim( $prompt ) . "\n"; -
copycraft/trunk/readme.txt
r2849557 r2849598 1 === CopyCraft: AI-Powered Copywriting and Content Generator===1 === CopyCraft: AI-Powered WooCommerce Product Descriptions Using OpenAI GPT-3 === 2 2 Contributors: jamescollins, om4csaba, OM4 3 3 Donate link: http://copycraft.ai 4 Tags: WooCommerce, Product descriptions, Artificial intelligence, AI, Copywriting, OpenAI4 Tags: WooCommerce, AI, OpenAI, GPT-3, Copywriting 5 5 Requires at least: 5.9.0 6 6 Tested up to: 6.1.0 7 7 Requires PHP: 7.4 8 Stable tag: 0. 1.18 Stable tag: 0.2 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 11 12 C opyCraft is an AI-powered WordPress plugin that helps you create accurate and compelling product descriptions for your WooCommerce products.12 Create compelling WooCommerce product descriptions using OpenAI GPT-3. 13 13 14 14 == Description == 15 15 16 CopyCraft is designed to make the task of writing product descriptions easier and more efficient. It uses advanced AI algorithms to analyze your products and generate descriptions that are informative and engaging. With CopyCraft, you can save time and effort while still ensuring that your product descriptions are of the highest quality.16 CopyCraft is designed to make the task of writing WooCommerce product descriptions easier and more efficient. It uses advanced AI algorithms to analyze your products and generate descriptions that are informative and engaging. With CopyCraft, you can save time and effort while still ensuring that your product descriptions are of the highest quality. 17 17 18 18 Uses OpenAI's GPT-3 API to generate product descriptions. … … 21 21 22 22 - AI-powered product description generator 23 - Accurate and compellingdescriptions24 - Easy to use interface 23 - Generates compelling product descriptions 24 - Easy to use interface - integrates with the WooCommerce Add Product or Edit Product screens 25 25 - Works with WooCommerce 26 26 … … 48 48 = Can I customize the generated product descriptions? = 49 49 50 Yes, you can edit the generated descriptions to suit your needs. The plugin provides a convenient WYSIWYG editor for this purpose. 50 Yes, you can edit the generated descriptions to suit your needs. The plugin integrates with the WooCommerce product editing screen for this purpose. 51 52 = What AI Engine is Used? = 53 54 OpenAI's GPT-3 API is used to generate the product descriptions. We also plan on supporting OpenAI's ChatGPT in the future. 51 55 52 56 = Is the plugin compatible with other e-commerce platforms besides WooCommerce? = … … 55 59 56 60 == Changelog == 61 62 = 0.2 = 63 * Add support for global store-wide product attributes. 57 64 58 65 = 0.1.1 = … … 64 71 == Upgrade Notice == 65 72 73 = 0.2 = 74 * Add support for global store-wide product attributes. 75 66 76 = 0.1.1 = 67 77 * Public release for WordPress.org plugin repository.
Note: See TracChangeset
for help on using the changeset viewer.