2017 © Pedro Peláez
 

library laravel-tencent-ai

腾讯AI开放平台sdk.

image

justmd5/laravel-tencent-ai

腾讯AI开放平台sdk.

  • Monday, July 30, 2018
  • by justmd5
  • Repository
  • 1 Watchers
  • 6 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

腾讯AI开放平台 SDK

Tencent AI open platform sdk, (*1)

styleci PHP from Packagist Latest Stable Version Latest Unstable Version GitHub stars License , (*2)

Requirement

  1. PHP >= 7.0
  2. Composer
  3. ext-curl 拓展
  4. ext-json 拓展

Install

in your laravel application, execute the following command:, (*3)

composer require justmd5/laravel-tencent-ai, (*4)

Configure

add service provider to the app.php:, (*5)

'providers' => [
    // Application Service Providers...
    Justmd5\LaravelTencentAi\ServiceProvider::class,
],

if you use laravel that >= 5.5 ,the above steps are not required., (*6)

publish config:, (*7)

php artisan vendor:publish --provider="Justmd5\LaravelTencentAi\ServiceProvider"

after that, you might want to change some config about tencentai:, (*8)

// config/tencentai.php
return [
    'appKey'    => '',
    'appSecret' => '',
    'debug'     => 0,
];

Usage

    $params = [
            'question'=>'腾讯人工智能',
            'session'=>123,
    ];

    dd(app('tencent-ai')->nlp->request('textchat', $params));

Documentation

Tencent AI · Official Documents, (*9)

Help

qq群, (*10)

, (*11)

Thanks

License

MIT, (*12)

FOSSA Status, (*13)

The Versions

30/07 2018

dev-master

9999999-dev

腾讯AI开放平台sdk.

  Sources   Download

MIT

The Requires

 

sdk tencent tencent-ai ai-sdk laravel tencent-ai

25/06 2018

dev-analysis-8AvDbN

dev-analysis-8AvDbN

腾讯AI开放平台sdk.

  Sources   Download

MIT

The Requires

 

sdk tencent tencent-ai ai-sdk laravel tencent-ai