ai
  • 简介
  • 百度AI
    • 人脸识别
      • 人脸库管理
      • 人脸检测
      • 人脸搜索
      • 人脸对比
      • 身份验证
    • OCR文字识别
    • 图像识别
    • 人体分析
    • nlp自然语言
  • 腾讯AI
    • OCR文字识别
    • 人脸识别
      • 人脸库管理
    • 图片特效
    • 图片识别
    • 敏感信息审核
    • 智能闲聊
    • 机器翻译
    • 基础文本分析
    • 语义解析
    • 语音识别
    • 语音合成
Powered by GitBook
On this page

Was this helpful?

  1. 腾讯AI

智能闲聊

$res = $ai->nlp()->textChat([
    'session'  => '10000',   //会话标识(应用内唯一)
    'question'  => '你叫什么名字'  //用户输入的聊天内容
]);


if($res->toArray()){
    var_dump($res->toArray());
}
Previous敏感信息审核Next机器翻译

Last updated 6 years ago

Was this helpful?