Comments (6)
There is another issue with datetime recognition. When LUIS return the following response e.g
"entities": [
{
"entity": "20 may 2016",
"type": "builtin.datetime",
"startIndex": 28,
"endIndex": 38,
"resolution": {
"date": "2016-05-20"
}
},
{
"entity": "22 may 2016",
"type": "builtin.datetime",
"startIndex": 45,
"endIndex": 55,
"resolution": {
"date": "2016-05-22"
}
},
{
"entity": "paris",
"type": "builtin.geography",
"startIndex": 17,
"endIndex": 21,
"score": 0.968967259
}
]
The type is 'builtin.datetime' and EntityRecognizer doesn't resolve the time. I assume that it expects 'builtin.datetime.date' type.
from botframework-sdk.
What do you get back in this case? I would have expected it to find the first one but not the second.
from botframework-sdk.
Line 105
switch (entity.resolution.resolution_type || entity.type) { case 'builtin.datetime.date': case 'builtin.datetime.time':
If type is 'builtin.datetime' like in my case, then it would not be resolved.
from botframework-sdk.
I see... Have you tried adding an additional case statement directly to the JS of the module? Just curious if that fixes things. They may have changed the entity titles on us. I can look into this too but it may be a bit.
from botframework-sdk.
I've checked in a fix for this. Will be in the next release of the SDK coming out shortly.
from botframework-sdk.
Closing this issue. Please open a new issue for further discussion if necessary. Thanks!
from botframework-sdk.
Related Issues (20)
- Consider updating namespaces from Task* to the concept of a modal dialog at the appropriate time HOT 1
- Skype bot responds with long delays HOT 2
- Operation returned an invalid status code 'BadGateway' HOT 3
- FAQ bot is not responding to question asked. Giving 500 error. HOT 2
- Unable to call bot service when we've enabled NGNIX & Fortigate for appservice in azure portal HOT 1
- 404 Not found when trying to use Teams SSO to get the user token HOT 7
- In Microsoft Teams, <Conversation>.ReplyToActivity does not send a reply, it creates a new message to the conversation HOT 4
- Play Continuous Video Stream on the Bot
- Occasional unexpected ConversationNotFound
- SendAdaptiveCards does not work with generic objects HOT 3
- Skype mentions showing "未知用户" HOT 2
- User response from button selection on Adaptive card not working on Facebook Messenger HOT 4
- Token Service returning 404 on GetToken when using Keycloak, works with ADv2 HOT 1
- Token Service doesn't refresh the user token HOT 3
- Bot gives same response multiple times when deployed with azure bot service HOT 1
- [Bug] Bot has no response in chat after deploying to non-Testing environment and uploading to Teams HOT 6
- Token Service giving a static dark page when clicking the sign in button multiple times
- [Bot Portal] I can't see my bots HOT 1
- `Input.Text` not displaying when used with `isRequired: true`
- Skype is not sending the attachment details along with request object in group chats HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botframework-sdk.