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.
Resources : REST, SDK(Android™,Server side JAVA)
Notice : Apps developed by using this API shall follow the conditions of guidelines.
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!
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.
Here you can find the use case examples docomo services that have used Knowledge Q&A API.
- 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.
「富士山の高さは」 → 「富士山の高さは3776mです。」(A reply from the data stored in its database)
「人類初の宇宙飛行士は」 →「インターネットで調べたところ、一位はガガーリンです。」(A reply from the data stored in certain cases an internet search result)