Comments (6)
另外 如下代码 二次调用请求 返回 image library
$body = [
'ServiceModule' => 'open_api',
'Name' => 'test',
'ResourceType' => 'TEXT',
'Category' => 'BLACK',
'LibType' => 'textKeyword',
];
$body = json_encode($body);
return \AlibabaCloud\Green\Green::v20180509()->addSimilarityLibrary()->body($body)->request()->toArray();
from openapi-sdk-php.
是不是我的姿势不对,好想没有添加文本的方式 https://help.aliyun.com/document_detail/106534.html?spm=a2c4g.11186623.6.709.32f51886N7ebKR
from openapi-sdk-php.
- PHP Version: PHP 7.3.21-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Aug 7 2020 14:44:10) ( NTS )
- Platform: Linux d0aa2e73b694 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- Product: Green
- Product Version: 20180509
- API: getSimilarityLibrary addSimilarityLibrary
您好,我想问下,内容安全 SDK ,创建自定义文本库。是否是 getSimilarityLibrary() 方法。我通过此方法返回状态码 200 , 但是云盾控制台似乎没有?还是说,通过接口创建的文本库在控制台看不到?
另外,我通过 getSimilarityLibrary 获取报错。
$body = [ 'ServiceModule' => 'open_api' ]; $body = json_encode($body); return \AlibabaCloud\Green\Green::v20180509()->getSimilarityLibrary()->body($body)->request()->toArray();
这时报错,参数不符合要求。
from openapi-sdk-php.
另外 如下代码 二次调用请求 返回 image library
$body = [ 'ServiceModule' => 'open_api', 'Name' => 'test', 'ResourceType' => 'TEXT', 'Category' => 'BLACK', 'LibType' => 'textKeyword', ]; $body = json_encode($body); return \AlibabaCloud\Green\Green::v20180509()->addSimilarityLibrary()->body($body)->request()->toArray();
name 重复了
from openapi-sdk-php.
其实想确定下 v20180509() 接口 关于自定义文本库的都是那几个接口,
from openapi-sdk-php.
其实想确定下 v20180509() 接口 关于自定义文本库的都是那几个接口,
我们的SDK都是自动生成的,如果想确定用途,建议查阅产品文档找到对应的API,再进行调用,如果查阅不清晰,可提交工单。
from openapi-sdk-php.
Related Issues (20)
- 物联网北京企业实例无法连接
- describeFaceVerify接口地域选择cn-hongkong时提示:The request has failed due to a temporary failure of the server. HOT 1
- 阿里云 Composer 全量镜像链接不够详细 HOT 1
- Status code must be an integer value between 1xx and 5xx.
- demo 里面 vendor/autoload.php 这个到底是在 sdk 文件夹的哪个位置? HOT 1
- DTS API does not follow the shared region setting defined in DefaultClient
- 在PHP8环境中 MNS队列调用报告libxml_disable_entity_loader函数已被弃用
- 新版sdk示例如何让返回信息显示中文
- 希望能够兼容php8 HOT 1
- .....
- 你们的 API 响应规范这么玩的吗?驼峰也就算了,首字母还大写??? HOT 1
- ...... HOT 2
- SDK很多 很全 , 是否可以补充一下文档 HOT 2
- AlibabaCloud\Tea\Utils\Utils::isUnset(): Argument #1 ($value) cannot be passed by reference
- 各种PHP版本都装不上
- nlp调用一直返回 SignatureDoesNotMatch: Specified signature is not matched with our calculation
- 不支持php8.1 HOT 4
- When will it be compatible with php8?hurry up!!! HOT 3
- 什么时候集成最新的ICE的SDK.
- ROA Request invalid signature : resolveBody never add Content-MD5 if isset $this->options['body']
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openapi-sdk-php.