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.
- 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.
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.
now. Read More
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.
Goto composer.json file and add the following line under ‘psr-4’
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.
Now, the user can click on the Personal option in the upper-right corner. Once click popup appears on the screen, within this popup, users will find the “View API Keys” choice, which they can select to proceed.
The user is redirected to another page 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.
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.
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
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- 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 default language of the store.
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.
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 - v1.5.1
Supported Framework Version - Bagisto v1.5.x