OpenAI (Chat GPT) Custom Field

Created by Maja Bradonjic, Modified on Fri, 21 Apr 2023 at 01:14 PM by Ivana B

TABLE OF CONTENTS



1. What is an OpenAI (Chat GPT) Custom Field?


Chat GPT is an AI Chatbot developed by Open AI. The chatbot has a language-based model that the developer fine-tunes for human interaction conversationally.

OpenAI (ChatGPT) custom field allows us to:

  • Write product descriptions based on the provided schema (the Product Title) – Based on the Product Title, ChatGPT will write a description for your products.
  • Re-phrase product description – You can re-phrase the existing definition if unsatisfied.

  • Translate product descriptions or any other text within your content– You can choose any supported language to translate your content.




Important NOTE:

To use OpenAI (ChatGPT) custom field you need to first log in to the following page and generate an API key:
 https://platform.openai.com/account/api-keys

Limitation: 

The API (ChatGptCustomField) has a limitation on the maximum context length, which is set to 4097 tokens. If the requested length exceeds this limit, as in the case of 4210 tokens (210 in the messages and 4000 in the completion), the API will not be able to process the request. In such cases, it is necessary to reduce the length of either the messages or the completion to fit within the specified limit.



2. OpenAI (Chat GPT) Custom Field Options


2.1 Name

The Name of the custom field you would like to see in the Mapping section.


2.2 Provide OpenAI token


In this field, we need to insert a generated API key from the following page:https://platform.openai.com/account/api-keys

 

2.3 Choose Action 

  • Description

    OpenAi is a powerful AI language generation custom field that uses natural language processing to generate human-like product descriptions based on the Title of a product or the information it contains.

  • Rephrase

    It works by first analyzing your existing product description and then rewriting it using its advanced sentence-level AI technology.

  • Translate

    Translation is the ability of the language model to translate text from one language to another. It uses deep learning algorithms to understand the meaning of the text in the source language and generate an accurate translation in the target language.


  • Create question

    With this feature, we can formulate a particular question that we want our audience to view. We have the freedom to type the question in our preferred language, and then select the target language to which we want the question translated.


 

3. Example and how to use it 

 

Let's say that our products don't have a description yet, by using the OpenAI custom field we can automatically generate the description for our products based on their name or any other desired product information that we can choose from the Select Field drop-down menu.

In this example we will be using the Title of our products to generate their description, here is what our OpenAI custom field configuration will look like:


Once we created the above custom field, we can now match it with the Description mapping field:


And that is all!


Once we run our Task, we will get the following result inside our WooCommerce store:

The product inside the store backend:




The product inside the store:






With this example, we will be ending our OpenAI (ChatGPT) custom field article.




We hope that this covers everything. If you have any further questions or need additional clarification please contact us via [email protected] or our chat widget!

To check the list of the tools and features we support please click here!


If you don't see your favorite tool on our list, please take the time and send us the request here to create an integration for you or UP-vote if it's already on the list :) 


We develop integrations based on the requests and up-votes :) 


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article