Estrategias de iteración de mensajes

El diseño de instrucciones suele requerir algunas iteraciones antes de obtener la respuesta deseada de forma coherente. Tu estrategia de diseño de prompts debe aplicar las prácticas recomendadas de diseño de prompts, con perfeccionamientos incrementales. Puedes ingresar de forma iterativa algunas o todas las prácticas recomendadas cuando pruebes el rendimiento que satisfaga las necesidades de tu caso de uso.

Adicionalmente, el orden del contenido en la instrucción puede afectar la respuesta. Intenta cambiar el orden del contenido y observa cómo cambia la respuesta. Por ejemplo, para los mensajes multimodales, intenta agregar los archivos al mensaje antes de las instrucciones.

A medida que recibas respuestas del modelo, toma nota de los aspectos que te gustan y no te gusten de sus respuestas y modifica tus mensajes para guiar el modelo a las respuestas que mejor se alineen con tus casos de uso.

Ejemplos

En este ejemplo, supongamos que deseas que el modelo escriba el texto de un anuncio para tu producto. Para comenzar, puedes definir el siguiente contenido del mensaje:

  • Objetivo: Crear un texto de un anuncio
  • Contexto:
    • Categorías: escasez, exclusividad
    • Descripción del producto: "Chromecast es un dispositivo que permite a los usuarios transmitir contenido de forma inalámbrica desde otros dispositivos para mirar sus películas, programas de TV, fotos, sitios web y mucho más en la TV favoritos. Chromecast puede mostrar contenido de smartphones y tablets Android, iPhones y iPads, laptops con Windows y Mac, y Chromebook Pixel".
  • Restricciones: Cada respuesta debe constar de dos oraciones o menos.

Experimentar con cómo proporcionas el contenido al modelo puede ayudarte a garantizar que la respuesta del modelo se adapte mejor a tus necesidades. Supongamos que le das al modelo el contenido del mensaje exactamente como está escrito:

Primera iteración
      Create ad copy.

      Categories: scarcity, exclusivity

      Product description: "Chromecast is a device that allows users to wirelessly cast their content from other devices, so they can watch their favorite movies, TV shows, photos, websites, and more on their TV. Chromecast can display content from Android smartphones and tablets, iPhones & iPads, Windows and Mac laptops, and the Chromebook Pixel."

      Constraints: Each response should be two sentences or less.
    
      Scarcity

      *  Time is running out to experience the future of entertainment! Get your Chromecast before they're gone.
      *  Limited quantities available! Don't miss your chance to own the streaming device everyone's talking about.

      Exclusivity

      *  Unlock a world of entertainment with Chromecast. Experience the freedom of streaming like never before.
      *  Upgrade your home entertainment with the exclusive Chromecast device. Join the elite group of cord-cutters who stream smarter.
    

Luego, puedes intentar cambiar el formato del mensaje para ver cómo cambia la respuesta cuando el objetivo del mensaje, las restricciones y parte del contexto se combinan en una sola oración:

Segunda iteración
      Create scarcity and exclusivity-focused ad copy that is less than two sentences.

      Product description: "Chromecast is a device that allows users to wirelessly cast their content from other devices, so they can watch their favorite movies, TV shows, photos, websites, and more on their TV. Chromecast can display content from Android smartphones and tablets, iPhones & iPads, Windows and Mac laptops, and the Chromebook Pixel."
    
      Options for Scarcity & Exclusivity-Driven Chromecast Ads:

      Option 1 (Scarcity): "Limited quantities available! Get your Chromecast today before they're gone and unlock a world of on-demand entertainment."

      Option 2 (Exclusivity): "Experience entertainment like never before. Chromecast: the ultimate upgrade for your TV, available for a limited time."
    

Esta vez, la respuesta del modelo contenía solo una opción de copia para cada categoría. Si te das cuenta de que necesitas al menos dos opciones para cada categoría y que no quieres limitar la longitud de la respuesta, puedes modificar las restricciones e intentar la solicitud:

Tercera iteración
      Create two ad-copies about scarcity and two ad-copies about exclusivity.

      Product description: "Chromecast is a device that allows users to wirelessly cast their content from other devices, so they can watch their favorite movies, TV shows, photos, websites, and more on their TV. Chromecast can display content from Android smartphones and tablets, iPhones & iPads, Windows and Mac laptops, and the Chromebook Pixel."
    
    Scarcity Ad Copies:
    Ad 1:

    Headline: Don't miss out! Chromecast is flying off the shelves!

    Body: Experience the magic of Chromecast before it's too late! Limited quantities are available, so grab yours now and start enjoying your favorite entertainment on the big screen. 

    Ad 2:

    Headline: Last chance! Chromecast is almost sold out.

    Body: Time is running out to get your hands on Chromecast. Upgrade your TV experience today and enjoy seamless streaming from all your devices. Don't wait, supplies are limited!


    Exclusivity Ad Copies:

    Ad 1:

    Headline: Unlock a world of entertainment with the exclusive Chromecast.

    Body: Join the elite group of Chromecast users and experience the future of television. Enjoy effortless streaming, endless entertainment options, and unparalleled convenience. Chromecast: It's not just TV, it's an experience.

    Ad 2:

    Headline: Elevate your home entertainment with the Chromecast advantage.

    Body: Go beyond ordinary TV with Chromecast. Seamlessly stream content from all your devices and enjoy a personalized entertainment experience like no other. Discover the exclusivity of Chromecast today. 
    

En la tercera iteración, la respuesta del modelo contenía los campos de título y cuerpo para la copia del anuncio. En este ejemplo, supongamos que esta respuesta se alinea con los requisitos de texto de tu anuncio.

Ahora que ajustaste el mensaje para obtener una respuesta que se alinee con los requisitos del texto de un anuncio, puedes actualizar y probar el mensaje para asegurarte de que el modelo produzca respuestas con formato similar en el futuro:

Cuarta iteración
      Create two ad-copies about scarcity and two ad-copies about exclusivity.

      Include a headline and body for each ad copy.

      Product description: "Chromecast is a device that allows users to wirelessly cast their content from other devices, so they can watch their favorite movies, TV shows, photos, websites, and more on their TV. Chromecast can display content from Android smartphones and tablets, iPhones & iPads, Windows and Mac laptops, and the Chromebook Pixel."
    
    Scarcity Ads:

    Ad 1:

    Headline: Last Chance! Chromecast is Selling Out Fast
    Body: Get the Chromecast experience before it's gone! Limited quantities remain. Upgrade your TV time today!

    Ad 2:

    Headline: Don't Miss Out! Chromecast Stock is Running Low
    Body: Time is running out to grab your Chromecast. Enjoy seamless streaming on the big screen. Order now while supplies last!

    Exclusivity Ads:

    Ad 1:

    Headline: Unlock the Ultimate Viewing Experience with Chromecast
    Body: Join the elite group of Chromecast users and enjoy unparalleled streaming convenience. Elevate your entertainment today!

    Ad 2:

    Headline: Experience the Future of Entertainment: Get Your Chromecast
    Body: Be among the first to enjoy the cutting-edge technology of Chromecast. Stream anything, anytime, effortlessly.  Upgrade your home entertainment now!
    

Esta vez, la respuesta del modelo es muy similar a la iteración anterior, incluso con las restricciones adicionales, lo que significa que iteraste correctamente en el mensaje.

Como se demuestra en el ejemplo, la iteración de mensajes es una parte integral del proceso de diseño de instrucciones que se puede usar para ayudarte a guiar el modelo para que produzca los mejores resultados para tu caso de uso.

¿Qué sigue?