{"id":16641,"date":"2023-12-30T12:56:05","date_gmt":"2023-12-30T12:56:05","guid":{"rendered":"https:\/\/kevinbk.com\/?p=16641"},"modified":"2024-01-08T13:30:06","modified_gmt":"2024-01-08T13:30:06","slug":"como-integrar-o-gpt-ao-translatepress-e-outras-ferramentas-de-traducao","status":"publish","type":"post","link":"https:\/\/kevinbk.com\/ja\/gpt\u3092translatepress\u3084\u305d\u306e\u4ed6\u306e\u7ffb\u8a33\u30c4\u30fc\u30eb\u306b\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u3064\/","title":{"rendered":"GPT\u3092TranslatePress\u3084\u305d\u306e\u4ed6\u306e\u7ffb\u8a33\u30c4\u30fc\u30eb\u306b\u7d71\u5408\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"

WordPress\u306e\u307b\u3068\u3093\u3069\u306e\u7ffb\u8a33\u30d7\u30e9\u30b0\u30a4\u30f3\u3001\u4f8b\u3048\u3070Translatepress\u3001Polylang\u3001WPML\u306f\u3001\u30b5\u30a4\u30c8\u3092\u7ffb\u8a33\u3059\u308b\u305f\u3081\u306bGoogle\u306eAPI\u306a\u3069\u3092\u4f7f\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u7ffb\u8a33\u30b3\u30b9\u30c8\u304c\u975e\u5e38\u306b\u9ad8\u984d\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 <\/p>\n\n\n\n

OpenAI\u306eGPT 3.5 turbo\u306b\u3088\u3063\u3066\u3001\u7ffb\u8a33\u304c100\u500d\u5b89\u304f\u3066\u4e00\u8cab\u3057\u305f\u5f62\u3067\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u4f8b\u3048\u3070\u3001Google\u306f100\u4e07\u6587\u5b57\u3054\u3068\u306b20\u7c73\u30c9\u30eb\u3092\u8acb\u6c42\u3059\u308b\u306e\u306b\u5bfe\u3057\u3001OpenAI\u306eGPT\u306f\u7d04800\u5358\u8a9e\u3042\u305f\u308a0.0020\u30c9\u30eb\u307e\u305f\u306f\u7d045,000\u6587\u5b57\u3092\u8acb\u6c42\u3057\u307e\u3059\u3002 <\/p>\n\n\n\n

GPT 3.5\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001100\u4e07\u6587\u5b57\u3092\u7ffb\u8a33\u3059\u308b\u305f\u3081\u306b\u308f\u305a\u304b2\u7c73\u30c9\u30eb\u672a\u6e80\u3057\u304b\u304b\u304b\u3089\u305a\u3001\u7ffb\u8a33API\u306e\u4f7f\u7528\u304c\u306f\u308b\u304b\u306b\u5b89\u304f\u3066\u4fbf\u5229\u306b\u306a\u308a\u307e\u3059\u3002 <\/p>\n\n\n\n

\u4ee5\u524d\u306f\u3001\u65b0\u3057\u3044\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u305f\u308a\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084Google\u30b7\u30fc\u30c8\u3092\u624b\u4f5c\u696d\u3067\u7ffb\u8a33\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u901a\u5e38\u3001\u8907\u96d1\u3067\u624b\u9593\u304c\u304b\u304b\u308b\u4e0a\u306b\u3001\u9593\u9055\u3044\u3092\u72af\u3059\u53ef\u80fd\u6027\u304c\u3042\u308b\u4f5c\u696d\u3067\u3057\u305f\u3002 <\/p>\n\n\n\n

\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001GPT\u3092\u4f7f\u7528\u3057\u3066Translatepress\u306e\u6587\u5b57\u5217\u3092\u7ffb\u8a33\u3059\u308b2\u3064\u306e\u65b9\u6cd5\u3092\u5171\u6709\u3057\u307e\u3059\u3002\u305d\u306e\u3046\u3061\u306e1\u3064\u306f\u3001WPML\u3084Polylang\u306a\u3069\u306e\u4efb\u610f\u306e\u7ffb\u8a33\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u8907\u88fd\u3067\u304d\u307e\u3059\u3002 <\/p>\n\n\n\n

1 \u2013 \u81ea\u52d5\u5316\u306e\u4f5c\u6210<\/h2>\n\n\n\n

Translatepress\u306e\u30b5\u30dd\u30fc\u30c8\u3092GPT\u306b\u30cd\u30a4\u30c6\u30a3\u30d6\u306b\u7d71\u5408\u3059\u308b\u306e\u3092\u5f85\u3064\u306e\u306b\u3046\u3093\u3056\u308a\u3057\u3066\u3001\u79c1\u81ea\u8eab\u304cZapier\u3084Make\u306e\u3088\u3046\u306a\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u7d71\u5408\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002 <\/p>\n\n\n\n

\u5927\u304d\u306a\u554f\u984c\u306f\u3001\u79c1\u306e\u30b5\u30fc\u30d0\u30fc\u304cSSH\u30c8\u30f3\u30cd\u30eb\u3092\u4ecb\u3057\u3066\u306e\u307f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u3053\u308c\u3089\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001N8N\u3068\u3044\u3046\u6700\u826f\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u983c\u308a\u307e\u3057\u305f\u3002 <\/p>\n\n\n\n

\u3053\u308c\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u72ec\u81ea\u306e\u81ea\u52d5\u5316\u30b7\u30b9\u30c6\u30e0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067\u3059\u3002\u6570\u5343\u306e\u30bf\u30b9\u30af\u306b\u6700\u9069\u3067\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306e\u304a\u304b\u3052\u3067\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u63a5\u7d9a\u3057\u3066\u81ea\u52d5\u5316\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002 <\/p>\n\n\n\n

\u4ee5\u4e0b\u306f\u3001\u79c1\u304c\u4f5c\u6210\u3057\u305f\u81ea\u52d5\u5316\u65b9\u6cd5\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u65b9\u6cd5\u306f\u3055\u3089\u306b\u6539\u5584\u304a\u3088\u3073\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u53ef\u80fd\u3067\u3001\u304a\u5ba2\u69d8\u306e\u30cb\u30fc\u30ba\u306b\u5408\u308f\u305b\u305f\u6587\u5b57\u5217\u306e\u9664\u5916\u3084\u5358\u8a9e\u306e\u7f6e\u63db\u3001WordPress\u306e\u7ffb\u8a33\u304a\u3088\u3073\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u9ad8\u5ea6\u306a\u5909\u66f4\u306a\u3069\u304c\u884c\u3048\u307e\u3059\u3002 <\/p>\n\n\n

\n
\"-\"<\/figure><\/div>\n\n\n

\u4ee5\u4e0b\u3001\u79c1\u304cGPT\u3092\u4f7f\u7528\u3057\u3066\u6b63\u3057\u304f\u7ffb\u8a33\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b3\u30de\u30f3\u30c9\u3092\u6b8b\u3057\u307e\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u82f1\u8a9e\u3067\u4f5c\u6210\u3055\u308c\u3001\u3088\u308a\u52b9\u679c\u7684\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001PHP\u306e\u4e2d\u62ec\u5f27\u3092\u4f7f\u7528\u3057\u3066\u8a00\u8a9e\u306e\u5909\u6570\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002N8N\u306a\u3069\u306e\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3067\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u3053\u308c\u3092\u4fee\u6b63\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 <\/p>\n\n\n\n

I want you to act as a translator from $source_language to $language_code. I will speak to you in $source_language you will translate in $language_code. The entries I am going to send may have texts in other languages or untransducible, return words it unmodified. Only include the translation and nothing else, do not write explanations here. If an input cannot be translated, return it unmodified. <\/code><\/pre>\n\n\n\n

2 \u2013 \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/h2>\n\n\n\n

\u3082\u3057\u3042\u306a\u305f\u304c\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306a\u3089\u3001Translatepress\u3084\u4ed6\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u7c21\u5358\u306b\u7d71\u5408\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002Google API\u3084Deepl\u3067\u7ffb\u8a33\u3092\u884c\u3046PHP\u30d5\u30a1\u30a4\u30eb\u3092\u30d9\u30fc\u30b9\u306b\u3057\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002 <\/p>\n\n\n\n

\u7c21\u5358\u306b\u898b\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u500b\u4eba\u7684\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u77e5\u8b58\u304c\u5168\u304f\u306a\u304b\u3063\u305f\u306e\u3067\u3001Translatepress\u306e\u30b5\u30dd\u30fc\u30c8\u306e\u52a9\u3051\u3092\u501f\u308a\u3066\u3001\u305d\u3057\u3066GPT\u306e\u30c1\u30e3\u30c3\u30c8\u81ea\u4f53\u306e\u52a9\u3051\u3092\u501f\u308a\u3066\u3001\u975e\u5e38\u306b\u591a\u304f\u306e\u4f5c\u696d\u306e\u5f8c\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002 <\/p>\n\n\n

\n
\"-\"<\/figure><\/div>\n\n\n

\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u5b8c\u74a7\u306b\u6a5f\u80fd\u3057\u3001\u4ee5\u524d\u306eN8N\u3067\u884c\u3063\u3066\u3044\u305f\u81ea\u52d5\u5316\u3092\u4eca\u65e5\u7f6e\u304d\u63db\u3048\u307e\u3057\u305f\u304c\u3001\u6b8b\u5ff5\u306a\u304c\u3089\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u516c\u306b\u63d0\u4f9b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u5e78\u3044\u306b\u3082\u3001\u79c1\u306f\u3053\u306e\u7d71\u5408\u3092\u79c1\u306e\u751f\u5f92\u305f\u3061\u306b\u6559\u3048\u3001\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002 \u7ffb\u8a33\u30b3\u30fc\u30b9<\/a><\/strong> \u30dd\u30eb\u30c8\u30ac\u30eb\u8a9e <\/p>\n\n\n\n

\u3082\u3057\u3042\u306a\u305f\u304c\u30dd\u30eb\u30c8\u30ac\u30eb\u8a9e\u3092\u8a71\u3055\u306a\u3044\u5834\u5408\u3067\u3082\u3001\u79c1\u305f\u3061\u306e\u30b3\u30fc\u30b9\u3092\u8cfc\u5165\u3059\u308b\u4fa1\u5024\u304c\u3042\u308a\u307e\u3059\u3002\u5c06\u6765\u7684\u306b\u7ffb\u8a33\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3057\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u3068\u4ee5\u524d\u306b\u8a00\u53ca\u3055\u308c\u305f\u3053\u308c\u3089\u306e\u62e1\u5f35\u6a5f\u80fd\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u306e\u306b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u3082\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002 <\/p>\n\n\n\n

\u3042\u306a\u305f\u3082\u3053\u306eTranslatepress\u304c\u4fee\u6b63\u3059\u308b\u52c7\u6c17\u3092\u6301\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u552f\u4e00\u306e\u81ea\u52d5\u5316\u306b\u3064\u3044\u3066\u8a71\u3059\u305f\u3081\u306b\u9023\u7d61\u3092\u53d6\u308d\u3046\u3068\u3057\u3066\u3082\u3044\u3044\u3067\u3059\u3088\u3002\u3042\u306a\u305f\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u7ffb\u8a33\u3092\u624b\u4f1d\u3046\u3053\u3068\u306b\u559c\u3093\u3067\u3044\u307e\u3059\uff01 <\/p>\n\n\n

\n
\"-\"<\/figure><\/div>\n\n\n

\u79c1\u305f\u3061\u306e\u7ffb\u8a33\u30b3\u30fc\u30b9\u306e\u30d3\u30c7\u30aa\u30ec\u30c3\u30b9\u30f3<\/h2>\n\n\n\n

\u4e0b\u8a18\u306f\u3001\u5f53\u793e\u306e\u7ffb\u8a33\u30b3\u30fc\u30b9\u306e\u516c\u958b\u30d3\u30c7\u30aa\u30ec\u30c3\u30b9\u30f3\u3067\u3001\u5f53\u793e\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001OpenAI\u306eAPI\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002 <\/p>\n\n\n\n

\n