templates.cpython-312.pyc•8.95 kB
�
�gh1 � � � d Z ddlmZ ddlmZmZ ddlmZ ej � de de
defd�� Z ej � d ee d
e defd�� Z
ej � ded
ee defd�� Z ej � ddee dee defd�� Z ej � de
dedefd�� Z ej � defd�� Zy)z>
AI prompt templates for enhanced flight booking interactions
� )�FastMCP)�List�Optional)�mcp�flight_search_criteria�passenger_count�returnc
� � K � d|� d| j d� � d| j d� � d| j d� � d| j d d
� � d�S �w)a
Guide through the entire booking process step by step.
Args:
flight_search_criteria: Dictionary with origin, destination, dates
passenger_count: Number of passengers
Returns:
Structured guidance for booking completion
z/I'll help you complete your flight booking for z8 passenger(s).
Based on your search criteria:
- Route: �origin� → �destinationz
- Departure: �departure_datez
- Return: �return_datezOne-way tripa�
Here's what we'll do:
1. Search for the best flights matching your criteria
2. Compare options based on price, schedule, and amenities
3. Select your preferred flights
4. Enter passenger information
5. Choose seats (optional)
6. Add any extras (baggage, meals, insurance)
7. Complete payment
8. Receive confirmation and boarding passes
Let me start by searching for available flights...)�get)r r s �-/root/flight-sim-mcp/src/prompts/templates.py�complete_bookingr s} � �� � ?��>O� P
� !�
$�
$�X�
.� /�u�5K�5O�5O�P]�5^�4_� `�$�(�(�)9�:�
;� <�!�%�%�m�^�D�
E� F3�6� 6�s �AA�cities�
date_rangec � � K � dj | � }d|� d|j d� � d|j d� � d�S �w)z�
Plan a multi-city trip with optimal connections.
Args:
cities: List of cities to visit
date_range: Start and end dates for the trip
Returns:
Multi-city itinerary planning assistance
r z2I'll help you plan your multi-city trip visiting: z
Trip dates: �startz to �enda�
To create the optimal itinerary, I'll consider:
1. Most efficient routing between cities
2. Minimum connection times
3. Cost optimization
4. Time in each destination
5. Alternative airports if beneficial
Planning approach:
- Check direct flights vs connections
- Compare open-jaw vs round-trip options
- Consider nearby airports for better deals
- Optimize layover times
- Account for time zones
Let me analyze the best routing options for your trip...)�joinr )r r �
cities_strs r �
trip_planningr / sR � �� � ���f�%�J�A�*�� N
�
�^�^�G�
$�%�T�*�.�.��*?�)@� A9�<� <�s �<>�
member_status�upcoming_tripsc � � K � d| � d�S �w)z�
Maximize loyalty program benefits and point earnings.
Args:
member_status: Current loyalty tier
upcoming_trips: List of planned trips
Returns:
Strategy for maximizing loyalty benefits
zAs a a� member, let me help you maximize your loyalty benefits.
I'll analyze your upcoming trips to:
1. Maximize mile earnings
2. Utilize status benefits
3. Identify upgrade opportunities
4. Plan for tier qualification
5. Use companion certificates or free flights
Optimization strategies:
- Book fare classes that earn bonus miles
- Route through hubs for better upgrade chances
- Use partner airlines for additional earnings
- Time bookings for promotions
- Combine cash and miles for best value
Based on your status, you have access to:
- Priority services
- Potential complimentary upgrades
- Lounge access on certain routes
- Bonus mile earnings
Let me review your trips and suggest optimizations...� )r r s r �loyalty_optimizationr T s � �� � �]�O� $6� 9� 9�s � N�assistance_needed�special_requirementsc � �R K � dj | � }d|� d|rd|� �� d�S d� d�S �w)z�
Handle bookings with accessibility requirements.
Args:
assistance_needed: Types of assistance required
special_requirements: Additional special needs
Returns:
Accessible travel planning guidance
z, zMI'll ensure your travel needs are fully accommodated.
Assistance requested: �
zSpecial requirements: � a�
Here's how I'll help:
1. Find flights with appropriate equipment
2. Arrange all necessary assistance
3. Select suitable seating
4. Coordinate with airline accessibility teams
5. Ensure smooth connections
Services available:
- Wheelchair assistance (curb to gate)
- Priority boarding
- Assistance animals accommodation
- Medical equipment handling
- Accessible seating assignments
- Personal safety briefings
Important notes:
- Arrive 3 hours early for smooth processing
- Bring documentation for service animals
- Medical equipment flies free
- Accessibility services are complimentary
Let me search for flights and arrange your assistance...)r )r r! �assistance_strs r �accessibility_bookingr&