SuperAPI AI Directory

taxi-skill

General & other

View repository

Updated 10-16 08:44

About this skill

Ride-hailing

A set of capabilities for completing trip estimates based on frequent destinations, hailing taxis, and viewing trip status and trip history.

Trigger scenarios

Examples of user utterances (routing hits this skill):

  • "Help me call an express ride to Capital Airport"
  • "How much is it from Wangjing SOHO to Beijing South Railway Station"
  • "I want to take a taxi to Sanlitun"
  • "Where is my car now"
  • "Help me check my current trip"
  • "Show me my previous ride records"
  • "How long does it take by taxi from here to the airport"

Out of scope

  • Booking flight tickets or train tickets → Not within the scope of this skill; handled by the ticketing skill
  • Booking carpool rides, designated drivers, car rentals, etc. → Not within the scope of this skill
  • Viewing bus or subway routes → Not within the scope of this skill
  • Logistics services such as food delivery, errand running, and express delivery → Not within the scope of this skill

Interface chain

  • estimateTrip: Estimate the price and duration of each vehicle type based on the pickup location and destination.
  • callTaxi: After confirming the fare, initiate a ride request and return the ride request status.
  • getTripStatus: Query the status and driver information of the currently ongoing trip.
  • getTripHistory: View historical trip records.

Usage order

  • Before requesting a ride, the pickup location and destination must first be determined; when no address is specified, display the list of frequent destinations to guide the user in selecting one.
  • Before initiating a ride request, a price estimate should first be completed so the user can confirm after understanding the cost of each vehicle type.
  • When viewing trip status, return the current active trip first; call getTripHistory only when the user explicitly asks to view historical records.
  • For all interfaces with bound components, cards should be displayed first; do not change to plain text expanded item by item.