<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                #### 接口路徑: https://dev.lingju.ai/httpapi/intentResolution.do <table style="width:100%"> <tbody> <tr height="28" style="font-weight:bold;"> <td height="28" width="130px" >名稱</td> <td colspan="3" >聊天解析接口</td> </tr> <tr height="28" style="font-weight:bold;"> <td height="28" >接口路徑</td> <td colspan="3" > https://dev.lingju.ai/httpapi/intentResolution.do</td> </tr> <tr height="28" style="font-weight:bold;"> <td height="28" >請求方式</td> <td colspan="3" >post</td> </tr> </tbody> </table> #### http post請求示例: ~~~ post https://dev.lingju.ai/httpapi/intentResolution.do json格式串行化post上傳,注意請求的header需添加 'Content-Type':'application/json;charset=UTF-8' { "accessToken":"xxxxxxxxxxxxxxxxxxxxxx", "input":"查詢余額", "lat":"23.12635", "lng":"113.38776", "city":"廣州", "position":"廣東廣州", "state":"0", "data":[ { "target":ID, "list":[] } ] } ~~~ #### 請求參數說明: <table style="width:100%"> <thead> <tr height="28"> <th width="130px">參數</th> <th width="100px">數據類型</th> <th width="130px">可需</th> <th colspan="2" >描述</th> </tr> </thead> <tbody> <tr height="23" style="height:17.25pt"> <td height="23" >accessToken</td> <td >String</td> <td>必填</td> <td colspan="2" >分配給開發者的專屬appkey,請妥善保管</td> </tr> <tr > <td>input</td> <td>String</td> <td>必填</td> <td colspan="2">文本輸入,長度:[1,300],取值:普通標點符號及中英文數字</td> </tr> <tr> <td>city</td> <td>String</td> <td></td> <td colspan="2">城市</td> </tr> <tr> <td>lat</td> <td>double</td> <td></td> <td colspan="2">緯度</td> </tr> <tr> <td>lng</td> <td>double</td> <td></td> <td colspan="2">經度</td> </tr> <tr> <td>position</td> <td>String</td> <td></td> <td colspan="2">具體位置</td> </tr> <tr> <td>state</td> <td>String</td> <td></td> <td colspan="2">非銀行相關業務是否需要響應:0=不響應;1=響應</td> </tr> <tr> <td rowspan="3">data</td> <td rowspan="3">JsonArray</td> <td rowspan="3"></td> <td colspan="2">附帶的JSON數據</td> </tr> <tr> <td>target</td> <td>目標對象id,int類型</td> </tr> <tr> <td>list</td> <td>目標對象集合,Json,json<a href="http://doc.lingju.ai/android_sdk" target="_blank">結構請參照</a></td> </tr> </tbody> </table> #### 接口輸入輸出示例: ~~~ 非銀行相關業務: 輸入: { "accessToken":"xxxxxxxxxxxxxxxxxxxxxx", "input":"今天天氣怎么樣", "lat":"23.12635", "lng":"113.38776", "city":"廣州", "position":"廣東廣州", "state":"1" } 輸出: { "answer":" {\"rtext\":\"廣州今天中雨轉雷陣雨,氣溫23到28℃,感覺到熱,溫度和昨天差不多\"} ", "status":0 } ~~~ ~~~ 銀行相關業務: 輸入: { "accessToken":"xxxxxxxxxxxxxxxxxxxxxx", "input":"查詢余額", "lat":"23.12635", "lng":"113.38776", "city":"廣州", "position":"廣東廣州", "state":"0" } 輸出: { "answer":"{"transtype":"TRANS_INQ"}", "status":0 } ~~~ #### 接口返回說明: ~~~ Content-Type:application/json;charset=UTF-8 ~~~ <table style="width:100%"> <thead> <tr height="28" > <th height="28" width="130px">屬性名</th> <th width="100px">數據類型</th> <th>描述</th> </tr> </thead> <tbody> <tr height="23"> <td height="23" >status</td> <td>int</td> <td>狀態碼,0=成功,其它值則為錯誤碼,請參考錯誤碼表</td> </tr> <tr height="23"> <td height="23" >description</td> <td >String</td> <td>通常為空,出錯時會有錯誤信息</td> </tr> <tr > <td>answer</td> <td >String</td> <td>若是自定義json(銀行相關業務)參考下面附表1;其他為閑聊返回,純文本直接取即可,若為json文本,可以取json中的rtext字段的文本內容</td> </tr> </tbody></table>
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看