DeepBrain雲大腦——國內首家機器人SaaS平臺

買賣虛擬貨幣

DeepBrain面向IOT硬體廠商、APP開發者,賦予產品全面、深度的人機智慧對話能力,同時為廠商提供強大的雲端能力(提供裝置聯網與管理、遠場檢視控制、海量資料儲存與分析、使用者操作資訊儲存與同步),針對使用者的運營、管理平臺等基礎設施,以及海量豐富的技能和服務,助力廠商在AI時代獨佔鰲頭!消費級機器人SaaS服務永久免費!


機器人廠商可參與技能服務分成
機器人廠商收入來源不再僅僅是銷售硬體,可以參與技能收入分成,建立多元化的收入模式。

優秀機器人產品或Smartkit裝置 可申請入住DeepBrain商城
入住DeepBrian商城,可以享受DeepBrain App 2000w使用者流量曝光,提升產品銷量。



DeepBrain 2012年成立於上海,目前在深圳設有辦事處,公司致力於研發人工智慧產品,我們是一個富有激情和對人工智慧有著堅定信仰的團隊!
核心團隊來自於亞利桑那大學、薩爾大學、布里斯托大學、中科院、清華大學、北京大學、中國科技大學、復旦大學、上海交通大學等技術研究人才, 絕大部分擁有博士或碩士學位,在專業領域國際頂尖會議上和國家期刊上分別表發過多篇論文,擁有多項技術專利。
目前服務廠商超過100家,並與三星、華為、聯想、中興達成深度合作,為合作伙伴提供深度人機對話能力。

DeepBrain API簡介
   DeepBrain API,是雲大腦的對外介面,供第三方對接使用,主要的服務包含兩個部分:意圖識別和技能服務。意圖識別提供意圖識別結果,由對接程式完成後續處理;技能服務包含已完成的內容,如音樂服務返回結果包含可線上播放的音樂地址、兒童相關服務返回結果包含可使用的內容資源。介面的返回結果包含簡單檢視和開發者檢視,簡單檢視及問題答案或者資源詳情,開發者檢視除了簡單檢視的內容,還包括意圖識別的意圖命令結果和相關引數,格式為JSON字串。

Unresolved directive in index.adoc - include::/root/.jenkins/workspace/deep-brain-admin(prod-104)/target/asciidoc/generated/deep-brain-api/paths.adoc[]
== Interface general specification


介面使用說明
DeepBrain API為Restful風格的服務,採用HTTP協議實現,介面引數使用JSON格式傳遞。



介面安全認證資訊 SecurityToken



介面呼叫Java示例

/**
 * 呼叫主程式示例
 */
public static void main(String[] args) {
    ApiAccount apiAccount = new ApiAccount();
    apiAccount.setAppId("6ef0f5e60d3711e79cf590b11c244b31");
    apiAccount.setRobotId("11b74db20d3c11e79cf590b11c244b31");
    apiAccount.setDeviceId("SZB0C0300BF8");
    apiAccount.setUserId("13766663333");
    RequestLocation location = new RequestLocation();
    location.setCityName("上海");
    List<CommonAttribute> extParams = new ArrayList<>();
    extParams.add(new CommonAttribute("myattr", "myval"));
    try {
        ServiceResponse response = ask(apiAccount, location, extParams, "天氣");
        System.out.println(new Gson().toJson(response));
    } catch (Exception e) {
        logger.error(ExceptionUtils.getStackTrace(e));
    }
}
/**
 * ask介面呼叫
 * @param apiAccount
 * @param location
 * @param extParams
 * @param inputText
 * @return
 * @throws Exception
 */
public static ServiceResponse ask(ApiAccount apiAccount, RequestLocation location, List<CommonAttribute> extParams, String inputText) throws Exception {
    ServiceResponse response = null;
    StopWatch stopWatch = new StopWatch();
    stopWatch.start();
    try {
        ServiceRequest request = new ServiceRequest();
        request.getRequestHead().setApiAccount(apiAccount);
        SecurityToken accessToken = new SecurityToken();
        accessToken.setNonce(generateNonceStr(32));
        accessToken.setCreatedTime(getCreated(new Date()));
        accessToken.setPrivateKey(SecurityTokenUtils.doPasswordDigest(accessToken.getNonce(), accessToken.getCreatedTime(), apiAccount.getRobotId()));
        request.getRequestHead().setAccessToken(accessToken);
        request.setNlpData(new NlpData());
        request.getNlpData().setInputText(inputText);
        request.setLocation(location);
        request.setExtParams(extParams);
        Gson gson = new Gson();
        String responseStr = httpInvoke(getConfigedURL(), gson.toJson(request));
        if (StringUtils.isNoneEmpty(responseStr)) {
            response = gson.fromJson(responseStr, ServiceResponse.class);
        }
    } catch (Exception e) {
        logger.error(ExceptionUtils.getStackTrace(e));
    } finally {
        stopWatch.stop();
        logger.info(stopWatch.getTotalTimeSeconds());
    }
    return response;
}

/**
 * http post請求示例
 * @param requestURL
 * @param jsonBody
 * @return response body的json串
 */
public static String httpInvoke(String requestURL, String jsonBody) {
    String responseStr = "";
    RequestConfig REQUEST_CONFIG = RequestConfig.custom().setConnectTimeout(CONNECT_TIMEOUT)
            .setConnectionRequestTimeout(CONNECT_TIMEOUT).setSocketTimeout(SOCKET_TIMEOUT).build();
    HttpClient httpClient = HttpClientBuilder.create().setDefaultRequestConfig(REQUEST_CONFIG).build();
    HttpPost httpRequest = new HttpPost(requestURL);
    httpRequest.addHeader("Accept", "application/json;charset=utf-8");
    httpRequest.addHeader("Content-Type", "application/json;charset=utf-8");
    httpRequest.addHeader("Content-Encoding", "utf-8");
    httpRequest.setEntity(new StringEntity(jsonBody, ContentType.APPLICATION_JSON));
    try {
        HttpResponse httpResponse = httpClient.execute(httpRequest);
        responseStr = EntityUtils.toString(httpResponse.getEntity(), Charset.forName("UTF-8"));
    } catch (IOException e) {
        logger.error(ExceptionUtils.getStackTrace(e));
    }
    return responseStr;
}

關於更多DeepBrain資訊:


風險提示:區塊鏈投資具有極大的風險,專案披露可能不完整或有欺騙。請在嘗試投資前確定自己承受以上風險的能力。本網站只做專案介紹,專案真假和價值並未做任何稽覈。

免責聲明:

  1. 本文版權歸原作者所有,僅代表作者本人觀點,不代表鏈報觀點或立場。
  2. 如發現文章、圖片等侵權行爲,侵權責任將由作者本人承擔。
  3. 鏈報僅提供相關項目信息,不構成任何投資建議

推荐阅读

;