Comments (6)
It's neither an annotation nor a template issue.
This issue was because, on the first try, Bing returned nothing in our supported response type list.
Basically, no value was returned along with its answerType
in the rankingResponse
object.
In the end, the Bing skill had a clueless response and turned it into an out-of-domain
.
On the second try, Bing actually returned something valid. So the answer popped out on Genie.
This issue can be easily reproduced with other API platforms as well.
We can possibly address this issue by doing a limited number of retries internally (so we have a higher chance of having an answer from Bing) or raising some kind of a Bing does not have an answer
error in the system.
from thingpedia-common-devices.
The spelling I used in my example was a common misspelling (Capital vs Capitol), which is why I too assumed it was a training issue.
Interestingly, I dropped "Ask Bing" and it did go to Bing correctly. So I will revise my request here to make this work with the correct spelling as it does with the common misspelling.
# main/0443689a-7d76-4b62-a944-27ab60e1264a
#! timestamp: 2021-09-09T01:30:17.462Z
U: what is the capital of the united states
UT: $dialogue @com.bing.webPages;
C: $dialogue @com.bing.webPages;
#! timestamp: 2021-09-09T01:30:17.478Z
A: Using Bing I found List of capitals in the United States - Wikipedia. Washington, D.C. has been the federal capital of the United States since 1800. Each U.S. state has its own capital city, as do many of its insular areas..
AT: @com.bing.reply;
#! timestamp: 2021-09-09T01:30:23.224Z
U: what is the capitol of the united states
UT: $dialogue @org.thingpedia.dialogue.transaction.execute;
UT: @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_location);
from thingpedia-common-devices.
@jmhw0123, i've finally got a testing environment up and running with the latest and will go through everything marked Ready for QA. see comments above on this one.
from thingpedia-common-devices.
We should test this with "ask bing" in the query and see what happens.
from thingpedia-common-devices.
sorry, i should have mentioned that i did try that! here's the proof:
====
# main/9f909cdd-4af0-4ce0-92df-e5a81e2683a7
#! timestamp: 2021-09-10T01:37:50.841Z
U: ask bing what is the capitol of the united states
UT: $dialogue @com.bing.webPages;
C: $dialogue @com.bing.webPages;
#! timestamp: 2021-09-10T01:37:50.856Z
A: Using Bing I found United States Capitol - Wikipedia. The United States Capitol, often called The Capitol or the Capitol Building, is the meeting place of the United States Congress and the seat of the legislative branch of the U.S. federal government. It is located on Capitol Hill at the eastern end of the National Mall in Washington, D.C..
AT: @com.bing.reply;
#! timestamp: 2021-09-10T01:38:04.096Z
U: ask bing what is the capital of the united states
UT: $dialogue @com.bing.webPages;
from thingpedia-common-devices.
to be clear i think we should map Capitol to Capital in this context:
here's the reply from google:
https://www.google.com/search?q=what+is+the+capitol+of+the+united+states&rlz=1C5CHFA_enUS964US964&oq=what+is+the+capitol+of+the+united+states&aqs=chrome..69i64j0i10l5j0i10i22i30j0i22i30j0i10i22i30j0i22i30.7944j1j1&sourceid=chrome&ie=UTF-8
from thingpedia-common-devices.
Related Issues (20)
- (Staging) Unable to add songs or podcasts to playlist in Spotify HOT 4
- Fails to find a podcast by name
- Fails to find an artist by name HOT 1
- Playing songs on a timer doesn't work
- Weather forecast doesn't find the right time
- (Staging) "play podcast" returns unexpected error HOT 2
- [Spotify] Premium status should be dynamic
- Error in Bing skill with unrelated command HOT 1
- Implent availability check for device funcionalities
- Stop command fails in Spotify
- Error in bing skill HOT 1
- Weather scenario tests fail on Sunday
- Weather response edit HOT 1
- Home Assistant: ignore entities with non-default category
- "Resume music" crashes server if no Spotify player available HOT 1
- Playing radio from web Genie hangs
- Wrong measurement unit reported by climate temperature queries
- Yelp failed to read current location
- Makefile does not work in Mac
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 thingpedia-common-devices.