MycroftAI / skill-stock

Mycroft AI official Stock Skill - providing current prices of stocks
https://mycroft.ai/skills
Apache License 2.0
6 stars 18 forks source link

Feature/update #4

Closed forslund closed 6 years ago

forslund commented 6 years ago

Fixes issue with not returning any answer

KathyReid commented 6 years ago

Pull in this PR for testing

pi@mark_1:~/skills/mycroft-stock.mycroftai $ sudo -u mycroft git checkout feature/update
Branch feature/update set up to track remote branch feature/update from origin.
Switched to a new branch 'feature/update'
pi@mark_1:~/skills/mycroft-stock.mycroftai $ sudo -u mycroft git pull
Already up-to-date.
pi@mark_1:~/skills/mycroft-stock.mycroftai $ sudo -u mycroft git pull origin feature/update
From https://github.com/mycroftai/skill-stock
 * branch            feature/update -> FETCH_HEAD
Already up-to-date.

Test utterances

figured Google was not Google but Alphabet, derp!



After I tried Petroleo Brasiliero, none of the Utterances worked after that ...

KathyReid commented 6 years ago

I retested this after discussion with Ake, I retested these and found what I'd done wrong. The vocab does not allow for the phrase stock price FOR {{company}}, only stock price OF {{company}}. All the examples that failed were using FOR not OF.

Retesting shows:


This was an issue with .voc, NOT the commits in this PR.

KathyReid commented 6 years ago

LGTM, merging. Side note, I've raised a separate PR for the phrasing I tripped up on. See #7