Home APIs/Tools API Knowledge Q&A

Knowledge Q&A

    Knowledge Q&A is an API that returns an answer when a question is input in text. Questions can be input in natural colloquial style. Then straightforward candidate answers are returned.


    NOTE : This API can currently process Japanese input and returnes an appropriate reply in Japanese. Kindly treat the translation provided here as a reference.
    KnowledgeQ&A
    API
    Basic Information
    Resources : REST, SDK(Android™,Server side JAVA)
    Notice : Apps developed by using this API shall follow the conditions of guidelines.
    ご利用いただくためには「アカウント登録(無料)」が必要です。

    Usage

    Knowledge Q&A is an API that returns an answer when a question is input in text.
    Questions can be input in natural colloquial style. Then straightforward candidate answers are returned.

    ex.) : 
    「人類初の宇宙飛行士は?」 → ガガーリン を返却
    「東京タワーの高さは?」 → 332.5m を返却
    

    In the voice agent service provided by DOCOMO, `Shabette Concier', the abovementioned API is also used. Not to mention the agent services with which answers are returned for text inputs, as a next step, it is also possible to post the answers to the image search engine to search images of `the first astronaut in human history' etc. How to use is up to your imagination!

    Mechanism

    Questions in text are the only inputs. When the Knowledge Q&A API receives a question, answers are returned by using the data base function and search function. With the data base function, answers are searched in the data base (Knowledge DB) inside the server. With the search function, sites on the Internet are searched and candidate answers are returned. Answers from the data base function are returned with priority and only in case answers are not available there, the search function is used.

    The use case examples docomo services

    Here you can find the use case examples docomo services that have used Knowledge Q&A API.

    Shabette Concierge

    • When you engage in a conversation with your smartphone then your phone automatically displays a suitable reply.[ Shabette Concierge ] utilizes the Knowledge Q&A API.
    • The Knowledge Q&A API processes the question recognized by the speech recognition feature and the API returns the answer to your question concerning either historical facts or the current affairs.
    • The API returns a reply from the data stored in its database and in certain cases an internet search result is returned.
      ex.)
      「富士山の高さは」 → 「富士山の高さは3776mです。」(A reply from the data stored in its database)
      「人類初の宇宙飛行士は」 →「インターネットで調べたところ、一位はガガーリンです。」(A reply from the data stored in certain cases an internet search result)
    FAQ
    You can find a list of FAQs on each API.
    Contact Us
    We can support you by answering your queries with regard to "docomo Developer Support" and "Tsukuro Smartphone/i-mode contents". Please check our FAQs and contact us here in case you cannot find a solution.