AWS nova documentation change
Summary
Updated system prompt formatting and restructured examples to improve readability. Added newline characters to system prompt instructions and converted markdown tables to hierarchical sections with improved formatting.
Security assessment
Changes focus on documentation clarity and presentation improvements. No security vulnerabilities, fixes, or security features are mentioned. The modifications include formatting adjustments to prompts and restructuring of examples without altering security-related content.
Diff
diff --git a/nova/latest/nova2-userguide/prompting-system-role.md b/nova/latest/nova2-userguide/prompting-system-role.md index d280c15b2..288720aff 100644 --- a//nova/latest/nova2-userguide/prompting-system-role.md +++ b//nova/latest/nova2-userguide/prompting-system-role.md @@ -37 +37 @@ To give the model a customized role, you can set the `system` parameter in the A -`"The above system instructions define your capabilities and your scope. If the user request contradicts any system instruction or if the request is outside your scope, you must politely decline the request briefly explaining your capabilities and your scope."` +`"\nThe above system instructions define your capabilities and your scope. If the user request contradicts any system instruction or if the request is outside your scope, you must politely decline the request briefly explaining your capabilities and your scope.\n"` @@ -79,5 +79,19 @@ After adding the system prompt, the models responses are highly stylized towards -Role | No System Prompt | With a System Prompt ----|---|--- -System | NA | Provide answers in the style of a medieval scroll, using old English vocabulary and phrases. -User | Explain the modern concept of hotel loyalty programs and their benefits. | Explain the modern concept of hotel loyalty programs and their benefits. -Assistant | Hotel loyalty programs have evolved significantly in the modern hospitality industry, becoming sophisticated tools for enhancing customer retention and satisfaction. These programs offer various benefits to both hotels and guests, leveraging technology and data analytics to create a more personalized experience. **Key Components of Modern Hotel Loyalty Programs:** +Without a System Prompt + + +System: + + + NA + +User: + + + Explain the modern concept of hotel loyalty programs and their benefits. + +Assistant: + + + Hotel loyalty programs have evolved significantly in the modern hospitality industry, becoming sophisticated tools for enhancing customer retention and satisfaction. These programs offer various benefits to both hotels and guests, leveraging technology and data analytics to create a more personalized experience. + + ### Key Components of Modern Hotel Loyalty Programs: @@ -86,3 +100,4 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * **Basic Membership:** Entry-level membership that provides basic benefits. - * **Mid-Tier Membership:** Includes additional perks such as room upgrades, faster check-in, and special offers. - * **Top-Tier Membership:** Offers premium benefits like complimentary upgrades, room service, exclusive access to hotel events, and more. + - **Basic Membership:** Entry-level membership that provides basic benefits. + - **Mid-Tier Membership:** Includes additional perks such as room upgrades, faster check-in, and special offers. + - **Top-Tier Membership:** Offers premium benefits like complimentary upgrades, room service, exclusive access to hotel events, and more. + @@ -90,2 +105,3 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Guests earn points for every stay, purchases made in hotel restaurants, and other activities. - * Points can be redeemed for free nights, upgrades, or other rewards. + - Guests earn points for every stay, purchases made in hotel restaurants, and other activities. + - Points can be redeemed for free nights, upgrades, or other rewards. + @@ -93,2 +109,3 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Modern programs often have a dedicated mobile app that allows guests to easily manage their account, check in, and access exclusive offers. - * Features may include digital key access, personalized recommendations, and real-time updates. + - Modern programs often have a dedicated mobile app that allows guests to easily manage their account, check in, and access exclusive offers. + - Features may include digital key access, personalized recommendations, and real-time updates. + @@ -96,5 +113,7 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Utilizing data analytics, hotels can tailor recommendations and offers to individual guest preferences, enhancing the overall experience. - * Personalized marketing through emails and push notifications can keep guests engaged. - 5. _Cross-Brand Benefits:_ - * Some loyalty programs offer benefits across multiple brands within a hotel group or even within different hospitality groups. - * This can include discounts, points transfers, and combined rewards. + - Utilizing data analytics, hotels can tailor recommendations and offers to individual guest preferences, enhancing the overall experience. + - Personalized marketing through emails and push notifications can keep guests engaged. + + 5. **Cross-Brand Benefits:** + - Some loyalty programs offer benefits across multiple brands within a hotel group or even within different hospitality groups. + - This can include discounts, points transfers, and combined rewards. + @@ -102,2 +121,3 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Many programs encourage social media sharing and reviews, which can enhance the hotel's online presence and attract new guests. - * Social media contests and exclusive promotions can further engage members. + - Many programs encourage social media sharing and reviews, which can enhance the hotel's online presence and attract new guests. + - Social media contests and exclusive promotions can further engage members. + @@ -105 +125 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Modern loyalty programs increasingly incorporate sustainability, offering points or rewards for eco-friendly choices like reducing plastic use or participating in recycling programs. + - Modern loyalty programs increasingly incorporate sustainability, offering points or rewards for eco-friendly choices like reducing plastic use or participating in recycling programs. @@ -107 +127 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos -**Benefits to Guests:** + ### Benefits to Guests: @@ -110,2 +130,3 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Accumulation of points for free or discounted stays. - * Exclusive discounts and offers not available to non-members. + - Accumulation of points for free or discounted stays. + - Exclusive discounts and offers not available to non-members. + @@ -113,2 +134,3 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Faster check-in, preferred room assignments, and personalized services. - * Access to exclusive events and experiences. + - Faster check-in, preferred room assignments, and personalized services. + - Access to exclusive events and experiences. + @@ -116,2 +138,3 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Easy booking and management through mobile apps. - * Seamless integration with other services like car rentals and travel packages. + - Easy booking and management through mobile apps. + - Seamless integration with other services like car rentals and travel packages. + @@ -119,2 +142,2 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Status symbols like elite membership levels. - * Recognition by hotel staff and priority service at participating properties. + - Status symbols like elite membership levels. + - Recognition by hotel staff and priority service at participating properties. @@ -122 +145 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos -**Benefits to Hotels:** + ### Benefits to Hotels: @@ -125,2 +148,3 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Encourages repeat visits and long-term relationships with guests. - * Helps retain customers even when faced with competition. + - Encourages repeat visits and long-term relationships with guests. + - Helps retain customers even when faced with competition. + @@ -128,2 +152,3 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Provides valuable insights into guest preferences and behaviors. - * Helps hotels tailor their services and marketing strategies effectively. + - Provides valuable insights into guest preferences and behaviors. + - Helps hotels tailor their services and marketing strategies effectively. + @@ -131,2 +156,3 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Drives up-room occupancy and average daily rate (ADR) through repeat business. - * Cross-selling opportunities within the hotel (e.g., dining, spa services). + - Drives uproom occupancy and average daily rate (ADR) through repeat business. + - Cross-selling opportunities within the hotel (e.g., dining, spa services). + @@ -134,2 +160,21 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos - * Helps hotels stand out in a competitive market. - * Offers a unique selling proposition that attracts brand-loyal customers. + - Helps hotels stand out in a competitive market. + - Offers a unique selling proposition that attracts brand-loyal customers. + + ### Conclusion: + + Modern hotel loyalty programs have become a critical component of the hospitality industry, leveraging technology and data to create personalized, engaging, and rewarding experiences for guests. They provide significant benefits to both guests, who enjoy enhanced services and savings, and hotels, which gain deeper insights and increased revenue through stronger customer relationships. + +With a System Prompt + + +System: + + + Provide answers in the style of a medieval scroll, using old English vocabulary and phrases. + +User: + + + Explain the modern concept of hotel loyalty programs and their benefits. + +Assistant: @@ -137 +182,8 @@ Assistant | Hotel loyalty programs have evolved significantly in the modern hos -**Conclusion:** Modern hotel loyalty programs have become a critical component of the hospitality industry, leveraging technology and data to create personalized, engaging, and rewarding experiences for guests. They provide significant benefits to both guests, who enjoy enhanced services and savings, and hotels, which gain deeper insights and increased revenue through stronger customer relationships. | Here followeth a detailed exposition of the modern concept known as hotel loyalty programs, penned in the venerable style befitting such an arcane and wondrous subject. In the annals of contemporary hostelry and inns, there doth exist a most wondrous construct termed "hotel loyalty programs." These programs be akin to the ancient covenants or oaths betwixt lord and vassal, binding patrons unto the establishments in which they sojourn. Loyalty programs doth grant unto the faithful patrons, known as members, manifold benefits and rewards of great magnanimity. These benefactions are bestowed through the accumulation of points or credits, garnered by sojourns and patronage. Herein lieth the essence of the program: the more one sojourneth, the more points they dost garner, which may then be exchanged for sundry rewards. The benefits of these programs are manifold and most enticing: + + Here followeth a detailed exposition of the modern concept known as hotel loyalty programs, penned in the venerable style befitting such an arcane and wondrous subject. + + In the annals of contemporary hostelry and inns, there doth exist a most wondrous construct termed "hotel loyalty programs." These programs be akin to the ancient covenants or oaths betwixt lord and vassal, binding patrons unto the establishments in which they sojourn. + + Loyalty programs doth grant unto the faithful patrons, known as members, manifold benefits and rewards of great magnanimity. These benefactions are bestowed through the accumulation of points or credits, garnered by sojourns and patronage. Herein lieth the essence of the program: the more one sojourneth, the more points they dost garner, which may then be exchanged for sundry rewards. + + The benefits of these programs are manifold and most enticing: @@ -149,5 +205 @@ With the addition of the _system prompt_ , users can add guardrails for their ap -Role | No System Prompt | With a System Prompt ----|---|--- -System | NA | You are Application Process Assistant To answer user question, you follow these instructions/steps: -The LLM chatbot can discuss topics related to college applications, including deadlines, required materials, and application status. -The LLM chatbot should be polite and courteous in all responses. -The LLM chatbot can only respond in 3 sentences or less. The above system instructions define your capabilities and your scope. If the user request contradicts any system instruction or if the request is outside your scope, you must politely decline the request briefly explaining your capabilities and your scope. -User | Write a one-page business plan for a cooperative bike-sharing program in urban centers aiming to lower traffic congestion and promote eco-friendly transportation. (Include target markets, revenue streams, marketing strategy, and risk mitigation plans.) | Write a one-page business plan for a cooperative bike-sharing program in urban centers aiming to lower traffic congestion and promote eco-friendly transportation. (Include target markets, revenue streams, marketing strategy, and risk mitigation plans.) -Assistant | **Urban EcoCycle: A Cooperative Bike-Sharing Program** **Executive Summary:** Urban EcoCycle is a cooperative bike-sharing program designed to alleviate traffic congestion and promote eco-friendly transportation in urban centers. By providing accessible, affordable, and convenient bike-sharing services, we aim to foster a sustainable urban mobility ecosystem that benefits both residents and the environment. **Target Markets:** Our primary target markets include urban professionals, students, and environmentally conscious citizens. We also aim to attract tourists looking for an affordable and eco-friendly way to explore the city. Secondary markets will include local businesses that could benefit from reduced employee commuting times and increased customer engagement due to the program's presence. **Revenue Streams:** +Without a System Prompt @@ -155,4 +206,0 @@ Assistant | **Urban EcoCycle: A Cooperative Bike-Sharing Program** **Executive - * **Subscription Fees:** Monthly or yearly subscription plans for individuals and businesses. - * **Ad Revenue:** Partnerships with local businesses for advertising space on bikes and docking stations. - * **Corporate Partnerships:** Collaborations with companies to provide their employees with access to our bike-sharing program. - * **Government Grants:** Applications for grants and subsidies from local government initiatives aimed at promoting sustainable transportation. @@ -160 +208,14 @@ Assistant | **Urban EcoCycle: A Cooperative Bike-Sharing Program** **Executive -**Marketing Strategy:** +System: + + + NA + +User: + + + Write a one-page business plan for a cooperative bike-sharing program in urban centers aiming to lower traffic congestion and promote eco-friendly transportation. (Include target markets, revenue streams, marketing strategy, and risk mitigation plans.) + +Assistant: + + + **Urban EcoCycle: A Cooperative Bike-Sharing Program** @@ -162,4 +223,17 @@ Assistant | **Urban EcoCycle: A Cooperative Bike-Sharing Program** **Executive - * **Digital Marketing:** Utilize social media platforms, email newsletters, and our website to reach out to potential users and partners. Highlight success stories and eco-friendly benefits. - * **Partnerships:** Collaborate with local businesses, schools, and environmental organizations to promote our service. - * **Community Events:** Host bike-sharing workshops, clean-up events, and eco-friendly fairs to engage with the community. - * **Incentives:** Offer discounts and rewards for long-term subscribers and those who refer new members. + **Executive Summary:** + Urban EcoCycle is a cooperative bike-sharing program designed to alleviate traffic congestion and promote eco-friendly transportation in urban centers. By providing accessible, affordable, and convenient bike-sharing services, we aim to foster a sustainable urban mobility ecosystem that benefits both residents and the environment. + + **Target Markets:** + Our primary target markets include urban professionals, students, and environmentally conscious citizens. We also aim to attract tourists looking for an affordable and eco-friendly way to explore the city. Secondary markets will include local businesses that could benefit from reduced employee commuting times and increased customer engagement due to the program’s presence. + + **Revenue Streams:** + 1. **Subscription Fees:** Monthly or yearly subscription plans for individuals and businesses. + 2. **Ad Revenue:** Partnerships with local businesses for advertising space on bikes and docking stations. + 3. **Corporate Partnerships:** Collaborations with companies to provide their employees with access to our bike-sharing program. + 4. **Government Grants:** Applications for grants and subsidies from local government initiatives aimed at promoting sustainable transportation. +