Para administradores de sitios

Qué es InLuzBot

Read this page in English

Si encontraste InLuzBot en los registros de tu servidor, esta página es para ti. InLuzBot es el programa con el que InLuz, un tutor de estudio con inteligencia artificial para estudiantes en México, lee páginas web públicas cuando una pregunta de estudio lo necesita. Se identifica con este agente de usuario:

InLuzBot/1.0 (+https://inluz.ai/bot; soporte@inluz.ai)

Cuándo visita tu sitio

InLuzBot no recorre la web ni arma un índice de sitios. Cuando un estudiante hace una pregunta que necesita fuentes de internet, InLuz hace una búsqueda web y abre como máximo 3 de los resultados para leerlos.

Para no pedirte la misma página por cada estudiante, InLuz guarda una copia del texto que extrajo de ella y la usa durante un máximo de 7 días. Los fragmentos que ya aparecieron como fuente en la respuesta a un estudiante se quedan en esa conversación.

El mismo agente de usuario aparece en las búsquedas y descargas de fotos de dominio público que InLuz hace en Wikimedia Commons, la NASA y el Art Institute of Chicago para el proyecto de un estudiante. Esas peticiones van directo a los servicios de cada catálogo y no consultan robots.txt. Si administras uno de ellos, escríbenos a soporte@inluz.ai.

Qué lee y qué no hace

  • Pide las páginas con peticiones GET, sólo por http o https y en los puertos 80 y 443.
  • Sigue hasta 3 redirecciones. Si la respuesta final no es un 200, no lee nada.
  • Sólo lee respuestas de tipo text/html, application/xhtml+xml o text/plain. Cualquier otro formato, como un PDF o una imagen, no lo lee.
  • Espera como máximo 2.5 segundos por página, y si una página pasa de 1 MB corta la descarga y la descarta.
  • No ejecuta JavaScript, no inicia sesión, no envía formularios, no resuelve CAPTCHAs y no intenta saltarse un muro de pago: lee lo que tu servidor entrega a esa petición y se queda con el texto principal.

Cómo bloquearlo

Antes de pedir una página, InLuzBot descarga el robots.txt de su sitio y no la pide si las reglas para InLuzBot lo prohíben. Para cerrarle todo tu sitio, agrega esto a tu robots.txt:

robots.txt
User-agent: InLuzBot
Disallow: /
  • Para cerrar sólo una parte, cambia la / por esa ruta, por ejemplo Disallow: /privado/.
  • Dentro de un grupo gana la primera regla que coincide, en el orden en que aparecen en el archivo, no la más específica. Si tu grupo empieza con Allow: /, pon las líneas Disallow antes.
  • Cada regla se lee como el comienzo de una ruta y sin comodines: Disallow: /* no bloquea nada, así que usa Disallow: /.
  • En User-agent escribe sólo InLuzBot: con la línea completa del registro (InLuzBot/1.0 …) la regla no aplica.
  • Sólo tiene en cuenta las líneas User-agent, Allow y Disallow; no lee Crawl-delay.
  • Si tu robots.txt ya cierra el sitio a todos con User-agent: * y Disallow: /, eso también vale para InLuzBot, salvo que le dediques un grupo propio.
  • La consulta se hace con la dirección que salió en la búsqueda. Si esa dirección redirige, InLuzBot no vuelve a consultar el robots.txt del destino.
  • InLuzBot recuerda el robots.txt de cada sitio hasta 24 horas, así que un cambio puede tardar ese tiempo en aplicarse.
  • Si InLuzBot no logra leer tu robots.txt, actúa como si no hubiera reglas y también recuerda ese resultado hasta 24 horas. Eso pasa cuando falla la conexión, cuando no responde en 1.5 segundos, cuando no lo entrega directamente con un 200 (una redirección, por ejemplo de http a https o hacia www, cuenta como no entregado), cuando no llega con uno de los tres tipos de contenido de arriba o cuando pasa de 200 KB. Lo seguro es servirlo directo, con un 200 y como text/plain, en cada dominio y protocolo por el que se llegue a tu sitio, también en los que redirigen.
  • La copia que InLuz guarda para no volver a pedir la página se sigue usando hasta que caduca, como máximo 7 días después de leerla. Los fragmentos que ya aparecieron como fuente en la respuesta a un estudiante se quedan en esa conversación.

Cómo hablar con una persona

Si InLuzBot te causa algún problema o tienes una pregunta, escríbenos a soporte@inluz.ai. Te contesta una persona del equipo. Si puedes, incluye tu dominio y la fecha aproximada de las visitas.


In English

InLuzBot is the page reader of InLuz, an AI study tutor for students in Mexico. It reads public web pages when a study question needs them, and identifies itself with this user agent:

InLuzBot/1.0 (+https://inluz.ai/bot; soporte@inluz.ai)

When it visits

InLuzBot does not crawl the web or build an index of sites. When a student asks a question that needs sources from the internet, InLuz runs a web search and opens at most 3 of the results to read them.

So that the same page is not requested again for every student, InLuz keeps a copy of the text it extracted and reuses it for up to 7 days. Passages already quoted as a source in a student's answer stay in that conversation.

The same user agent is sent when InLuz searches for and downloads public-domain photos from Wikimedia Commons, NASA and the Art Institute of Chicago for a student's project. Those requests go straight to each catalogue's services and do not check robots.txt. If you run one of them, write to soporte@inluz.ai.

What it reads

  • GET requests only, over http or https, on ports 80 and 443.
  • It follows up to 3 redirects. If the final response is not a 200, it reads nothing.
  • It only reads text/html, application/xhtml+xml and text/plain responses. Any other format, such as a PDF or an image, is not read.
  • It waits at most 2.5 seconds per page, and if a page is larger than 1 MB it stops the download and drops it.
  • It does not run JavaScript, log in, submit forms, solve CAPTCHAs or try to get around paywalls: it reads what your server returns to that request and keeps the main text.

How to block it

Before requesting a page, InLuzBot fetches that site's robots.txt and skips the page if the rules for InLuzBot disallow it. To block your whole site, add this to your robots.txt:

robots.txt
User-agent: InLuzBot
Disallow: /
  • To block only part of your site, replace the / with that path, for example Disallow: /private/.
  • Within a group the first matching rule wins, in the order the rules appear in the file, not the most specific one. If your group starts with Allow: /, put the Disallow lines before it.
  • Rules are matched as path prefixes, without wildcards: Disallow: /* blocks nothing, so use Disallow: /.
  • In User-agent write just InLuzBot: the full line from your logs (InLuzBot/1.0 …) does not match.
  • Only the User-agent, Allow and Disallow lines are read; Crawl-delay is not.
  • A User-agent: * group that disallows everything applies to InLuzBot as well, unless you give it a group of its own.
  • The check uses the address returned by the search. If that address redirects, the robots.txt of the destination is not checked again.
  • Your robots.txt is remembered for up to 24 hours, so a change can take that long to apply.
  • If InLuzBot cannot read your robots.txt, it treats the site as having no rules and remembers that for up to 24 hours too. That happens when the connection fails, when there is no answer within 1.5 seconds, when it is not served directly with a 200 (a redirect, for example from http to https or to www, counts as not served), when it does not come with one of the three content types above, or when it is larger than 200 KB. To be safe, serve it directly, with a 200 and as text/plain, on every domain and protocol your site can be reached on, including the ones that redirect.
  • The copy InLuz keeps so it does not request the page again is reused until it expires, at most 7 days after it was read. Passages already quoted as a source in a student's answer stay in that conversation.

Contact

Write to soporte@inluz.ai. A person on the team will reply. If you can, include your domain and the approximate date of the visits.

Volver al inicio