Indica al modelo que explique su razonamiento

Cuando le indicas al modelo que explique su razonamiento, el modelo responde con los pasos que emplea para resolver el problema. Atravesar este proceso a veces puede mejorar la exactitud y los matices, en especial para las consultas desafiantes.

Los pasos de razonamiento se incluyen como parte de la respuesta. Para analizar los pasos de razonamiento de la respuesta que buscas, puedes especificar un formato de salida con XML o el uso de otros separadores.

Ejemplos

Por ejemplo, supongamos que escribes un blog de cocina y deseas que el modelo te indique cómo los lectores podrían interpretar diferentes partes del blog. Si no le indicas al modelo que explique su razonamiento, la respuesta del modelo podría no ser tan útil como deseas:

No hay razonamiento

    What is the most likely interpretation of this sentence?
    
    The sentence: "The chef seasoned the chicken and put it in the oven because it looked pale."
    

    The chef seasoned the chicken and put it in the oven because it lacked color and needed cooking.
    

Si bien aprendiste cómo el modelo predice la forma en la que los lectores podrían interpretar la oración, podría ser útil que comprendas las predicciones específicas que el modelo realizó para producir la respuesta. Como se demuestra en el siguiente ejemplo, la calidad de la respuesta también puede mejorar:

Explica el razonamiento

    What is the most likely interpretation of this sentence? Explain your reasoning
    
    The sentence: "The chef seasoned the chicken and put it in the oven because it looked pale."
    

      Interpreting "The chef seasoned the chicken and put it in the oven because it looked pale."

      The most likely interpretation is that the chef seasoned the chicken to add flavor and color, then put it in the oven to cook it.

      Here's the reasoning:

      - Seasoning is typically used to enhance the flavor of food. Chefs often use spices, herbs, and other ingredients to make their dishes more appealing.
      - "Pale" suggests the chicken lacked visual appeal before being seasoned. This could imply it was unseasoned or simply lacking color from spices.
      - Putting the chicken in the oven is a common cooking method. The sentence implies the chef's intention is to cook the chicken, not just season it.

      Therefore, the chef's actions are likely aimed at both improving the taste and appearance of the chicken through seasoning and then cooking it in the oven.
    

Otra técnica que puedes usar para mejorar la respuesta del modelo es indicarle al modelo que piense paso a paso y explique su razonamiento. Esto requiere que el modelo divida la entrada en pasos y proporcione el razonamiento que está utilizando para resolver el problema:

Piensa paso a paso

    What is the most likely interpretation of this sentence? Think step by step and print out
    the thinking process.

    Please output in JSON format with final answer in 'answer', and thinking steps in 'think' fields.
    
    The sentence: "The chef seasoned the chicken and put it in the oven because it looked pale."
    

    {
      "answer": "The chef seasoned the chicken to enhance its flavor and put it in the oven to cook it because it appeared to be undercooked.",
      "think": [
        {
          "step": 1,
          "thought": "The chef seasoned the chicken. This suggests that the chef is preparing the chicken for cooking."
        },
        {
          "step": 2,
          "thought": "The chef put the chicken in the oven. This indicates that the chef is cooking the chicken."
        },
        {
          "step": 3,
          "thought": "The sentence states that the chicken looked pale. Pale chicken is often undercooked."
        },
        {
          "step": 4,
          "thought": "Combining these observations, it is most likely that the chef seasoned the chicken to enhance its flavor and put it in the oven to cook it because it appeared to be undercooked."
        }
      ]
    }
    

Cuando se le instruyó al modelo que imprima su proceso de pensamiento, este generó una respuesta más detallada y aprendiste más sobre cómo generó esa respuesta.

¿Qué sigue?