The invention discloses a personalized travel
route planning method and
system based on a large
language model, and a terminal. The method comprises the steps: collecting multi-
source data information, carrying out the extraction and
standardization of the multi-
source data information, obtaining a target multi-
source data set, and constructing a travel
knowledge graph according to the target multi-source
data set; the method comprises the following steps: constructing a big
language model, performing instruction type
fine tuning on the big
language model according to a tourism
knowledge graph and a preset
fine tuning task, enhancing the big language model after instruction type
fine tuning through a knowledge
distillation technology to obtain a tourism
route planning model, and outputting a user
preference vector and a candidate scenic spot set according to the tourism
route planning model. And according to a user
preference vector and the candidate scenic spot set, generating a personalized travel route plan through a traditional route optimization
algorithm. According to the method, entity extraction and
knowledge graph dynamic modeling are carried out on the multi-source heterogeneous tourism data, deep semantic understanding and
preference analysis are carried out in combination with a large language model, personalized tourism routes can be provided, and the travel efficiency of users is improved.