type2docfx
Version:
A tool to convert json format output from TypeDoc to universal reference model for DocFx to consume.
221 lines • 4.82 kB
JSON
{
"text": "http://foo.com is where you can fly from seattle to dallas via denver on delta",
"intents": {
"EntityTests": {
"score": 0.926227331
},
"Weather_GetForecast": {
"score": 0.1408156
},
"Travel": {
"score": 0.02833348
},
"None": {
"score": 0.0232552961
},
"Delivery": {
"score": 0.004638636
},
"SpecifyName": {
"score": 0.004528465
},
"Help": {
"score": 0.00172583084
},
"Cancel": {
"score": 0.0008147075
},
"Greeting": {
"score": 0.000110537359
}
},
"entities": {
"$instance": {
"Composite2": [
{
"startIndex": 0,
"endIndex": 69,
"text": "http : / / foo . com is where you can fly from seattle to dallas via denver",
"score": 0.388890356
}
],
"Airline": [
{
"startIndex": 73,
"endIndex": 78,
"text": "delta"
}
]
},
"Composite2": [
{
"$instance": {
"City": [
{
"startIndex": 63,
"endIndex": 69,
"text": "denver",
"score": 0.817590535
}
],
"builtin_url": [
{
"startIndex": 0,
"endIndex": 14,
"text": "http://foo.com"
}
],
"From": [
{
"startIndex": 41,
"endIndex": 48,
"text": "seattle",
"score": 0.975187838
}
],
"To": [
{
"startIndex": 52,
"endIndex": 58,
"text": "dallas",
"score": 0.9845761
}
]
},
"City": [
"denver"
],
"builtin_url": [
"http://foo.com"
],
"From": [
"seattle"
],
"To": [
"dallas"
]
}
],
"Airline": [
[
"Delta"
]
]
},
"luisResult": {
"query": "http://foo.com is where you can fly from seattle to dallas via denver on delta",
"topScoringIntent": {
"intent": "EntityTests",
"score": 0.926227331
},
"intents": [
{
"intent": "EntityTests",
"score": 0.926227331
},
{
"intent": "Weather.GetForecast",
"score": 0.1408156
},
{
"intent": "Travel",
"score": 0.02833348
},
{
"intent": "None",
"score": 0.0232552961
},
{
"intent": "Delivery",
"score": 0.004638636
},
{
"intent": "SpecifyName",
"score": 0.004528465
},
{
"intent": "Help",
"score": 0.00172583084
},
{
"intent": "Cancel",
"score": 0.0008147075
},
{
"intent": "Greeting",
"score": 0.000110537359
}
],
"entities": [
{
"entity": "delta",
"type": "Airline",
"startIndex": 73,
"endIndex": 77,
"resolution": {
"values": [
"Delta"
]
}
},
{
"entity": "dallas",
"type": "City::To",
"startIndex": 52,
"endIndex": 57,
"score": 0.9845761
},
{
"entity": "seattle",
"type": "City::From",
"startIndex": 41,
"endIndex": 47,
"score": 0.975187838
},
{
"entity": "denver",
"type": "City",
"startIndex": 63,
"endIndex": 68,
"score": 0.817590535
},
{
"entity": "http : / / foo . com is where you can fly from seattle to dallas via denver",
"type": "Composite2",
"startIndex": 0,
"endIndex": 68,
"score": 0.388890356
},
{
"entity": "http://foo.com",
"type": "builtin.url",
"startIndex": 0,
"endIndex": 13
}
],
"compositeEntities": [
{
"parentType": "Composite2",
"value": "http : / / foo . com is where you can fly from seattle to dallas via denver",
"children": [
{
"type": "City",
"value": "denver"
},
{
"type": "builtin.url",
"value": "http://foo.com"
},
{
"type": "City::From",
"value": "seattle"
},
{
"type": "City::To",
"value": "dallas"
}
]
}
]
}
}