fossasia / susi_server

SUSI.AI server backend - the Artificial Intelligence server for personal assistants https://susi.ai
GNU Lesser General Public License v2.1
2.51k stars 1.08k forks source link

Idea: SUSI should be able to host a quiz #1397

Open marcnause opened 5 years ago

marcnause commented 5 years ago

SUSI should be able to host a quiz by asking the user a question and tell the user if the answer is correct or not. Optionally SUSI could also provide different suggestions for answers ("Who Wants to Be a Millionaire?"-style).

A service which offers trivia questions and which could be used for a skill is the service of Open Trivia Database: https://opentdb.com/api_config.php

marcnause commented 5 years ago

Somebody wrote a trivia skill already which I suspect is poorly rated since SUSI does not tell/check the answers: https://susi.ai/Games,%20Trivia%20and%20Accessories/trivia_question/edit/en

Orbiter commented 5 years ago

I already designed (well, but not implemented) a LoT Style to define answer alternatives:

utterance1
answer1

    subu1
    suba1

    subu2
    suba2

    subu3
    suba3

Here the subu1, subu2, subu3 are possible answers to answer1- which in fact should in this case be a question from susi to the user. An interface could present subu1, subu2, subu3 as possible answers and could also make buttons for it. The query API should return these options together with the answer1.

This can be defined in the susi skill files with fixed answers. But how can these be defined with variable-filled answers? We currently don't have variables in utterances. So possibly with variables in utterances?

Like

utterance1
answer1

    $_subu1$
    suba1

    $_subu2$
    suba2

    $_subu3$
    suba3

?

punarvasu510 commented 4 years ago

@Low012 @Orbiter I want to work on this. Is this pending still?

marcnause commented 4 years ago

I have not worked on this issue or followed any eventual progress.

@Orbiter?