Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-plugin-bluehost domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/spotsail/public_html/martra/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home1/spotsail/public_html/martra/wp-includes/functions.php:6114) in /home1/spotsail/public_html/martra/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/spotsail/public_html/martra/wp-includes/functions.php:6114) in /home1/spotsail/public_html/martra/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/spotsail/public_html/martra/wp-includes/functions.php:6114) in /home1/spotsail/public_html/martra/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/spotsail/public_html/martra/wp-includes/functions.php:6114) in /home1/spotsail/public_html/martra/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/spotsail/public_html/martra/wp-includes/functions.php:6114) in /home1/spotsail/public_html/martra/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/spotsail/public_html/martra/wp-includes/functions.php:6114) in /home1/spotsail/public_html/martra/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/spotsail/public_html/martra/wp-includes/functions.php:6114) in /home1/spotsail/public_html/martra/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home1/spotsail/public_html/martra/wp-includes/functions.php:6114) in /home1/spotsail/public_html/martra/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":2899,"date":"2023-09-02T21:54:35","date_gmt":"2023-09-02T21:54:35","guid":{"rendered":"https:\/\/martra.uadla.com\/?p=2899"},"modified":"2023-09-27T20:26:55","modified_gmt":"2023-09-27T20:26:55","slug":"creacion-de-un-sistema-de-comentarios-con-langchain-y-openai","status":"publish","type":"post","link":"https:\/\/martra.uadla.com\/creacion-de-un-sistema-de-comentarios-con-langchain-y-openai\/","title":{"rendered":"Creaci\u00f3n de un sistema de comentarios con LangChain y OpenAI."},"content":{"rendered":"\n

Como disclaimer me gustar\u00eda indicar que este art\u00edculo es tan solo un ejemplo creado para ver como funciona la herramienta LangChain. Hay muchas formas diferentes de crear un sistema automoderado de comentarios, la que veremos en este art\u00edculo es una soluci\u00f3n muy simple. <\/p>\n\n\n\n

La idea b\u00e1sica es aislar al Modelo que acaba publicando la respuesta, de la entrada del usuario a la que debe contestar. <\/p>\n\n\n\n

Es decir, no vamos a permitir que el modelo que interpreta el texto del usuario sea el responsable \u00faltimo de publicar la respuesta. De esta forma protegemos al sistema ante posibles intentos de exploit por parte del usuario.<\/p>\n\n\n\n

Los pasos que seguir\u00e1 nuestra cadena de LangChain para intentar que nuestro moderador no se vuelva loco son: <\/p>\n\n\n\n