The invention relates to the technical field of
data mining, and provides a
natural language-based
itinerary planning method,
system, device, product and medium, and the method comprises the steps: constructing a point-of-interest
data set; obtaining a
user input text and a double-layer large
language model, and analyzing and finely adjusting the
user input text to obtain user demand parameters; clustering the interest points through the interest
point data set to obtain an initial candidate
list, calculating
cosine similarity to calculate interest point scores of the interest points in the candidate
list, and sorting the initial candidate
list to obtain a middle candidate list; performing inversion exchange to obtain inversion candidate lists, calculating a local optimal
score of each inversion candidate list, and performing cross-clustering replacement to obtain a target candidate list; and generating target candidate lists, calculating comprehensive journey scores, taking the target candidate list with the highest comprehensive journey
score as a journey list, and obtaining a journey plan through the journey list. According to the invention, the user experience of
route planning is effectively improved.