Voice interaction method and device
AssigneeBaidu Online Network Technology (Beijing) Co., Ltd.
InventorYONGSHUAI LU
Life of this patent
Estimating the term…
Loading patent…
AssigneeBaidu Online Network Technology (Beijing) Co., Ltd.
InventorYONGSHUAI LU
Estimating the term…
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.
A voice interaction method, comprising:
A voice interaction device, comprising:
A computer readable storage medium, wherein the computer readable storage medium stores a computer-executed instruction therein, and when a processor executes the computer-executed instruction, the processor is configured to:
Dependencies are inferred from the claim text.