Coder Social home page Coder Social logo

Comments (6)

jmhw0123 avatar jmhw0123 commented on June 23, 2024

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.

tonyespinoza1 avatar tonyespinoza1 commented on June 23, 2024

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);

image

from thingpedia-common-devices.

tonyespinoza1 avatar tonyespinoza1 commented on June 23, 2024

@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.

jmhw0123 avatar jmhw0123 commented on June 23, 2024

We should test this with "ask bing" in the query and see what happens.

from thingpedia-common-devices.

tonyespinoza1 avatar tonyespinoza1 commented on June 23, 2024

sorry, i should have mentioned that i did try that! here's the proof:
image

====
# 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.

tonyespinoza1 avatar tonyespinoza1 commented on June 23, 2024

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

image

from thingpedia-common-devices.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.