fossasia/susi_server

Idea: SUSI should be able to host a quiz

marcnause opened this issue · 4 comments

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

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

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

?

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

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

@Orbiter?