Bagisto ChatGPT AI Review Translator Extension is used to translate reviews into the default language of your store.
It is built on the Langchain framework, which is a powerful language translation platform.
The AI Translator module uses OpenAI’s API key to translate reviews.
This means that the module has access to OpenAI’s large language model, which is one of the most advanced language models in the world.
This allows the module to translate reviews into various languages, including English, French, German, Spanish, Hindi, and more.
If you want to use complete AI technology for content generation, image generation, chatbot, and much more. You can check the Bagisto Complete AI Suite extension.
Features
- Bagisto ChatGPT AI Review Translator Extension translates reviews to the selected language of the store.
- The Translate button only appears if the review is not in the default language of your store.
- The extension supports multiple languages and provides accurate and understandable translations.
- Customers can also choose which languages to translate from the store.
- The extension uses LangChain OpenAI to automate the translation process.
- ChatGPT AI Review Translator module is easy to configure.
- The extension supports ChatGPT versions 3.5 and 4.0.
Installation
For the Installation of Bagisto, you can follow the Link.
After the Fresh Installation of the Bagisto ChatGPT AI Review Translator, we need to configure all the information related to the Langchain AI.
Once that is done, we need to follow the below installation process.
Unzip the respective extension zip and then merge the “packages” folder into the project root directory.
Go to the config/app.php file and add the following line under providers.
Webkul\AITranslator\Providers\AITranslatorServiceProvider::class
Goto composer.json file and add the following line under ‘psr-4’
"Webkul\\AITranslator\\": "packages/Webkul/AITranslator/src"
Run the following commands to publish the package:
composer dump-autoload php artisan optimize php artisan vendor:publish --force
Press the number before “Webkul\AITranslator\Providers\AITranslatorProvider” and then press enter to publish all assets and configurations.
Generate OpenAI Key – OpenAI Account
The user has to first create an OpenAI account and log in to the OpenAI dashboard as shown in the screenshot.
Click on the API section where the Create New Secret Key will be visible as shown in the screenshot.
When the user clicks on this button, a pop-up will appear showing the API key. In the pop-up, there will be a “Copy” button that allows the user to easily copy the key to their clipboard.
The generated key is to be used in the configuration settings section under the Open AI key.
Langchain Configuration
This chatbot is built on the Langchain framework and uses the OpenAI API key to translate reviews.
Setup OpenAI credentials in .env file
<strong>OPENAI_API_KEY= PINECONE_API_KEY= </strong>
Note: Create a .env file in the root directory, copy everything from the .env.example, and paste it into the .env file.
Installation
Install the npm dependencies but run the following command
<strong>npm i </strong>
Run the following command to run the node js server
<strong>npm run dev </strong>
API Documentation for AI Translator
<code><strong>POST /api/translate</strong></code>
Admin Configuration – Bagisto ChatGPT AI Review Translator
In the Bagisto Admin Panel, The Admin goes to the configuration page and enters the API URL and API key provided by OpenAI to make the Review translation work.
Note: You can also check Bagisto AI content generator for AI-driven content for your website like product, category, and CMS page.
Note- Before proceeding, the admin must create multiple backend store views. This step allows the store to support different languages and regions.
You can also check the Bagisto ChatGPT Chatbot module which can improve customer support by answering questions and helping customers to buy products.
View the Translated Review at Storefront
Users visit the storefront and click on a product they’re interested in.
They are redirected to the product page, where they can view details and read product reviews from other customers.
Initially, users see product reviews in the store’s default language, which the admin can set.
Customers can select their desired language from the store’s language options.
Once users choose their preferred language, the entire store is translated into their selected language.
After the translation, users will see a “Translate” button under each review, but only if the review is not already in the default language of the store.
The review is translated and displayed to the user in their selected local language.
After checking the other reviews customers can checkout and place the order for respective orders.
Support
That’s all about the “Bagisto ChatGPT AI Review Translator“.
However, If you have any queries regarding the plugin, please contact us at Webkul Support System. You may also check our quality Bagisto Extensions.
Current Product Version - v2.2.2
Supported Framework Version - Bagisto v2.2.2
Be the first to comment.