OSU-NLP-Group / TravelPlanner

[ICML'24 Spotlight] "TravelPlanner: A Benchmark for Real-World Planning with Language Agents"

Home Page:https://osu-nlp-group.github.io/TravelPlanner/

Repository from Github https://github.comOSU-NLP-Group/TravelPlannerRepository from Github https://github.comOSU-NLP-Group/TravelPlanner

Is it possible to replicate your work without using Google API?

Luyunfei0728 opened this issue · comments

Thank you for your amazing work on this project! I am currently trying to replicate your work but encountered a challenge regarding the use of Google API.
I would like to know:
1.Is it possible to replicate your work without using Google API?
2.If so, could you please provide guidance or alternative steps to achieve this?

Hi,

It's OK to remove Google APIs. Just remove lines 141 - 143 in the file if you don't want to test Google's models.

Flights API loaded.
Accommodations loaded.
Restaurants loaded.
GoogleDistanceMatrix loaded.
Attractions loaded.
PlannerAgent mixtral loaded.
0%| | 0/180 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/mnt/disk1/lyf/git/TravelPlanner/tools/planner/sole_planning.py", line 106, in
reference_information = query_data['reference_information']
KeyError: 'reference_information'

I wanted to inquire about the following error. After checking the data, I confirmed that the specified field does not exist. Has there been an issue with the dataset?
Thank you for your assistance.

The code appears to be working well in my tests. Perhaps the dataset in your cache is corrupted. Could you please redownload the dataset by setting force-redownload?
query_data_list = load_dataset('osunlp/TravelPlanner','validation',download_mode="force_redownload")['validation']