The application provides an answer generation method and device, equipment, storage medium and product, and relates to the technical field of
artificial intelligence. The method comprises the following steps: determining a to-be-searched vector
library according to a pre-stored
knowledge graph structure, a pre-trained vector model and a plurality of
knowledge graph question and answer scene information; obtaining a user question, and performing vectorization
processing on the user question by using the pre-trained vector model to obtain a to-be-searched question vector at a
sentence level; performing vector search on the to-be-searched question vector in the to-be-searched vector
library to obtain user question related information, and determining graph structure information according to the pre-stored
knowledge graph structure; performing splicing
processing on the graph structure information, the user question related information and the user question to obtain to-be-input information, and inputting the to-be-input information into a pre-stored question and answer
large model to obtain a target answer. The method solves the problem that the answer generated by the intelligent question and answer
system in the prior art for a user question is deviated and incorrect, and improves the accuracy of answer generation.