Run2 itinerary generation
How to serialize the final travel itinerary to a JSON file.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill run2_itinerary_generationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.8 KB, 164 tokens by cl100k_base, as published. Nobody here has run it
Itinerary Generation Skill
Use python's json module to dump the final itinerary in the required format.
import json
itinerary = {
"plan": [
{
"day": 1,
"current_city": "Minneapolis",
"transportation": "Self-driving: from Minneapolis to Cleveland",
"breakfast": "...",
"lunch": "...",
"dinner": "...",
"attraction": "...",
"accommodation": "..."
}
],
"data_sources": [
"accommodations/clean_accommodations_2022.csv"
]
}
with open('/app/output/itinerary.json', 'w') as f:
json.dump(itinerary, f, indent=2)
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.