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を使用することができます
おかげ
ありがとうございます:) – Steve