Copia este prompt en nuestra Consola para desarrolladores para probarlo tú mismo.

Contenido
SystemTu tarea es revisar las notas de reunión proporcionadas y crear un resumen conciso que capture la información esencial, centrándote en las conclusiones clave y los elementos de acción asignados a personas o departamentos específicos durante la reunión. Utiliza un lenguaje claro y profesional, y organiza el resumen de manera lógica utilizando un formato apropiado como encabezados, subencabezados y viñetas. Asegúrate de que el resumen sea fácil de entender y proporcione una visión general completa pero sucinta del contenido de la reunión, con un enfoque particular en indicar claramente quién es responsable de cada elemento de acción.
UserMeeting notes:

Date: Verona, Italy - Late 16th century

Attendees:
- Lord Capulet (Head of the Capulet family)
- Lord Montague (Head of the Montague family)
- Prince Escalus (Ruler of Verona)
- Friar Laurence (Religious advisor)

Agenda:
1. Address the ongoing feud between the Capulet and Montague families
2. Discuss the secret marriage of Romeo Montague and Juliet Capulet
3. Develop a plan to bring peace to Verona
4. Address the tragic deaths of Romeo and Juliet

Discussion:
- Prince Escalus opened the meeting by expressing his grave concern over the long-standing feud between the Capulet and Montague families. He admonished both Lord Capulet and Lord Montague for the recent violent clashes that have disturbed the peace in Verona’s streets. The Prince warned that further violence would result in severe consequences, including heavy fines and potential exile for the perpetrators.
- Friar Laurence then broached the topic of the between Romeo Montague and Juliet Capulet, which had taken place under his guidance. Lord Capulet and Lord Montague evidently had not known about it, and reacted with anger and disbelief. However, Friar Laurence urged them to consider the profound and tragic love shared by their children and the potential for this love to heal the rift between the families going forward.
- Prince Escalus proposed a formal truce between the Capulet and Montague families. He demanded that both sides lay down their arms and cease all hostile actions against one another. The Prince declared that any violation of the truce would result in severe punishments, including the possibility of exile or even execution. Lord Capulet and Lord Montague, recognizing the wisdom in the Prince’s words and the necessity of peace for the well-being of their families and the city, grudgingly agreed to the terms of the truce.
- The meeting took a somber turn as the tragic deaths of Romeo and Juliet were addressed. Friar Laurence recounted the unfortunate series of events that led to the young lovers taking their own lives, emphasizing the devastating impact of the families’ hatred on their innocent children. Lord Capulet and Lord Montague, overcome with grief and remorse, acknowledged that their blind hatred had ultimately caused the loss of their beloved children.
- Prince Escalus called upon the families to learn from this heartbreaking tragedy and to embrace forgiveness and unity in honor of Romeo and Juliet’s memory. He urged them to work together to create a lasting peace in Verona, setting aside their long-standing animosity. Friar Laurence offered his support in mediating any future disputes and providing spiritual guidance to help the families heal and move forward.
- As the meeting drew to a close, Lord Capulet and Lord Montague pledged to put an end to their feud and work towards reconciliation. Prince Escalus reaffirmed his commitment to ensuring that the truce would be upheld, promising swift justice for any who dared to break it.
- The attendees agreed to meet regularly to discuss the progress of their reconciliation efforts and to address any challenges that may arise.

Ejemplo de salida

Resumen de la reunión: Reconciliación y paz en Verona Fecha: Finales del siglo XVI, Verona, Italia

Asistentes:

  • Lord Capulet (Jefe de la familia Capulet)
  • Lord Montague (Jefe de la familia Montague)
  • Príncipe Escalus (Gobernante de Verona)
  • Fray Laurence (Consejero religioso)

Conclusiones clave:

  • El Príncipe Escalus abordó la disputa continua entre las familias Capulet y Montague, advirtiendo de graves consecuencias por más violencia.
  • Fray Laurence reveló el matrimonio secreto entre Romeo Montague y Julieta Capulet, instando a las familias a considerar el potencial de su amor para sanar la división.
  • El Príncipe Escalus propuso una tregua formal entre las familias, amenazando con severos castigos por cualquier violación.
  • Se discutieron las trágicas muertes de Romeo y Julieta, con Lord Capulet y Lord Montague reconociendo su papel en el desgarrador desenlace.
  • El Príncipe Escalus pidió perdón y unidad en honor a la memoria de Romeo y Julieta, instando a las familias a trabajar juntas por una paz duradera en Verona.

Elementos de acción:

  • Lord Capulet y Lord Montague:
    • Deponer las armas y cesar todas las acciones hostiles entre ellos.
    • Trabajar hacia la reconciliación y abrazar el perdón.
    • Asistir a reuniones regulares para discutir el progreso y abordar desafíos.
  • Príncipe Escalus:
    • Hacer cumplir la tregua y asegurar su adhesión.
    • Administrar justicia rápida para cualquier violación de la tregua.
  • Fray Laurence:
    • Proporcionar mediación y guía espiritual para apoyar a las familias en su proceso de sanación y reconciliación.

Próximos pasos:

  • Los asistentes se reunirán regularmente para monitorear el progreso de los esfuerzos de reconciliación y abordar cualquier desafío que pueda surgir.

Solicitud de API

import anthropic

client = anthropic.Anthropic(
    # defaults to os.environ.get("ANTHROPIC_API_KEY")
    api_key="my_api_key",
)
message = client.messages.create(
    model="claude-opus-4-20250514",
    max_tokens=4000,
    temperature=0.5,
    system="Your task is to review the provided meeting notes and create a concise summary that captures the essential information, focusing on key takeaways and action items assigned to specific individuals or departments during the meeting. Use clear and professional language, and organize the summary in a logical manner using appropriate formatting such as headings, subheadings, and bullet points. Ensure that the summary is easy to understand and provides a comprehensive but succinct overview of the meeting's content, with a particular focus on clearly indicating who is responsible for each action item.",
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "Meeting notes:  \n  \nDate: Verona, Italy - Late 16th century  \n  \nAttendees:  \n- Lord Capulet (Head of the Capulet family)  \n- Lord Montague (Head of the Montague family)  \n- Prince Escalus (Ruler of Verona)  \n- Friar Laurence (Religious advisor)  \n  \nAgenda:  \n1. Address the ongoing feud between the Capulet and Montague families  \n2. Discuss the secret marriage of Romeo Montague and Juliet Capulet  \n3. Develop a plan to bring peace to Verona  \n4. Address the tragic deaths of Romeo and Juliet  \n  \nDiscussion:  \n- Prince Escalus opened the meeting by expressing his grave concern over the long-standing feud between the Capulet and Montague families. He admonished both Lord Capulet and Lord Montague for the recent violent clashes that have disturbed the peace in Verona's streets. The Prince warned that further violence would result in severe consequences, including heavy fines and potential exile for the perpetrators.  \n- Friar Laurence then broached the topic of the between Romeo Montague and Juliet Capulet, which had taken place under his guidance. Lord Capulet and Lord Montague evidently had not known about it, and reacted with anger and disbelief. However, Friar Laurence urged them to consider the profound and tragic love shared by their children and the potential for this love to heal the rift between the families going forward.  \n- Prince Escalus proposed a formal truce between the Capulet and Montague families. He demanded that both sides lay down their arms and cease all hostile actions against one another. The Prince declared that any violation of the truce would result in severe punishments, including the possibility of exile or even execution. Lord Capulet and Lord Montague, recognizing the wisdom in the Prince's words and the necessity of peace for the well-being of their families and the city, grudgingly agreed to the terms of the truce.  \n- The meeting took a somber turn as the tragic deaths of Romeo and Juliet were addressed. Friar Laurence recounted the unfortunate series of events that led to the young lovers taking their own lives, emphasizing the devastating impact of the families' hatred on their innocent children. Lord Capulet and Lord Montague, overcome with grief and remorse, acknowledged that their blind hatred had ultimately caused the loss of their beloved children.  \n- Prince Escalus called upon the families to learn from this heartbreaking tragedy and to embrace forgiveness and unity in honor of Romeo and Juliet's memory. He urged them to work together to create a lasting peace in Verona, setting aside their long-standing animosity. Friar Laurence offered his support in mediating any future disputes and providing spiritual guidance to help the families heal and move forward.  \n- As the meeting drew to a close, Lord Capulet and Lord Montague pledged to put an end to their feud and work towards reconciliation. Prince Escalus reaffirmed his commitment to ensuring that the truce would be upheld, promising swift justice for any who dared to break it.  \n- The attendees agreed to meet regularly to discuss the progress of their reconciliation efforts and to address any challenges that may arise."
                }
            ]
        }
    ]
)
print(message.content)