Summarizer 2: PDF Book Article Web Text Code Image

Summarizer 2: PDF Book Article Web Text Code Image · Acciones GPT

Widenex Diagram

This is the Widenex API documentation, ready for Diagram reading

  • POST /diagram/renderCreate a diagram
Esquema original API
{
  "openapi": "3.1.0",
  "paths": {
    "/diagram/render": {
      "post": {
        "operationId": "CreateDiagramOp",
        "x-openai-isConsequential": false,
        "summary": "Create a diagram",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDiagramDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The diagram has been created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "The url of the diagram"
                    },
                    "recommendations": {
                      "type": "array",
                      "description": "Urls of related diagrams. Do not embed as image, but as url linked to the title",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "The gpt is not authenticated with a valid Bearer secret"
          }
        }
      }
    }
  },
  "info": {
    "title": "Widenex Diagram",
    "description": "This is the Widenex API documentation, ready for Diagram reading",
    "version": "1.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "api",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://diagrams-api.widenex.com",
      "description": "Diagram Creator on Widenex"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "plain",
        "type": "apiKey",
        "name": "Authorization"
      }
    },
    "schemas": {
      "CreateDiagramDto": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of the diagram",
            "example": "Napoleon Bonaparte"
          },
          "isPublic": {
            "type": "boolean",
            "description": "If the information of the diagram can be public so other users can find it using the search engine. False if you use any user private information or any other information that is not public, such as content extracted files (eg, pdf) or websites. True if the diagram uses content that you already knowed it and does NOT contain any user private information",
            "example": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The tags of the diagram",
            "example": [
              "History",
              "France",
              "Biography",
              "Military",
              "Leadership",
              "Europe",
              "Revolution",
              "Empire",
              "Strategy",
              "Politics",
              "War",
              "19th Century",
              "Exile"
            ]
          },
          "language": {
            "type": "string",
            "description": "Diagram language",
            "enum": [
              "es",
              "en",
              "fr",
              "de",
              "it",
              "pt",
              "ru",
              "zh",
              "ja",
              "ko",
              "ar",
              "hi",
              "nl",
              "sv",
              "no",
              "da",
              "fi",
              "pl",
              "cs",
              "tr"
            ],
            "example": "en"
          },
          "text": {
            "type": "string",
            "description": "The mermaid diagram text",
            "example": "graph LR\n A[Napoleon Bonaparte]\n A -->|Born| B[1769 in Corsica]\n A -->|Joined| C[French Army]\n A -->|Rose to power| D[1799 Coup]\n D -->|Crowned| E[1804 Emperor]\n E -->|Expanded empire| F[Conquests across Europe]\n F -->|Defeated at| G[1815 Waterloo]\n G -->|Exiled to| H[St. Helena]\n H -->|Died| I[1821]"
          }
        },
        "required": [
          "title",
          "isPublic",
          "tags",
          "language",
          "text"
        ]
      }
    }
  }
}

Widenex Flashcards

This is the Widenex Flashcards API documentation, ready for Flashcard session creation

  • POST /sessionCreate a flashcard session
Esquema original API
{
  "openapi": "3.1.0",
  "paths": {
    "/session": {
      "post": {
        "operationId": "CreateFlashcardsOp",
        "x-openai-isConsequential": false,
        "summary": "Create a flashcard session",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSessionDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The session has been created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "The message"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "The gpt is not authenticated with a valid Bearer secret"
          }
        }
      }
    }
  },
  "info": {
    "title": "Widenex Flashcards",
    "description": "This is the Widenex Flashcards API documentation, ready for Flashcard session creation",
    "version": "1.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "api",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://flashcards-api.widenex.com",
      "description": "Flashcards Creator on Widenex"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "plain",
        "type": "apiKey",
        "name": "Authorization"
      }
    },
    "schemas": {
      "CreateSessionDto": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of the topic to study",
            "example": "Capitals of Europe"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The tags of the topic to study",
            "example": [
              "Europe",
              "Geography",
              "Capitals",
              "Cities",
              "Countries"
            ]
          },
          "language": {
            "type": "string",
            "description": "Language of the flashcards",
            "enum": [
              "es",
              "en",
              "fr",
              "de",
              "it",
              "pt",
              "ru",
              "zh",
              "ja",
              "ko",
              "ar",
              "hi",
              "nl",
              "sv",
              "no",
              "da",
              "fi",
              "pl",
              "cs",
              "tr"
            ],
            "example": "en"
          },
          "flashcards": {
            "description": "An array of flashcards",
            "example": [
              "What is the capital of France? {Paris}",
              "What is the capital of Germany? {Berlin}",
              "What is the capital of Italy? {Rome}"
            ],
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "title",
          "tags",
          "language",
          "flashcards"
        ]
      }
    }
  }
}

Questions

This is the Questions API documentation, ready for Question session creation

  • POST /sessionCreateQuestionsOp
Esquema original API
{
  "openapi": "3.1.0",
  "paths": {
    "/session": {
      "post": {
        "operationId": "CreateQuestionsOp",
        "x-openai-isConsequential": false,
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSessionDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": ""
          }
        }
      }
    }
  },
  "info": {
    "title": "Questions",
    "description": "This is the Questions API documentation, ready for Question session creation",
    "version": "1.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "api",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://questions-api.widenex.com",
      "description": "Questions Creator"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "plain",
        "type": "apiKey",
        "name": "Authorization"
      }
    },
    "schemas": {
      "Question": {
        "type": "object",
        "properties": {
          "enunciate": {
            "type": "string",
            "description": "The statement of the question",
            "example": "What is the capital of France?"
          },
          "options": {
            "description": "The available options for the question",
            "example": [
              "Paris",
              "London",
              "Rome",
              "Berlin"
            ],
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "answer": {
            "type": "number",
            "description": "The index of the correct answer in the options array",
            "example": 0
          }
        },
        "required": [
          "enunciate",
          "options",
          "answer"
        ]
      },
      "CreateSessionDto": {
        "type": "object",
        "properties": {
          "questions": {
            "description": "Array of questions for the session",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Question"
            }
          }
        },
        "required": [
          "questions"
        ]
      }
    }
  }
}

Quanthium index

This is the Quanthium index API documentation, ready for index session creation

  • POST /sessionCreate a learning index for a study session
Esquema original API
{
  "openapi": "3.1.0",
  "paths": {
    "/session": {
      "post": {
        "operationId": "CreateIndexOp",
        "x-openai-isConsequential": false,
        "summary": "Create a learning index for a study session",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSessionDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The index has been created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "The message"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "The gpt is not authenticated with a valid Bearer secret"
          }
        }
      }
    }
  },
  "info": {
    "title": "Quanthium index",
    "description": "This is the Quanthium index API documentation, ready for index session creation",
    "version": "1.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "api",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://index-api.widenex.com",
      "description": "index Creator on Widenex"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "plain",
        "type": "apiKey",
        "name": "Authorization"
      }
    },
    "schemas": {
      "SectionDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "Arrhythmias"
          },
          "topics": {
            "description": "List of topics under this section",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "name",
          "topics"
        ]
      },
      "CreateSessionDto": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Session title",
            "example": "Cardiology"
          },
          "tags": {
            "type": "array",
            "description": "Tags to categorize the session",
            "example": [
              "health",
              "medicine",
              "heart",
              "specialty"
            ],
            "items": {
              "type": "string"
            }
          },
          "sections": {
            "description": "List of categories with their respective subcategories",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SectionDto"
            }
          }
        },
        "required": [
          "title",
          "tags",
          "sections"
        ]
      }
    }
  }
}

Widenex Table

This is the Widenex Table API documentation, ready for Table reading

  • POST /table/renderCreate a table
Esquema original API
{
  "openapi": "3.1.0",
  "paths": {
    "/table/render": {
      "post": {
        "operationId": "DynamicTableOp",
        "x-openai-isConsequential": false,
        "summary": "Create a table",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTableDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The table has been created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "The url of the table"
                    },
                    "relatedTables": {
                      "type": "array",
                      "description": "Urls of related tables",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "The gpt is not authenticated with a valid Bearer secret"
          }
        }
      }
    }
  },
  "info": {
    "title": "Widenex Table",
    "description": "This is the Widenex Table API documentation, ready for Table reading",
    "version": "1.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "api",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://tables-api.widenex.com",
      "description": "Table Creator on Widenex"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "plain",
        "type": "apiKey",
        "name": "Authorization"
      }
    },
    "schemas": {
      "CreateTableDto": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of the table",
            "example": "Napoleon Bonaparte"
          },
          "isPublic": {
            "type": "boolean",
            "description": "If the information of the table can be public so other users can find it using the search engine. False if you use any user private information or any other information that is not public, such as content extracted files (eg, pdf) or websites. True if the table uses content that you already knowed it and does NOT contain any user private information",
            "example": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The tags of the table",
            "example": [
              "History",
              "France",
              "Biography",
              "Military",
              "Leadership",
              "Europe",
              "Revolution",
              "Empire",
              "Strategy",
              "Politics",
              "War",
              "19th Century",
              "Exile"
            ]
          },
          "language": {
            "type": "string",
            "description": "Table language",
            "enum": [
              "es",
              "en",
              "fr",
              "de",
              "it",
              "pt",
              "ru",
              "zh",
              "ja",
              "ko",
              "ar",
              "hi",
              "nl",
              "sv",
              "no",
              "da",
              "fi",
              "pl",
              "cs",
              "tr"
            ],
            "example": "en"
          },
          "text": {
            "type": "string",
            "description": "The table in markdown format",
            "example": "| Aspecto | Descripción |\n|:--------|:------------|\n| Causas | Hipertensión, Enfermedad Coronaria, Valvulopatías |\n| Síntomas | Palpitaciones, Fatiga, Mareos |\n| Complicaciones | Accidente Cerebrovascular, Insuficiencia Cardíaca |\n| Tratamiento | Control del Ritmo, Control de la Frecuencia, Anticoagulación |"
          }
        },
        "required": [
          "title",
          "isPublic",
          "tags",
          "language",
          "text"
        ]
      }
    }
  }
}

Widenex Microlearning

This is the Widenex microlearning API documentation, ready for microlearning session creation

  • POST /sessionCreateLectureOp
Esquema original API
{
  "openapi": "3.1.0",
  "paths": {
    "/session": {
      "post": {
        "operationId": "CreateLectureOp",
        "x-openai-isConsequential": false,
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSessionDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": ""
          }
        }
      }
    }
  },
  "info": {
    "title": "Widenex Microlearning",
    "description": "This is the Widenex microlearning API documentation, ready for microlearning session creation",
    "version": "1.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "api",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://microlearning-api.widenex.com",
      "description": "Microlearning Creator on Widenex"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "plain",
        "type": "apiKey",
        "name": "Authorization"
      }
    },
    "schemas": {
      "MicrolearningDto": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of the microlearning"
          },
          "chunks": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The chunks of the microlearning, with data to be learned in"
          }
        },
        "required": [
          "title",
          "chunks"
        ]
      },
      "CreateSessionDto": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of the table",
            "example": "Colitis ulcerosa"
          },
          "isPublic": {
            "type": "boolean",
            "description": "If the information of the lecture can be public so other users can find it using the search engine. False if you use any user private information or any other information that is not public, such as content extracted files (eg, pdf) or websites. True if the table uses content that you already knowed it and does NOT contain any user private information",
            "example": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The tags of the lecture",
            "example": [
              "Medicina",
              "Digestivo",
              "Colitis",
              "Intestino",
              "Colon",
              "Recto",
              "Inflamación",
              "Enfermedad"
            ]
          },
          "language": {
            "type": "string",
            "description": "Table language",
            "enum": [
              "es",
              "en",
              "fr",
              "de",
              "it",
              "pt",
              "ru",
              "zh",
              "ja",
              "ko",
              "ar",
              "hi",
              "nl",
              "sv",
              "no",
              "da",
              "fi",
              "pl",
              "cs",
              "tr"
            ],
            "example": "es"
          },
          "microlearnings": {
            "description": "An array of microlearning objects with title and chunks. Chunks should always have the data to memorize within **",
            "example": [
              {
                "title": "Definición",
                "chunks": [
                  "Es una **enfermedad inflamatoria intestinal crónica** de **etiología desconocida**.",
                  "Afecta exclusivamente la **mucosa del colon y el recto**, a diferencia de otras enfermedades inflamatorias intestinales.",
                  "La inflamación es **continua y difusa**, a diferencia de la **afectación parcheada** de la enfermedad de Crohn."
                ]
              },
              {
                "title": "Epidemiología",
                "chunks": [
                  "Más frecuente en **países occidentales**, con una mayor incidencia en **Europa y Norteamérica**.",
                  "Pico de incidencia entre **15-30 años** y otro entre **50-70 años**.",
                  "Predominio en **mujeres** en algunos estudios, aunque la diferencia es leve.",
                  "Afecta más a personas de **origen caucásico** y judíos asquenazíes."
                ]
              },
              {
                "title": "Etiología",
                "chunks": [
                  "Existe una **predisposición genética**, con mayor riesgo si hay **antecedentes familiares**.",
                  "Factores ambientales pueden influir, como **dieta, microbiota y uso de antibióticos**.",
                  "El **tabaquismo** parece tener un **efecto protector**, a diferencia de su impacto negativo en Crohn.",
                  "Se han implicado alteraciones en la **respuesta inmune** y la **barrera epitelial intestinal**."
                ]
              },
              {
                "title": "Fisiopatología",
                "chunks": [
                  "Predominio de **respuesta inmune Th2** con producción elevada de **IL-13 y TNF-α**.",
                  "Disrupción de la **barrera epitelial**, facilitando la entrada de **antígenos luminales**.",
                  "Presencia de **p-ANCA positivo** en hasta **70% de los pacientes**.",
                  "Alteración de la **microbiota intestinal**, con reducción de **bacterias protectoras**."
                ]
              },
              {
                "title": "Clínica",
                "chunks": [
                  "Síntomas más comunes: **diarrea sanguinolenta, dolor abdominal y urgencia defecatoria**.",
                  "Puede haber **tenesmo rectal**, fiebre y pérdida de peso en casos graves.",
                  "Curso **remitente-recurrente**, con **brotes de actividad** y **periodos de remisión**.",
                  "El **brotes severo** se define por más de **6 deposiciones sanguinolentas/día**, fiebre y taquicardia."
                ]
              },
              {
                "title": "Clasificación",
                "chunks": [
                  "Según la extensión: **proctitis, colitis izquierda o pancolitis**.",
                  "Según la gravedad: **leve, moderada o grave**, dependiendo de la frecuencia de síntomas.",
                  "La **colitis fulminante** es la forma más grave y puede requerir **colectomía urgente**."
                ]
              },
              {
                "title": "Diagnóstico",
                "chunks": [
                  "Se basa en **clínica, colonoscopia con biopsia** y exclusión de **infecciones**.",
                  "Hallazgos endoscópicos: **eritema, friabilidad, ulceraciones y pérdida del patrón vascular**.",
                  "Histología: **infiltrado inflamatorio en la mucosa, abscesos crípticos y atrofia glandular**.",
                  "Marcadores útiles: **calprotectina fecal elevada** y **p-ANCA positivo** en muchos casos.",
                  "En casos dudosos, la **resonancia magnética** o la **enterografía por TC** pueden ayudar a diferenciar de Crohn."
                ]
              },
              {
                "title": "Complicaciones",
                "chunks": [
                  "El **megacolon tóxico** es una urgencia médica con dilatación del colon y riesgo de perforación.",
                  "Mayor riesgo de **cáncer colorrectal**, especialmente en pancolitis de larga evolución.",
                  "Puede haber **hemorragia digestiva** y **perforación colónica** en casos graves.",
                  "Asociación con **colangitis esclerosante primaria**, que aumenta el riesgo de colangiocarcinoma."
                ]
              },
              {
                "title": "Tratamiento",
                "chunks": [
                  "Primera línea en formas leves: **5-ASA (mesalazina)**.",
                  "En brotes moderados-graves, se usan **corticoides sistémicos** para inducir remisión.",
                  "Casos refractarios: **inmunomoduladores (azatioprina, 6-MP)** o **biológicos (anti-TNF, anti-integrinas).**",
                  "En enfermedad grave refractaria: **ciclosporina o tofacitinib**.",
                  "La **colectomía** es una opción en **casos graves, displasia o falta de respuesta**."
                ]
              },
              {
                "title": "Pronóstico y seguimiento",
                "chunks": [
                  "Mayor riesgo de **cáncer colorrectal**, requiere **cribado endoscópico** periódico.",
                  "Factores de mal pronóstico: **inicio temprano, afectación extensa y brotes graves frecuentes**.",
                  "Colonoscopias cada **1-2 años** tras **8 años de evolución** en pancolitis.",
                  "El uso de **5-ASA** puede reducir el riesgo de **displasia** y **cáncer**.",
                  "La **colectomía** puede curar la enfermedad, pero con impacto en **calidad de vida**."
                ]
              },
              {
                "title": "Manifestaciones extraintestinales",
                "chunks": [
                  "Frecuentes en la enfermedad: **artritis, uveítis, eritema nodoso y pioderma gangrenoso**.",
                  "Mayor riesgo de **trombosis venosa profunda y embolia pulmonar**.",
                  "Asociación con **colangitis esclerosante primaria**, que aumenta el riesgo de colangiocarcinoma.",
                  "La **osteoporosis** puede aparecer por uso crónico de corticoides."
                ]
              },
              {
                "title": "Aspectos adicionales",
                "chunks": [
                  "El **estrés y la dieta** pueden influir en la **severidad de los síntomas**, pero no son **causas directas**.",
                  "El diagnóstico diferencial incluye **infecciones intestinales, enfermedad de Crohn y síndrome de intestino irritable**.",
                  "Los **probióticos y cambios dietéticos** pueden ayudar, pero no reemplazan el tratamiento estándar.",
                  "El uso prolongado de **corticoides** puede causar **osteoporosis, hipertensión y diabetes**."
                ]
              }
            ],
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MicrolearningDto"
            }
          }
        },
        "required": [
          "title",
          "isPublic",
          "tags",
          "language",
          "microlearnings"
        ]
      }
    }
  }
}