gemy/chat-gpt-trans 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gemy/chat-gpt-trans

最新稳定版本:1.0.0

Composer 安装命令:

composer require gemy/chat-gpt-trans

包简介

using for chat-gpt translation

README 文档

README

Chat GPT Translation

Build Status Total Downloads Latest Stable Version License

Chat GPT Translation

Translation library using Chat-gpt

Installation

You can install the package via composer:

composer require gemy/chat-gpt-trans

Edit in env file

TRANS_KEY=your_chat_gpt_token

The code

use Gemy\ChatGptTrans\App\ChatGptTrans;

class HomeController extends Controller
{
    public function transText()
    {
         $string = "مساج الحجارة الساخنة والأعشاب";
         /// If you don`t need to save it in a file, write it like this
         $text = new ChatGptTrans('en',false);
         ////
          $text = new ChatGptTrans('en',true);
    }
}

If the response is null then there is an error

统计信息

  • 总下载量: 22
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-15