The invention discloses a
building material semantic retrieval method based on a vector
database, and relates to the technical field of building
informatization management, and the technical scheme is as follows: the method comprises the following steps: obtaining
building material data and carrying out cleaning and
standardization processing, extracting material fields and business attribute information, and establishing
synonym mapping information or material and product name mapping information; carrying out blocking and vectorization
processing on the processed
building material data, and storing the processed building
material data to a vector
database; performing query understanding on the
natural language query of the user, complementing missing key fields and performing unified name expansion; performing
query expansion based on the processed query field to generate a retrieval expression; and performing vector retrieval and keyword retrieval, fusing and reordering to obtain a target
retrieval result, and performing extended re-retrieval when the result is empty or insufficient. The method has the beneficial effects that the retrieval accuracy, the recall capability and the result availability under the scenes of different names, unified names and material substitutive names of the building materials can be improved, and the empty result rate and the manual screening cost are reduced.