1
私はフィードバックメカニズムを作成したいと思います。wit.aiがいくつかのコマンドを理解できない場合、ユーザーが選択するインテントのリストを示唆することができ、このエンティティの下でシノニムを更新できます。wit.aiではどのようにユーザーにインテントを提案できますか?
私はフィードバックメカニズムを作成したいと思います。wit.aiがいくつかのコマンドを理解できない場合、ユーザーが選択するインテントのリストを示唆することができ、このエンティティの下でシノニムを更新できます。wit.aiではどのようにユーザーにインテントを提案できますか?
あなたはすべてのあなたのインテントを取得するには、このURLを使用することができます。
curl -XGET 'https://api.wit.ai/entities/intent?v=20170101' -H "Authorization: Bearer $TOKEN"
{
"builtin" : false,
"doc" : "User-defined entity",
"exotic" : false,
"id" : "58731dcc-3180-43c9-46fd-8881447d9f0c",
"lang" : "en",
"lookups" : [ "trait" ],
"name" : "intent",
"values" : [ {
"value" : "demo-free",
"expressions" : [ "@Cortex, is demo free?", "Is demo free?" ]
}, {
"value" : "demo-info",
"expressions" : [ "@Cortex, who is using demo?", "@Cortex, Who's using demo?", "Who's using it?", "Who's using demo?" ]
}, {
"value" : "mongo-status",
"expressions" : [ "@Cortex, is mongo2 ok?", "@Cortex, how is mongo1?", "@Cortex, is mongo1 ok?", "@Cortex, is mongo ok>", "is mongo-1 ok?", "@Cortex, is mongodb ok?", "@Cortex, is mongo ok?", "how are the mongo servers?", "how are the mongod servers?", "is mongo ok", "is mongodb ok?", "Mongo status", "Check mongo status" ]
}, {
"value" : "cortex-help",
"expressions" : [ "what can you do for me?", "help me", "help", "how can you help me?", "What can you do?" ]
}, {
"value" : "mongo-logs",
"expressions" : [ "@Cortex, can I see all the db logs?", "@Cortex, can I see all db logs?", "@Cortex, can I see the mongo logs?", "can I see the mongo logs?", "can I see the mongod logs?", "let me see the mongo logs", "can I see the mongodb logs?", "show me mongo logs", "show me the mongo logs" ]
} ]
あなたは、各意図の1つ(またはそれ以上)の例(複数可)を選択し、ユーザーにそれらを表示するためにこれを使用することができます。
古いアプリ(ストーリーなし)を使用している場合は、docフィールドを使用して自分の意図に関連する質問を入力し、この呼び出しを使用して取得できます。https://wit.ai/docs/http/20160526#get --intents-(廃止予定)-link – l5t