{"id":4198,"date":"2024-12-13T17:19:23","date_gmt":"2024-12-13T16:19:23","guid":{"rendered":"https:\/\/tech.lobobrothers.com\/create-your-own-chatgpt\/"},"modified":"2025-02-13T16:09:05","modified_gmt":"2025-02-13T15:09:05","slug":"create-your-own-chatgpt","status":"publish","type":"post","link":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/","title":{"rendered":"Create your own chatgpt"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"4198\" class=\"elementor elementor-4198 elementor-4137\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-45b5f21a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"45b5f21a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4c344833\" data-id=\"4c344833\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-40593a6d elementor-widget elementor-widget-text-editor\" data-id=\"40593a6d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2><strong>OLLAMA Y OPEN-WEBUI<\/strong><\/h2>\n<p>It&#8217;s been a while since we wrote anything due to lack of time, but we have taken a moment to give you your <strong>guide to setting up a chatgpt.<\/strong><\/p>\n<p>To do this we will use <strong>Ollama<\/strong>, a tool to work with <strong>LLM<\/strong> language models or in other words, large language models. Together with <strong>Open-WebUI<\/strong>, an extensible artificial intelligence interface, you will have <strong>your own chatgpt<\/strong> either locally or on your own server.<\/p>\n<p>The installation is simple, we can use docker if we want, although in this guide it will be traditional style for those who still have difficulties with docker.<\/p>\n<p>We will do this installation on a Debian 12 with 6 cores and 16GB RAM and 100Gb of disk with language models that do not consume more than that. We go to our machine&#8217;s console either locally or by ssh. In our case all our laboratories, training, tutorials,&#8230;we do them in Proxmox VM.<\/p>\n<p>Let&#8217;s start by connecting to our Debian 12 machine for this post and running the following commands<\/p>\n<p style=\"padding-left: 40px;\">Tools needed<\/p>\n<p style=\"padding-left: 80px;\">apt-get install curl<\/p>\n<p style=\"padding-left: 40px;\">Installing Ollama<\/p>\n<p style=\"padding-left: 80px;\">curl -fsSL https:\/\/ollama.com\/install.sh | sh<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4144 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/instalacion-ollama.png\" alt=\"instalar ollama en debian\" width=\"849\" height=\"537\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/instalacion-ollama.png 849w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/instalacion-ollama-300x190.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/instalacion-ollama-768x486.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/instalacion-ollama-700x443.png 700w\" sizes=\"(max-width: 849px) 100vw, 849px\" \/><\/p>\n<p>Once installed, we will see that it has created the ollama.service service listening on port 11434 on localhost, which we can edit if we want it to be accessible from other hosts<\/p>\n<p style=\"padding-left: 40px;\">nano \/etc\/systemd\/system\/ollama.service<\/p>\n<p>having to add in the [Service] part<\/p>\n<p style=\"padding-left: 40px;\">Environment=&#8221;OLLAMA_HOST=0.0.0.0&#8243;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4146 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/servicio-ollama.png\" alt=\"configurar servicio ollama\" width=\"716\" height=\"301\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/servicio-ollama.png 716w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/servicio-ollama-300x126.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/servicio-ollama-700x294.png 700w\" sizes=\"(max-width: 716px) 100vw, 716px\" \/><\/p>\n<p>We reload and restart the service.<\/p>\n<p style=\"padding-left: 40px;\">systemctl daemon-reload &amp;&amp; systemctl restart ollama.service<\/p>\n<p>And we check that it is listening on any interface.<\/p>\n<p style=\"padding-left: 40px;\"><a class=\"keychainify-checked\" href=\"https:\/\/www.server-world.info\/en\/command\/html\/ss.html\">ss<\/a>\u00a0-napt | grep ollama<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4148 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama-listen.png\" alt=\"ollama puerto\" width=\"745\" height=\"70\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama-listen.png 745w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama-listen-300x28.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama-listen-700x66.png 700w\" sizes=\"(max-width: 745px) 100vw, 745px\" \/><\/p>\n<p>Perfect, we already have our <strong>Ollama<\/strong> installed but we need to load the models, which you can see at https:\/\/ollama.com\/search and we will load them with ollama pull model. Keep in mind that you will need a lot of disk and memory depending on the loaded models. This would be the free memory required on the server for a Meta llama, for example:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Models 7b generally require at least 8 GB of RAM<\/li>\n<li>Models 8b and 13b generally need 16 GB of RAM<\/li>\n<li>Models 70b generally require at least 64 GB of RAM<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>In this lab, being a small machine for AI, we are going to load a model 8b with:<\/p>\n<p style=\"padding-left: 40px;\">ollama pull llama3.1:8b<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4158 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama3-1-8b-1024x64.png\" alt=\"ollama 8b\" width=\"1024\" height=\"64\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama3-1-8b-1024x64.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama3-1-8b-300x19.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama3-1-8b-768x48.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama3-1-8b-700x44.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/ollama3-1-8b.png 1113w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Once we have it downloaded, we can start it and start using it with:<\/p>\n<p style=\"padding-left: 40px;\">ollama run llama3.1:8b<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4160 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/conversacion_ollama-1024x111.png\" alt=\"chateando con llama\" width=\"1024\" height=\"111\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/conversacion_ollama-1024x111.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/conversacion_ollama-300x33.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/conversacion_ollama-768x83.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/conversacion_ollama-700x76.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/conversacion_ollama.png 1207w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>We already have our <strong>Ollama<\/strong>, now we are going to put a graphical interface on it, for which we will use <strong>Open-WebUI<\/strong> and create a <strong>Python environmen<\/strong>t.<\/p>\n<p>We install our environment:<\/p>\n<p style=\"padding-left: 40px;\">apt-get install python3-venv<\/p>\n<p style=\"padding-left: 40px;\">python3.11 -m venv \/opt\/openwebui<\/p>\n<p>We activate the environment<\/p>\n<p style=\"padding-left: 40px;\">source \/opt\/openwebui\/bin\/activate<\/p>\n<p>We install open-webui, which will take a while depending on your connection.<\/p>\n<p style=\"padding-left: 40px;\">pip install open-webui<\/p>\n<p>Once it finishes, we start open-webui<\/p>\n<p style=\"padding-left: 40px;\">open-webui serve<\/p>\n<p>And we access it through the url http:\/\/localhost:8080\/ or, as in our case, since it is on another machine, http:\/\/192.168.1.85:8080<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4168 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/login-open-web-ui.png\" alt=\"acceso open-webui\" width=\"958\" height=\"1021\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/login-open-web-ui.png 958w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/login-open-web-ui-281x300.png 281w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/login-open-web-ui-768x819.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/login-open-web-ui-700x746.png 700w\" sizes=\"(max-width: 958px) 100vw, 958px\" \/><\/p>\n<p>And we start the wizard<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4170 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/wizard-openwebui.png\" alt=\"openwebui wizard\" width=\"615\" height=\"482\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/wizard-openwebui.png 615w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/wizard-openwebui-300x235.png 300w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/p>\n<p>Once you are inside, you will see that we have the default model and our llama3.1:8b, since it is on the default port 11434 on the same machine<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4172 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/openwebui-arena-model.png\" alt=\"arena-model\" width=\"839\" height=\"284\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/openwebui-arena-model.png 839w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/openwebui-arena-model-300x102.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/openwebui-arena-model-768x260.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/openwebui-arena-model-700x237.png 700w\" sizes=\"(max-width: 839px) 100vw, 839px\" \/><\/p>\n<p>If our Ollama server were on another machine, we would have to add it in Configuration\/Administrator Configuration<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4174 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/confiiguracion-openwebui.png\" alt=\"openwebui configuracion\" width=\"894\" height=\"586\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/confiiguracion-openwebui.png 894w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/confiiguracion-openwebui-300x197.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/confiiguracion-openwebui-768x503.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/confiiguracion-openwebui-700x459.png 700w\" sizes=\"(max-width: 894px) 100vw, 894px\" \/><\/p>\n<p>And inside connections, where we can also configure <strong>OpenAI<\/strong> with your API key, taking into account that it has a cost.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4176 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/configuracion-conexiones-openwebui-1024x257.png\" alt=\"conexiones openwebui\" width=\"1024\" height=\"257\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/configuracion-conexiones-openwebui-1024x257.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/configuracion-conexiones-openwebui-300x75.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/configuracion-conexiones-openwebui-768x193.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/configuracion-conexiones-openwebui-1536x386.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/configuracion-conexiones-openwebui-700x176.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/configuracion-conexiones-openwebui.png 1639w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Disable it if you are not going to use it so that it does not try to query <strong>OpenAI<\/strong> because if it is enabled it will try to do so giving 500 errors in your log.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-4178 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/llama3.18b-1024x182.png\" alt=\"llama3.1\" width=\"1024\" height=\"182\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/llama3.18b-1024x182.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/llama3.18b-300x53.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/llama3.18b-768x136.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/llama3.18b-1536x273.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/llama3.18b-700x124.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/llama3.18b.png 1739w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>This is just the beginning of a very wide world.<\/p>\n<p>TL.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b4a2c59 elementor-widget elementor-widget-heading\" data-id=\"b4a2c59\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">FAQS<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-79d52ac elementor-widget elementor-widget-toggle\" data-id=\"79d52ac\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1271\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-1271\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">\u00bfQu\u00e9 es Ollama y c\u00f3mo se relaciona con los modelos de lenguaje LLM?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1271\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-1271\"><p>Ollama es una herramienta dise\u00f1ada para trabajar con modelos de lenguaje de gran tama\u00f1o, conocidos como LLM (Large Language Models). Facilita la gesti\u00f3n y ejecuci\u00f3n de estos modelos.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1272\" class=\"elementor-tab-title\" data-tab=\"2\" role=\"button\" aria-controls=\"elementor-tab-content-1272\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">\u00bfQu\u00e9 es Open-WebUI y por qu\u00e9 es \u00fatil para implementar un ChatGPT propio?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1272\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"region\" aria-labelledby=\"elementor-tab-title-1272\"><p>Open-WebUI es una interfaz de inteligencia artificial extensible que proporciona una plataforma gr\u00e1fica para interactuar con modelos de lenguaje.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1273\" class=\"elementor-tab-title\" data-tab=\"3\" role=\"button\" aria-controls=\"elementor-tab-content-1273\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">\u00bfD\u00f3nde puedo encontrar m\u00e1s informaci\u00f3n y soporte sobre Ollama y Open-WebUI?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1273\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"3\" role=\"region\" aria-labelledby=\"elementor-tab-title-1273\"><p>For more details and support, please visit the official sites of\u00a0Ollama and Open-WebUI.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1274\" class=\"elementor-tab-title\" data-tab=\"4\" role=\"button\" aria-controls=\"elementor-tab-content-1274\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Can I train my own AI model with Ollama?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1274\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"4\" role=\"region\" aria-labelledby=\"elementor-tab-title-1274\"><p>Not directly. Ollama allows you to run models, but to train one from scratch you will need advanced tools like PyTorch or TensorFlow.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<script type=\"application\/ld+json\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"\\u00bfQu\\u00e9 es Ollama y c\\u00f3mo se relaciona con los modelos de lenguaje LLM?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Ollama es una herramienta dise\\u00f1ada para trabajar con modelos de lenguaje de gran tama\\u00f1o, conocidos como LLM (Large Language Models). Facilita la gesti\\u00f3n y ejecuci\\u00f3n de estos modelos.<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"\\u00bfQu\\u00e9 es Open-WebUI y por qu\\u00e9 es \\u00fatil para implementar un ChatGPT propio?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Open-WebUI es una interfaz de inteligencia artificial extensible que proporciona una plataforma gr\\u00e1fica para interactuar con modelos de lenguaje.<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"\\u00bfD\\u00f3nde puedo encontrar m\\u00e1s informaci\\u00f3n y soporte sobre Ollama y Open-WebUI?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>For more details and support, please visit the official sites of\\u00a0Ollama and Open-WebUI.<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"Can I train my own AI model with Ollama?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Not directly. Ollama allows you to run models, but to train one from scratch you will need advanced tools like PyTorch or TensorFlow.<\\\/p>\\n\"}}]}<\/script>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>OLLAMA Y OPEN-WEBUI It&#8217;s been a while since we wrote anything due to lack of time, but we have taken a moment to give you your guide to setting up a chatgpt. To do this we will use Ollama, a tool to work with LLM language models or in other words, large language models. Together [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4190,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,50],"tags":[],"class_list":["post-4198","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-world","category-open-source"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create your own chatgpt - LBT<\/title>\n<meta name=\"description\" content=\"Build your own chatgpt with Ollama and Open-WebUI, here is the guide to achieve it and enter the world of AI\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create your own chatgpt - LBT\" \/>\n<meta property=\"og:description\" content=\"Build your own chatgpt with Ollama and Open-WebUI, here is the guide to achieve it and enter the world of AI\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog sobre linux y el mundo opensource\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/LoboBrothers\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-13T16:19:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-13T15:09:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2048\" \/>\n\t<meta property=\"og:image:height\" content=\"1365\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TL\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TL\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/\"},\"author\":{\"name\":\"TL\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb\"},\"headline\":\"Create your own chatgpt\",\"datePublished\":\"2024-12-13T16:19:23+00:00\",\"dateModified\":\"2025-02-13T15:09:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/\"},\"wordCount\":753,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp\",\"articleSection\":[\"Linux World\",\"Open Source\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/\",\"name\":\"Create your own chatgpt - LBT\",\"isPartOf\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp\",\"datePublished\":\"2024-12-13T16:19:23+00:00\",\"dateModified\":\"2025-02-13T15:09:05+00:00\",\"description\":\"Build your own chatgpt with Ollama and Open-WebUI, here is the guide to achieve it and enter the world of AI\",\"breadcrumb\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#primaryimage\",\"url\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp\",\"contentUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp\",\"width\":2048,\"height\":1365,\"caption\":\"IT professional using EEG headset to communicate with artificial intelligence on computer in binary code. Software developer sending brainwave signals to AI entity on PC using high tech device\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/tech.lobobrothers.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create your own chatgpt\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#website\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/\",\"name\":\"Tech LBT\",\"description\":\"Como apasionados de la tecnolog\u00eda y amantes del open source creamos este blog con art\u00edculos interesantes obre linux, cloud, open source, criptomonedas y ciberseguridad\",\"publisher\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tech.lobobrothers.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\",\"name\":\"Lobo Brothers Technology\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png\",\"contentUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png\",\"width\":110,\"height\":50,\"caption\":\"Lobo Brothers Technology\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/LoboBrothers\/\",\"https:\/\/www.linkedin.com\/company\/lobobrothers\/about\/?viewAsMember=true\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb\",\"name\":\"TL\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g\",\"caption\":\"TL\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create your own chatgpt - LBT","description":"Build your own chatgpt with Ollama and Open-WebUI, here is the guide to achieve it and enter the world of AI","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/","og_locale":"en_US","og_type":"article","og_title":"Create your own chatgpt - LBT","og_description":"Build your own chatgpt with Ollama and Open-WebUI, here is the guide to achieve it and enter the world of AI","og_url":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/","og_site_name":"Blog sobre linux y el mundo opensource","article_publisher":"https:\/\/www.facebook.com\/LoboBrothers\/","article_published_time":"2024-12-13T16:19:23+00:00","article_modified_time":"2025-02-13T15:09:05+00:00","og_image":[{"width":2048,"height":1365,"url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp","type":"image\/jpeg"}],"author":"TL","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TL","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#article","isPartOf":{"@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/"},"author":{"name":"TL","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb"},"headline":"Create your own chatgpt","datePublished":"2024-12-13T16:19:23+00:00","dateModified":"2025-02-13T15:09:05+00:00","mainEntityOfPage":{"@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/"},"wordCount":753,"commentCount":0,"publisher":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#organization"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#primaryimage"},"thumbnailUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp","articleSection":["Linux World","Open Source"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/","url":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/","name":"Create your own chatgpt - LBT","isPartOf":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#primaryimage"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#primaryimage"},"thumbnailUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp","datePublished":"2024-12-13T16:19:23+00:00","dateModified":"2025-02-13T15:09:05+00:00","description":"Build your own chatgpt with Ollama and Open-WebUI, here is the guide to achieve it and enter the world of AI","breadcrumb":{"@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#primaryimage","url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp","contentUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2024\/12\/hello-scaled.jpg.webp","width":2048,"height":1365,"caption":"IT professional using EEG headset to communicate with artificial intelligence on computer in binary code. Software developer sending brainwave signals to AI entity on PC using high tech device"},{"@type":"BreadcrumbList","@id":"https:\/\/tech.lobobrothers.com\/en\/create-your-own-chatgpt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/tech.lobobrothers.com\/en\/"},{"@type":"ListItem","position":2,"name":"Create your own chatgpt"}]},{"@type":"WebSite","@id":"https:\/\/tech.lobobrothers.com\/en\/#website","url":"https:\/\/tech.lobobrothers.com\/en\/","name":"Tech LBT","description":"Como apasionados de la tecnolog\u00eda y amantes del open source creamos este blog con art\u00edculos interesantes obre linux, cloud, open source, criptomonedas y ciberseguridad","publisher":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tech.lobobrothers.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/tech.lobobrothers.com\/en\/#organization","name":"Lobo Brothers Technology","url":"https:\/\/tech.lobobrothers.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png","contentUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png","width":110,"height":50,"caption":"Lobo Brothers Technology"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/LoboBrothers\/","https:\/\/www.linkedin.com\/company\/lobobrothers\/about\/?viewAsMember=true"]},{"@type":"Person","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb","name":"TL","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g","caption":"TL"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/4198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/comments?post=4198"}],"version-history":[{"count":5,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/4198\/revisions"}],"predecessor-version":[{"id":8204,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/4198\/revisions\/8204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/media\/4190"}],"wp:attachment":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/media?parent=4198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/categories?post=4198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/tags?post=4198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}