Jump to content

Language Translation


Recommended Posts

 

Hi Sparkles,

I've tried this out, and here's how you can set it up:

1. Create a Table with Two Fields: One field for your raw data input and another for the GPT response (or translated version). You can either create a new table with these two fields or add them to an existing table.

2. Set Up the Action in AI-Powered GPT Connect Extension:

  • Go to the AI-Powered GPT Connect Extension and create a new action and give the action a name.
  • In the "Trigger" section, select the table where you created or added the two fields.
  • In the "Event" section, choose whether you want the action to trigger on "Insert" or "Update" of a record.

3. Configure the Request Section:
This is where you specify the prompt. I've used the prompt that provides the language and the translated version.

4. Configure the Response Section:
In the "Response" section, select the field where you want the result (translated text) to be placed.

I've attached the prompt I used and an example of the output generated by the prompt.

Prompt:
Detect the language and translate the text from [@field:RawData] to English. Display the result in the following format:
Language Detected:
 
Translated Text:
 
Return result only, no additional characters or JSON structure.


image.thumb.png.545bb19a33f57f2cee13d62a6000ec03.png

Result or Output:
image.thumb.png.bffc7660f9ad1f364e3a3a2356f527bc.png
 

Hope this helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...