Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added more possible questions in some skills #124

Merged
merged 1 commit into from
Jun 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions models/general/assistants/en/language_translation.txt
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
#Translating to other languages
#Hardcoded the languages for now, will try to extend the extend to all languages without hardcoding
#uses 3 letter language coding
What is * in french|french for *
What is * in french|french for *|translate * in french|tell the translation of * in french
!console:$text$
{
"url":"https://glosbe.com/gapi/translate?from=eng&dest=fra&format=json&phrase=$1$&pretty=true",
"path":"$.tuc[0].phrase"
}
eol

What is * in german|german for *
What is * in german|german for *|translate * in german|tell the translation of * in german
!console:$text$
{
"url":"https://glosbe.com/gapi/translate?from=eng&dest=ger&format=json&phrase=$1$&pretty=true",
"path":"$.tuc[0].phrase"
}
eol

What is * in spanish|spanish for *
What is * in spanish|spanish for *|translate * in spanish|tell the translation of * in spanish
!console:$text$
{
"url":"https://glosbe.com/gapi/translate?from=eng&dest=spa&format=json&phrase=$1$&pretty=true",
"path":"$.tuc[0].phrase"
}
eol

What is * in hindi|hindi for *
What is * in hindi|hindi for *|translate * in hindi|tell the translation of * in hindi
!console:$text$
{
"url":"https://glosbe.com/gapi/translate?from=eng&dest=hin&format=json&phrase=$1$&pretty=true",
Expand Down
4 changes: 2 additions & 2 deletions models/general/entertainment/en/creator_info.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Who made you?
Who made you?|Who created you?
FOSSASIA|That's a secret|you should know that already

what is fossasia?
what is fossasia?|Tell me about Fossasia|I don't know about Fossasia
An Open Source Community,you should check them out http://fossasia.org/
2 changes: 1 addition & 1 deletion models/general/entertainment/en/draw_a_card.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Deck of cards http://deckofcardsapi.com/
draw a card
draw a card|pick a card|pick a random card from deck
!console:The card drawn is $value$ of $suit$.
{
"url":"https://deckofcardsapi.com/api/deck/new/draw/?count=1",
Expand Down
4 changes: 2 additions & 2 deletions models/general/entertainment/en/flip_coin.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
flip a coin
heads|tails
flip a coin|Toss a coin
heads|tails
2 changes: 1 addition & 1 deletion models/general/entertainment/en/horoscope.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#for now just a sunsign entered by a user is reflected back. Later on we can go on storing sunsign in a variable and respond accordingly!
daily horoscope for *
daily horoscope for *|horoscope for *
!console:$object$
{
"url":"http://horoscope-api.herokuapp.com/horoscope/today/$1$",
Expand Down
2 changes: 1 addition & 1 deletion models/general/entertainment/en/joke.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tell me a joke|recite me a joke|entertain me
tell me a joke|recite me a joke|entertain me|make me laugh
!console:$joke$
{
"url":"http://api.icndb.com/jokes/random?escape=javascript",
Expand Down
2 changes: 1 addition & 1 deletion models/general/entertainment/en/poem.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tells a poem of given author
# example: give me a poem by Emily
# example: give me a poem by Shakespeare
give me a poem by *
give me a poem by *|tell me a poem by *
!console:The poem is $title$ by $author$. $lines$
{
"url":"http://poetrydb.org/author/$1$",
Expand Down
2 changes: 1 addition & 1 deletion models/general/entertainment/en/trivia_question.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# asks user a random question
ask me a question | ask something | trivia
ask me a question | ask something|trivia|question me
!console:$object$
{
"url":"http://jservice.io/api/random",
Expand Down
2 changes: 1 addition & 1 deletion models/general/knowledge/en/bitcoin.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
what is the bitcoin price?
what is the bitcoin price?|Bitcoin price in USD|Bitcoin value in USD
!console:The Bitcoin daily average is:$day$ USD.
{
"url":"https://apiv2.bitcoinaverage.com/indices/local/ticker/btcusd",
Expand Down