Voice interaction method and device
摘要:
Embodiments of the present disclosure provide voice interaction method and device. The method includes: determining whether a first query statement currently received is a query statement first received within a preset time period; if not, obtaining a second query statement, where the second query statement is a query statement lastly received before receiving the first query statement; obtaining a third sentence vector according to a first sentence vector of the first query statement and a second sentence vector of the second query statement; and obtaining, from a bottom corpus, a first question and answer result corresponding to a fourth sentence vector a similarity between which and the third sentence vector satisfies a preset condition, and returning the first question and answer result. The method provided in the embodiment can return a bottom reply irrelevant to the query statement to the user, thereby improving the user experience.
公开/授权文献
信息查询
0/0