2016-08-18 5 views
0

Wit.Ai HTTP API Documentationは、エンティティの「開始」と「終了」の位置を返すPOST /下図のように:Wit.AiのHTTP GET /メッセージリクエストからエンティティの位置を取得する方法

{ 
    "type": "merge", 
    "entities": {"location": [{"body": "Brussels", 
           "value": {"type": "value", 
             "value": "Brussels", 
             "suggested": true}, 
           "start": 11, 
           "end": 19, 
           "entity": "location"}]}, 
    "confidence": 1 
    } 

同じ情報を返す非推奨GET https://api.wit.ai/messages/ $ MSG_ID要求もあります。

「開始」属性と「終了」属性を返すようにGET /メッセージ要求を構成する方法はありますか?あなたのエンティティの位置を得るためにあなたの要求に冗長= trueを使用することができます

おかげ

答えて

1

+0

ありがとうございます:) – Steve

関連する問題