AI语义相似度请求
<h1>功能</h1>
<p>调用K-RTP机器人文字处理系统接口,进行语义相似度识别。</p>
<h1><strong>输入</strong></h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>链接</td>
<td>【字符串】请求URL(内网/外网)</td>
<td>按实际情况选择</td>
</tr>
<tr>
<td>Json内容</td>
<td>【字符串】请求的Json内容,格式参考注意/说明项</td>
<td>填入Json内容</td>
</tr>
</tbody>
</table>
<h1><strong>输出</strong></h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>内容</td>
<td>【字符串】响应内容</td>
<td>{填入变量名称}</td>
</tr>
<tr>
<td>结果</td>
<td>【字符串列表】响应内容</td>
<td>{填入变量名称}</td>
</tr>
</tbody>
</table>
<h1><strong>注意/说明</strong></h1>
<p>1、内网请求URL:<a href="http://192.168.2.18:8001/predict/sim">http://192.168.2.18:8001/predict/sim</a>
2、外网请求URL:<a href="http://14.29.70.194:52961/predict/sim">http://14.29.70.194:52961/predict/sim</a>
3、Json内容格式为:{ "text1": "xxxx", "text2":"xxxx"},例如:{"text1": "这句话相似!","text2":"这句话也相似!"}
注意:text1、text2传入的字符必须小于512
4、每个函数的属性配置,请参考‘AI身份证识别’函数中的“属性”栏配置。</p>
<h1>相关函数</h1>
<p>无</p>
<h1><strong>示例/演示</strong></h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/b58067a8e0bcd9b100867ea9f8171c71" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/aa4acefbc70b43f20b38473824a15f3a" title="[组件[AI语义相似度请求]_20210204.db">组件[AI语义相似度请求]_20210204.db</a></p>