<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ## 4.7 多種回答方式 >本節主要介紹如何使機器人的回答豐富多樣。包含圖片、音頻、視頻、圖文等多種素材的上傳使用,支持自定義素材。 場景意圖中的機器人答支持多種回答方式,可以返回文本、圖片、音頻、視頻、圖文(僅限于微信)。 ### 4.7.1 微信素材使用 微信素材的使用分為兩種: + 第一種,微信授權后,使用授權微信公眾號的素材庫 ![](http://gitlab.ruyi.ai/ruyi-ai/ruyi-fuwu/uploads/fdcd90ece2393fdd131fa000036f38ed/1.png) + 第二種,自定義機器人答微信端素材(自定義圖片、音頻、視頻的操作方式與硬件素材使用相同,詳情請看硬件素材使用)。 ![](http://gitlab.ruyi.ai/ruyi-ai/ruyi-fuwu/uploads/e2f1ccc343d2ccf72960f21ba53bf94f/1.png) ![](http://gitlab.ruyi.ai/ruyi-ai/ruyi-fuwu/uploads/853657fee100cdd56ed8d7491328f380/2.png) ### 4.7.2 硬件素材使用 用戶在開發者后臺自建意圖的機器人答中,如下圖示意使用自定義素材。 + 點擊使用硬件素材 ![](http://gitlab.ruyi.ai/ruyi-ai/ruyi-fuwu/uploads/6f83b1b42fc84325cbc84b6f023f1026/1.png) + 上傳圖片、音頻、視頻素材后,選擇使用 ![](http://gitlab.ruyi.ai/ruyi-ai/ruyi-fuwu/uploads/6eb0c71930b09cf4337a0faee4231e45/1.png) + 輸入名稱和url,設置自定義圖片、音頻、視頻 ![](http://gitlab.ruyi.ai/ruyi-ai/ruyi-fuwu/uploads/22015b3f173a61f076bae2c35240a477/1.png) ![](http://gitlab.ruyi.ai/ruyi-ai/ruyi-fuwu/uploads/436a872c23ec93b14928f63504328b54/3.png) ![](http://gitlab.ruyi.ai/ruyi-ai/ruyi-fuwu/uploads/3ff164657435cc432d277dd598e9d7f4/4.png) 之后就可在返回json中按需求解析素材使用,示意如下。 自定義圖片調用 ``` { "_text": "我要看圖片", "msg_id": "0da813ec-e0ba-4242-a5b6-59635c965160", "intents": [ { "parameters": {}, "name": "我要看圖片", "result": { "text": "hello", "type": "dialog" }, "outputs": [ { "type": "wechat.text", "property": { "text": "hello" } }, { "type": "image", "property": { "name": "小兔子", "image_url": "http://image.so.com/v?q=小兔子&cmsid=586f94b58e0737108deccae81aa95b73&cmran=0&cmras=0&i=0&cmg=87c95995a71d98ac5185102a7b500ab9&src=360pic_strong&z=1#q=%E5%B0%8F%E5%85%94%E5%AD%90&i=0&src=360pic_strong&z=1&lightboxindex=0&id=5c06b8456556b356ac8a7783b0d789db&multiple=0&itemindex=0&dataindex=0&prevsn=0&currsn=0" } } ], "score": "1.0", "scoreColor": "c4", "is_match": 1, "id": "8782516e-db76-4eaa-83cd-4182f92c20bb", "action": "dialog" } ], "meta_process_milliseconds": 38 } ``` 自定義音頻調用 ``` { "_text": "我要聽音頻", "msg_id": "5ea21cde-d461-4133-90ff-acdbea403576", "intents": [ { "parameters": {}, "name": "我要聽音頻", "result": { "text": "hello", "type": "dialog" }, "outputs": [ { "type": "wechat.text", "property": { "text": "hello" } }, { "type": "voice", "property": { "name": "下雨聲", "voice_url": "http://www.ximalaya.com/1000294/sound/240732" } } ], "score": "1.0", "scoreColor": "c4", "is_match": 1, "id": "8782516e-db76-4eaa-83cd-4182f92c20bb", "action": "dialog" } ], "meta_process_milliseconds": 60 } ``` 自定義視頻調用 ``` { "_text": "我要看視頻", "msg_id": "bf6739e5-b273-49e4-884b-af8657c38791", "intents": [ { "parameters": {}, "name": "我要看視頻", "result": { "text": "hello", "type": "dialog" }, "outputs": [ { "type": "wechat.text", "property": { "text": "hello" } }, { "type": "video", "property": { "name": "ruyi.ai干貨-人工智能關鍵技術", "video_url": "http://video.tudou.com/v/XMjY0Mzc1NTY3Ng==.html?spm=a2h0k.8191414.0.0&from=s1.8-1-1.2" } } ], "score": "1.0", "scoreColor": "c4", "is_match": 1, "id": "8782516e-db76-4eaa-83cd-4182f92c20bb", "action": "dialog" } ], "meta_process_milliseconds": 61 } ```
                  <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>

                              哎呀哎呀视频在线观看