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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ### 3.5.7 兒童笑話 #### (1) 功能說明 兒童笑話技能插件,精選適合兒童的笑話資源,支持笑話點播。返回最多包含10首單曲的播放列表。目前兒童笑話技能的數據主要來自工程師爸爸、喜馬拉雅FM和蜻蜓FM,返回url包含mp3和m4a格式,客戶可根據需求解析特定格式的url。 #### (2) 接口說明 **請求方法** * POST **請求地址** * [http://api.ruyi.ai/v1/message](http://api.ruyi.ai/v1/message) **請求參數說明** | 參數名 | 參數類型 | 是否必須 | 參數說明 | | :--- | :--- | :---: | :--- | | q | String | 是 | 自然語言表達,例如“講笑話”等 | | app\_key | String | 是 | 應用開發者秘鑰,注冊開發者后臺賬號,建立虛擬助理后獲得 | | user\_id | String | 是 | 用戶唯一標識,便于支持個性化語義解析。建議開發者使用 UUID 字符,且不同用戶必須用不同的 user\_id,防止意圖串。 | #### (3) 返回說明 **返回參數說明** | 名稱 | 類型 | 說明 | | :--- | :--- | :--- | | code | Integer | 返回代碼 | | msg | String | 返回代碼描述 | | parameters | JSON Object | 解析到的實體以及服務說明 | | action | String | 服務的接口名稱 | | name | String | 匹配的意圖名稱 | | result | JSON Object | 接口返回內容 | | outputs | Array | 服務輸出結果,微信端使用 type 類型為 wechat 開頭的內容;硬件端收到所有內容,依據需求解析使用 | **返回代碼說明** | 返回代碼 | 錯誤類型 | 說明 | | :--- | :--- | :--- | | 0/200 | 成功 | 請求成功 | | 400 | 無效請求 | 某些必需參數缺失或參數值錯誤,詳見msg字段 | | 401 | 未授權 | 授權失敗,app\_key 缺失或錯誤 | | 403 | 請求被禁止 | 有效請求,但服務拒絕響應,請聯系contact@ruyi.ai | | 408 | 請求超時 | 請求響應超時,一般響應時間設置為2000ms以內 | | 429 | 短時間內大量訪問 | 短時間內請求數過多 | | 500 | 內部錯誤 | 服務處理異常 | | 503 | 服務不可用 | 服務異常或正在維護 | #### (4) 請求示例 **請求范例** _講笑話_ _放一個笑話_ _換個笑話_ _笑話_ _兒童笑話_ **請求示例成功** (成功,返回符合結果的單曲,和該單曲所在專輯最多10個曲目的播放列表) * http://api.ruyi.ai/ruyi-api/v1/message?app_key=APP_KEY&user_id=user0&q=講笑話 返回結果 ```json { "code": 0, "msg": "ok", "result": { "_text": "講笑話", "msg_id": "72b82949-1f9e-4e16-ae00-3d8cb19fc243", "intents": [{ "parameters": { "tag1": "笑話", "service": "kids_joke" }, "action": "標簽點播", "name": "講笑話", "result": { "code": 200, "response": { "code": 0, "msg": "成功", "result": { "track_list": [{ "name": "3755_搬弄是非", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-8", "identifier": "4572650", "image": "http://fdfs.xmcdn.com/group16/M04/9A/4A/wKgDaldqNt6haiF9AAA88x4dHwg810_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17400044", "position": 253, "durationInSeconds": 58, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group8/M01/99/EF/wKgDYFdqOEbxMFpKAAcnMmxUx1Y067.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group8/M01/99/EF/wKgDYFdqOEeCuNpEAAdB3aN_Ke8438.m4a", "encodingFormat": "m4a" }] }] }, { "name": "2708_繪畫", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-6", "identifier": "4572578", "image": "http://fdfs.xmcdn.com/group14/M00/9B/33/wKgDZFdqMoixixkIAABtQjx-akc504_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17398358", "position": 207, "durationInSeconds": 24, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group6/M0B/A7/75/wKgDg1dqM6XS4vClAALw1BbzC7c087.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group6/M0B/A7/75/wKgDg1dqM6bjLk7vAAL-zx3v1rQ315.m4a", "encodingFormat": "m4a" }] }] }, { "name": "3617_觀察了", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-8", "identifier": "4572650", "image": "http://fdfs.xmcdn.com/group16/M04/9A/4A/wKgDaldqNt6haiF9AAA88x4dHwg810_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17399833", "position": 115, "durationInSeconds": 57, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group5/M07/8E/45/wKgDtVdqN5vg7pnLAAcA1OrgJsQ232.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group5/M07/8E/45/wKgDtVdqN5zQvReCAAcbrqVsGyc531.m4a", "encodingFormat": "m4a" }] }] }, { "name": "3493_瓶蓋擰緊", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-7", "identifier": "4572617", "image": "http://fdfs.xmcdn.com/group6/M09/A7/78/wKgDg1dqNRPS6AsZAAA445dKVsI082_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17399567", "position": 491, "durationInSeconds": 24, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group16/M04/9A/57/wKgDbFdqNrmRSfJJAALzRx5Qgts431.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group16/M04/9A/57/wKgDbFdqNrrgueA3AAMBwm_fhGw624.m4a", "encodingFormat": "m4a" }] }] }, { "name": "3868_草坪", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-8", "identifier": "4572650", "image": "http://fdfs.xmcdn.com/group16/M04/9A/4A/wKgDaldqNt6haiF9AAA88x4dHwg810_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17400209", "position": 366, "durationInSeconds": 36, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group10/M08/95/B4/wKgDZ1dqOI2jaUJMAAR2N0VS3jg394.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group10/M08/95/B4/wKgDZ1dqOI6A9OsfAASIWvhvitQ030.m4a", "encodingFormat": "m4a" }] }] }, { "name": "4809_壯膽", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-10", "identifier": "4572711", "image": "http://fdfs.xmcdn.com/group7/M00/9A/A2/wKgDWldqOWyRn1YJAADL8cZfaZA797_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17401810", "position": 307, "durationInSeconds": 21, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group10/M06/98/A7/wKgDaVdqPSnCh_KXAAKWN060h9w498.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group10/M06/95/BE/wKgDZ1dqPSnhBd0dAAKjxMesEm0929.m4a", "encodingFormat": "m4a" }] }] }, { "name": "1477_據理相爭", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-3", "identifier": "4572433", "image": "http://fdfs.xmcdn.com/group13/M0B/9A/9A/wKgDXVdqKznANkRLAAAzx1sqpos931_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17396189", "position": 476, "durationInSeconds": 31, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group16/M0B/9A/48/wKgDbFdqLS3wqKyUAAPZe6x3ek4468.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group16/M0B/9A/48/wKgDbFdqLS2xeBHKAAPpwgHGT4k007.m4a", "encodingFormat": "m4a" }] }] }, { "name": "3098_怕說話", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-7", "identifier": "4572617", "image": "http://fdfs.xmcdn.com/group6/M09/A7/78/wKgDg1dqNRPS6AsZAAA445dKVsI082_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17398955", "position": 97, "durationInSeconds": 53, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group10/M0B/95/B1/wKgDZ1dqNY3TF1fVAAaAqsGAfG8938.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group10/M0B/95/B1/wKgDZ1dqNY7QdrB0AAaY_aVf01c561.m4a", "encodingFormat": "m4a" }] }] }, { "name": "4411_解除關系", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-9", "identifier": "4572704", "image": "http://fdfs.xmcdn.com/group14/M09/9B/3B/wKgDZFdqOTKyiFAnAADa2cdDXXI278_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17401206", "position": 410, "durationInSeconds": 20, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group8/M04/99/D1/wKgDYVdqO6niHUTrAAJ_XDTQmeY643.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group8/M04/99/D1/wKgDYVdqO6nBE6uVAAKMSAQiyws524.m4a", "encodingFormat": "m4a" }] }] }, { "name": "3456_講文明", "@type": ["MusicRecording", "CreativeWork", "Thing"], "mergedFrom": [{ "inAlbum": { "name": "笑話大全(5000)-7", "identifier": "4572617", "image": "http://fdfs.xmcdn.com/group6/M09/A7/78/wKgDg1dqNRPS6AsZAAA445dKVsI082_mobile_meduim.jpg", "@type": ["MusicAlbum", "CreativeWork", "Thing"] }, "identifier": "17399530", "position": 454, "durationInSeconds": 51, "statedIn": "www.ximalaya.com", "@type": ["MusicRecording", "CreativeWork", "Thing"], "audio": [{ "contentUrl": "http://fdfs.xmcdn.com/group16/M04/9A/46/wKgDaldqNrDBHt6FAAZBzr3IiyI771.mp3", "encodingFormat": "mp3" }, { "contentUrl": "http://audio.xmcdn.com/group16/M04/9A/46/wKgDaldqNrCzQrPEAAZZ2dzIzLg275.m4a", "encodingFormat": "m4a" }] }] }], "msg": "ok" } }, "text": "即將播放笑話【3755_搬弄是非】", "type": "dialog" }, "outputs": [{ "type": "wechat.text", "property": { "text": "即將播放笑話【3755_搬弄是非】" } }, { "type": "dialog", "property": { "text": "即將播放笑話【3755_搬弄是非】", "emotion": "despite" } }], "score": "1.0", "scoreColor": "c4", "is_match": 1, "skill_id": "a2b49c1e-6c87-4fb1-be45-7dda35229585", "id": "b4772eaa-4711-49b5-a3ea-b575393a4074" }], "meta_process_milliseconds": 521 } } ``` **詳細參數說明** | 名稱 | 類型 | 說明 | | :--- | :--- | :--- | | service | String | 服務名稱 | |tag|String | 標簽名 | |trackName|String |識別到的音頻名稱| |statedIn|String |數據來源網站| |track_list|String |返回的音頻列表| |name|String |音頻名稱| |@type|String |實體類型| |identifier|String|數據來源網站ID| |durationInSeconds|String|音頻時長| |position|String|音頻在專輯中的位置| |inAlbum|String|音頻所在專輯| |image|String | 專輯封面地址 |
                  <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>

                              哎呀哎呀视频在线观看