{"id":20034,"date":"2026-05-06T12:15:13","date_gmt":"2026-05-06T09:15:13","guid":{"rendered":"https:\/\/unihost.com\/help\/?p=20034"},"modified":"2026-05-06T12:15:13","modified_gmt":"2026-05-06T09:15:13","slug":"install-ollama-open-webui-local-ai-knowledge-base-rag","status":"publish","type":"post","link":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/","title":{"rendered":"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant"},"content":{"rendered":"<p data-start=\"90\" data-end=\"307\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">In this guide, we will show how to deploy a local AI model with Ollama and Open WebUI, connect a text generation model, configure embeddings for a knowledge base, and test RAG using a simple server price list example.<\/span><\/p>\n<p data-start=\"309\" data-end=\"510\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">This setup can be used as a foundation for an internal company AI assistant \u2014 for example, to help sales managers quickly find information about products, services, pricing, or technical documentation.<\/span><\/p>\n<h2 data-section-id=\"htanpl\" data-start=\"512\" data-end=\"527\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Requirements<\/span><\/h2>\n<p data-start=\"529\" data-end=\"565\" data-is-last-node=\"\" data-is-only-node=\"\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">For the installation, you will need:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">Windows<\/span>\n<span style=\"font-weight: 400;\">Docker Desktop<\/span>\n<span style=\"font-weight: 400;\">WSL2<\/span>\n<span style=\"font-weight: 400;\">PowerShell<\/span>\n<span style=\"font-weight: 400;\">Ollama container<\/span>\n<span style=\"font-weight: 400;\">Open WebUI container<\/span><\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">It is recommended to have an NVIDIA GPU, but for the first test you can also run models on CPU. A GPU significantly speeds up response generation, especially for 7B and 14B models.<\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">1. Installing Docker Desktop<\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">First, install Docker Desktop for Windows.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">After installation, open Docker Desktop. At the beginning, there should be no running containers in the <strong>Containers<\/strong> section.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19956\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 1\" width=\"1074\" height=\"507\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 1\"><\/span><\/p>\n<section class=\"text-token-text-primary w-full focus:outline-none [--shadow-height:45px] has-data-writing-block:pointer-events-none has-data-writing-block:-mt-(--shadow-height) has-data-writing-block:pt-(--shadow-height) [&amp;:has([data-writing-block])&gt;*]:pointer-events-auto R6Vx5W_threadScrollVars scroll-mb-[calc(var(--scroll-root-safe-area-inset-bottom,0px)+var(--thread-response-height))] scroll-mt-(--header-height)\" dir=\"auto\" data-turn-id=\"3c6549bb-b7f3-4953-95d3-49adfa31da6e\" data-testid=\"conversation-turn-223\" data-scroll-anchor=\"false\" data-turn=\"user\"><\/section>\n<section class=\"text-token-text-primary w-full focus:outline-none [--shadow-height:45px] has-data-writing-block:pointer-events-none has-data-writing-block:-mt-(--shadow-height) has-data-writing-block:pt-(--shadow-height) [&amp;:has([data-writing-block])&gt;*]:pointer-events-auto [content-visibility:auto] supports-[content-visibility:auto]:[contain-intrinsic-size:auto_100lvh] R6Vx5W_threadScrollVars scroll-mb-[calc(var(--scroll-root-safe-area-inset-bottom,0px)+var(--thread-response-height))] scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]\" dir=\"auto\" data-turn-id=\"request-69ef1a94-0190-8388-8118-ea25c6f0e140-37\" data-testid=\"conversation-turn-224\" data-scroll-anchor=\"false\" data-turn=\"assistant\">\n<div class=\"text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm\/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg\/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)\">\n<div class=\"[--thread-content-max-width:40rem] @w-lg\/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group\/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn\">\n<div class=\"flex max-w-full flex-col gap-4 grow\">\n<div class=\"min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&amp;]:mt-1\" dir=\"auto\" tabindex=\"0\" data-message-author-role=\"assistant\" data-message-id=\"b002af57-8283-4542-a361-b5615a70caea\" data-message-model-slug=\"gpt-5-5-thinking\" data-turn-start-message=\"true\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden\">\n<div class=\"streaming-animation markdown prose dark:prose-invert w-full wrap-break-word dark markdown-new-styling\">\n<h2 data-section-id=\"11zwr36\" data-start=\"0\" data-end=\"33\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">2. Creating the Project Folder<\/span><\/h2>\n<p data-start=\"35\" data-end=\"96\" data-is-last-node=\"\" data-is-only-node=\"\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Open PowerShell and create a folder for the local AI project:<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">mkdir C:local-ai\n<\/span><span style=\"font-weight: 400;\">cd C:local-ai<\/span><\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Create a docker-compose.yml file:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">notepad docker-compose.yml<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Paste the configuration into the file:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">services:\n ollama:\n \u00a0\u00a0image: ollama\/ollama:latest\n \u00a0\u00a0container_name: ollama\n \u00a0\u00a0ports:\n \u00a0\u00a0\u00a0\u00a0- \"127.0.0.1:11434:11434\"\n \u00a0\u00a0volumes:\n \u00a0\u00a0\u00a0\u00a0- ollama_data:\/root\/.ollama\n \u00a0\u00a0environment:\n \u00a0\u00a0\u00a0\u00a0- OLLAMA_HOST=0.0.0.0:11434\n \u00a0\u00a0\u00a0\u00a0- OLLAMA_KEEP_ALIVE=30m\n \u00a0\u00a0restart: unless-stopped<\/span>\n\n<span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"> open-webui:\n \u00a0\u00a0image: ghcr.io\/open-webui\/open-webui:main\n \u00a0\u00a0container_name: open-webui\n \u00a0\u00a0depends_on:\n \u00a0\u00a0\u00a0\u00a0- ollama\n \u00a0\u00a0ports:\n \u00a0\u00a0\u00a0\u00a0- \"3000:8080\"\n \u00a0\u00a0environment:\n \u00a0\u00a0\u00a0\u00a0- OLLAMA_BASE_URL=http:\/\/ollama:11434\n \u00a0\u00a0\u00a0\u00a0- WEBUI_SECRET_KEY=change-this-secret-key\n \u00a0\u00a0volumes:\n \u00a0\u00a0\u00a0\u00a0- open_webui_data:\/app\/backend\/data\n\u00a0\u00a0\u00a0restart: unless-stopped\n\nvolumes:\n ollama_data:\n\u00a0open_webui_data:<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">If you plan to use an NVIDIA GPU, you can add GPU passthrough to the ollama service, but for a basic test, the configuration above is enough.<\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>3. Starting Ollama and Open WebUI<\/b><\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Start the containers:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">docker compose up -d<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Docker will download the images:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">ollama\/ollama:latest<\/span>\n<span style=\"font-weight: 400;\">ghcr.io\/open-webui\/open-webui:main<\/span><\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">After completion, check the containers:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">docker ps<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Two containers should be running:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">ollama<\/span>\n<span style=\"font-weight: 400;\">open-webui<\/span><\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19957\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-20.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 2\" width=\"1048\" height=\"104\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 2\"> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19958\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-29.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 3\" width=\"1035\" height=\"186\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 3\"> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19959\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-11-32.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 4\" width=\"1040\" height=\"212\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 4\"><\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>4. Checking Ollama<\/b><\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Check that Ollama responds locally:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">curl http:\/\/127.0.0.1:11434<\/span><\/pre>\n<p data-start=\"133\" data-end=\"151\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Expected response:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">Ollama is running<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19960\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-11-41.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 5\" width=\"380\" height=\"57\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 5\"><\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>5. Logging in to Open WebUI<\/b><\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Open in your browser:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">http:\/\/localhost:3000<\/span><\/pre>\n<p data-start=\"205\" data-end=\"285\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">On the first launch, Open WebUI will ask you to create an administrator account.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Fill in:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">Name<\/span>\n<span style=\"font-weight: 400;\">Email<\/span>\n<span style=\"font-weight: 400;\">Password<\/span><\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">and click <strong data-start=\"307\" data-end=\"331\">Create Admin Account<\/strong>.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">After logging in, the main Open WebUI interface will open.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19961\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-11-52.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 6\" width=\"706\" height=\"488\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 6\"> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19962\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-12-05.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 7\" width=\"1079\" height=\"477\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 7\"><\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>6. Downloading the Main Model<\/b><\/span><\/h2>\n<p data-start=\"31\" data-end=\"93\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Now you need to download the model that will answer questions.<\/span><\/p>\n<p data-start=\"95\" data-end=\"120\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">For testing, you can use:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">docker exec -it ollama ollama pull qwen2.5:7b<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">If you have more resources, you can use a larger model:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">docker exec -it ollama ollama pull qwen2.5:14b<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Check the list of models:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">docker exec -it ollama ollama list<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">After that, the model will appear in Open WebUI in the list of available models.<\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>7. Downloading the Embedding Model for the Knowledge Base<\/b><\/span><\/h2>\n<p data-start=\"59\" data-end=\"223\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">To work with documents and RAG, you need an embedding model. It converts document text into a vector representation so the system can search for relevant fragments.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Download the model:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">docker exec -it ollama ollama pull nomic-embed-text<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Check it:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">docker exec -it ollama ollama list<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">The list should include the model:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">nomic-embed-text<\/span><\/pre>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>8. Configuring Embeddings in Open WebUI<\/b><\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">In Open WebUI, go to:<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">Admin Settings \u2192 Documents<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">In the <strong data-start=\"100\" data-end=\"113\">Embedding<\/strong> section, specify:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">Embedding Model Engine: Ollama<\/span>\n<span style=\"font-weight: 400;\">Base URL: http:\/\/ollama:11434<\/span>\n<span style=\"font-weight: 400;\">Embedding Model: nomic-embed-text<\/span><\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">After that, click <strong data-start=\"693\" data-end=\"701\">Save<\/strong>.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19963\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-12-14.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 8\" width=\"1040\" height=\"345\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 8\"><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Important: if the documents were uploaded before changing the embedding model, they need to be reindexed or uploaded again.<\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>9. Creating a Knowledge Base<\/b><\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Go to:<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">Workspace \u2192 Knowledge<\/span><\/p>\n<p data-start=\"439\" data-end=\"467\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Create a new knowledge base:<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">New Knowledge<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Example name:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">Server Price List<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">This knowledge base will be used as a test RAG source. You can upload a server price list, service description, FAQ, or internal instruction to it.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19964\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-12-24.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 9\" width=\"1122\" height=\"259\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 9\"><\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>10. Uploading a File to the Knowledge Base<\/b><\/span><\/h2>\n<p data-start=\"44\" data-end=\"121\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Inside the collection, click the <strong data-start=\"77\" data-end=\"82\">+<\/strong> button and upload a file, for example:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">Server Price List.txt<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Example of simple file content:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">Server Price List<\/span>\n\n<span style=\"font-weight: 400;\">GPU Server 1<\/span>\n<span style=\"font-weight: 400;\">Server ID: DED-START-GPU<\/span>\n<span style=\"font-weight: 400;\">GPU Model: NVIDIA Tesla K80<\/span>\n<span style=\"font-weight: 400;\">Monthly Price: $300<\/span>\n\n<span style=\"font-weight: 400;\">GPU Server 2<\/span>\n<span style=\"font-weight: 400;\">Server ID: DED-BUSINESS-GPU<\/span>\n<span style=\"font-weight: 400;\">GPU Model: NVIDIA Tesla T4<\/span>\n<span style=\"font-weight: 400;\">Monthly Price: $1500<\/span><\/span><\/pre>\n<p data-start=\"399\" data-end=\"461\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">After uploading, the file should appear inside the collection.<\/span><\/p>\n<p data-start=\"463\" data-end=\"486\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">If the collection says:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">No content found<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">it means the file has not been uploaded yet. In that case, RAG will not work.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19965\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-12-30.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 10\" width=\"572\" height=\"344\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 10\"><\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>11. Common Error: No Sources Found<\/b><\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">If the model replies in the chat with:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">No sources found<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">it means that Open WebUI could not find suitable fragments in the knowledge base.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Main reasons:<\/span><\/p>\n<ul data-start=\"200\" data-end=\"509\">\n<li data-section-id=\"4b6884\" data-start=\"200\" data-end=\"261\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">the collection was created, but there is no file inside it;<\/span><\/li>\n<li data-section-id=\"1iyfxhs\" data-start=\"262\" data-end=\"316\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">the file was uploaded, but has not been indexed yet;<\/span><\/li>\n<li data-section-id=\"1psyw3v\" data-start=\"317\" data-end=\"385\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">the embedding model was changed, but reindexing was not performed;<\/span><\/li>\n<li data-section-id=\"1og31u0\" data-start=\"386\" data-end=\"444\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">the Knowledge Base is not connected to the current chat;<\/span><\/li>\n<li data-section-id=\"b1ag7u\" data-start=\"445\" data-end=\"509\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">the query is too general or the document is poorly structured.<\/span><\/li>\n<\/ul>\n<p data-start=\"511\" data-end=\"649\" data-is-last-node=\"\" data-is-only-node=\"\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">In our test, the collection was created first, but there was no content inside it. Because of that, Open WebUI could not find any sources.<\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>12. Connecting the Knowledge Base to the Chat<br \/>\n<\/b><\/span><\/h2>\n<p data-start=\"0\" data-end=\"102\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">To use the knowledge base in the chat, start your message with # and select the required collection.<\/span><\/p>\n<p data-start=\"104\" data-end=\"116\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">For example:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">#Server Price List<br \/>\n<\/span><span style=\"font-weight: 400;\">Use only this knowledge base.<br \/>\n<\/span><span style=\"font-weight: 400;\">Find all GPU servers. Show server ID, GPU model and monthly price.<\/span><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">If everything works correctly, Open WebUI will show:<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">Retrieved 1 source<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">or:<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">Retrieved 2 sources<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">This means that RAG found fragments from the knowledge base and passed them to the model.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19966\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-12-38.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 11\" width=\"1095\" height=\"312\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 11\"><\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>13. Testing RAG Using the Price List Example<\/b><\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Test request:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">Use only this knowledge base.<\/span>\n\n<span style=\"font-weight: 400;\">Find all GPU servers. Show server ID, GPU model and monthly price.<\/span>\n\nExample result:\n<span style=\"font-weight: 400;\">Server ID: DED-START-GPU<\/span>\n<span style=\"font-weight: 400;\">GPU Model: NVIDIA Tesla K80<\/span>\n<span style=\"font-weight: 400;\">Monthly Price: $300<\/span>\n\n<span style=\"font-weight: 400;\">Server ID: DED-BUSINESS-GPU<\/span>\n<span style=\"font-weight: 400;\">GPU Model: NVIDIA Tesla T4<\/span>\n<span style=\"font-weight: 400;\">Monthly Price: $1500<\/span><\/span><\/pre>\n<section class=\"text-token-text-primary w-full focus:outline-none [--shadow-height:45px] has-data-writing-block:pointer-events-none has-data-writing-block:-mt-(--shadow-height) has-data-writing-block:pt-(--shadow-height) [&amp;:has([data-writing-block])&gt;*]:pointer-events-auto [content-visibility:auto] supports-[content-visibility:auto]:[contain-intrinsic-size:auto_100lvh] R6Vx5W_threadScrollVars scroll-mb-[calc(var(--scroll-root-safe-area-inset-bottom,0px)+var(--thread-response-height))] scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]\" dir=\"auto\" data-turn-id=\"request-WEB:cfd4f8e2-42f7-4291-a9a9-7cd752df8333-50\" data-testid=\"conversation-turn-26\" data-scroll-anchor=\"false\" data-turn=\"assistant\">\n<div class=\"text-base my-auto mx-auto pb-10 [--thread-content-margin:var(--thread-content-margin-xs,calc(var(--spacing)*4))] @w-sm\/main:[--thread-content-margin:var(--thread-content-margin-sm,calc(var(--spacing)*6))] @w-lg\/main:[--thread-content-margin:var(--thread-content-margin-lg,calc(var(--spacing)*16))] px-(--thread-content-margin)\">\n<div class=\"[--thread-content-max-width:40rem] @w-lg\/main:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group\/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn\">\n<div class=\"flex max-w-full flex-col gap-4 grow\">\n<div class=\"min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal outline-none keyboard-focused:focus-ring [.text-message+&amp;]:mt-1\" dir=\"auto\" tabindex=\"0\" data-message-author-role=\"assistant\" data-message-id=\"73c331fd-c222-422c-b0e6-71795cad10de\" data-message-model-slug=\"gpt-5-5-thinking\" data-turn-start-message=\"true\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden\">\n<div class=\"markdown prose dark:prose-invert w-full wrap-break-word dark markdown-new-styling\">\n<p data-start=\"348\" data-end=\"443\" data-is-last-node=\"\" data-is-only-node=\"\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">If the response contains specific servers from the uploaded file, it means that RAG is working.<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19967\" src=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-12-46.png\" alt=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 12\" width=\"925\" height=\"382\" \/ title=\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant - Image 12\"><\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><b>14. What to Do If RAG Finds the Wrong Fragment<\/b><\/span><\/h2>\n<p data-start=\"48\" data-end=\"257\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Sometimes the knowledge base is connected, but the model does not answer as expected. For example, Open WebUI shows <strong data-start=\"164\" data-end=\"186\">Retrieved 1 source<\/strong>, but the retrieved fragment does not contain the required information.<\/span><\/p>\n<p data-start=\"259\" data-end=\"351\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">This is a normal situation for RAG. The quality of search depends on the document structure.<\/span><\/p>\n<p data-start=\"353\" data-end=\"375\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">To improve the result:<\/span><\/p>\n<ul data-start=\"377\" data-end=\"623\">\n<li data-section-id=\"aouziq\" data-start=\"377\" data-end=\"398\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">use clear headings;<\/span><\/li>\n<li data-section-id=\"ufu83t\" data-start=\"399\" data-end=\"451\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">separate different categories into separate files;<\/span><\/li>\n<li data-section-id=\"377f4i\" data-start=\"452\" data-end=\"493\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">do not upload overly chaotic documents;<\/span><\/li>\n<li data-section-id=\"e1lp8c\" data-start=\"494\" data-end=\"531\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">use exact service and server names;<\/span><\/li>\n<li data-section-id=\"1nfba34\" data-start=\"532\" data-end=\"583\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">increase <strong data-start=\"543\" data-end=\"552\">Top K<\/strong> in the <strong data-start=\"560\" data-end=\"573\">Documents<\/strong> settings;<\/span><\/li>\n<li data-section-id=\"1a3z2k0\" data-start=\"584\" data-end=\"623\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">run <strong data-start=\"590\" data-end=\"601\">reindex<\/strong> after making changes.<\/span><\/li>\n<\/ul>\n<p data-start=\"625\" data-end=\"694\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">For example, for servers, you can split the knowledge base like this:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">gpu-servers.md<br \/>\n<\/span><span style=\"font-weight: 400;\">streaming-servers.md<br \/>\n<\/span><span style=\"font-weight: 400;\">storage-servers.md<br \/>\n<\/span><span style=\"font-weight: 400;\">database-servers.md<br \/>\n<\/span><span style=\"font-weight: 400;\">vps-servers.md<\/span><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">This will make it easier for the model to find the right fragment.<\/span><\/p>\n<h2><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Conclusion<\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">As a result, we have created a local AI assistant based on:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><span style=\"font-weight: 400;\">Docker\n<\/span><span style=\"font-weight: 400;\">Ollama\n<\/span><span style=\"font-weight: 400;\">Open WebUI\n<\/span><span style=\"font-weight: 400;\">Qwen\n<\/span><span style=\"font-weight: 400;\">nomic-embed-text\n<\/span><span style=\"font-weight: 400;\">Knowledge Base<\/span><\/span><\/pre>\n<p><span style=\"font-weight: 400; font-family: Ubuntu, sans-serif; font-size: 12pt;\">RAG<\/span><\/p>\n<p data-start=\"1019\" data-end=\"1235\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">The base model can answer general questions, but the real value appears after connecting a knowledge base. RAG allows the model to answer not only from general knowledge, but also based on specific company documents.<\/span><\/p>\n<p data-start=\"1237\" data-end=\"1439\" data-is-last-node=\"\" data-is-only-node=\"\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Even a simple example with a server price list shows how this can be used in practice: upload the product range, connect it to the chat, and get answers about specific items, specifications, and prices.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we will show how to deploy a local AI model with Ollama and Open WebUI, connect a text generation model, configure embeddings for a knowledge base, and test RAG using a simple server price list example. This setup can be used as a foundation for an internal company AI assistant \u2014 for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[165],"tags":[1073,1052,1089],"class_list":["post-20034","post","type-post","status-publish","format-standard","hentry","category-servers-in-germany","tag-ai","tag-ollama-ai-2","tag-webui"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Ollama and Open WebUI<\/title>\n<meta name=\"description\" content=\"Learn how to install Ollama and Open WebUI, run a local AI model, configure embeddings, create a knowledge base, and test RAG with your own documents.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Ollama and Open WebUI\" \/>\n<meta property=\"og:description\" content=\"Learn how to install Ollama and Open WebUI, run a local AI model, configure embeddings, create a knowledge base, and test RAG with your own documents.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/\" \/>\n<meta property=\"og:site_name\" content=\"Unihost.FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/unihost\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-06T09:15:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1074\" \/>\n\t<meta property=\"og:image:height\" content=\"507\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@unihost\" \/>\n<meta name=\"twitter:site\" content=\"@unihost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/f29c72b4636c2860e1e9f87af6d41e57\"},\"headline\":\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant\",\"datePublished\":\"2026-05-06T09:15:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/\"},\"wordCount\":926,\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png\",\"keywords\":[\"AI\",\"Ollama AI\",\"WebUI\"],\"articleSection\":[\"Servers in Germany\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/\",\"url\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/\",\"name\":\"How to Install Ollama and Open WebUI\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png\",\"datePublished\":\"2026-05-06T09:15:13+00:00\",\"description\":\"Learn how to install Ollama and Open WebUI, run a local AI model, configure embeddings, create a knowledge base, and test RAG with your own documents.\",\"breadcrumb\":{\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#primaryimage\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png\",\"width\":1074,\"height\":507},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unihost\",\"item\":\"https:\/\/unihost.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\/\/unihost.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/unihost.com\/help\/#website\",\"url\":\"https:\/\/unihost.com\/help\/\",\"name\":\"Unihost.FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/unihost.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/unihost.com\/help\/#organization\",\"name\":\"Unihost\",\"alternateName\":\"Unihost\",\"url\":\"https:\/\/unihost.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"width\":300,\"height\":300,\"caption\":\"Unihost\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/unihost\/\",\"https:\/\/x.com\/unihost\",\"https:\/\/www.instagram.com\/unihost\/?hl=en\",\"https:\/\/www.linkedin.com\/company\/unihost-com\",\"https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/f29c72b4636c2860e1e9f87af6d41e57\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/222e250840cecf83ec31ff5e97aaa7d1e32d3226ed39a8bb534ac1d69039fc2a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/222e250840cecf83ec31ff5e97aaa7d1e32d3226ed39a8bb534ac1d69039fc2a?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/unihost.com\/help\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Ollama and Open WebUI","description":"Learn how to install Ollama and Open WebUI, run a local AI model, configure embeddings, create a knowledge base, and test RAG with your own documents.","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:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Ollama and Open WebUI","og_description":"Learn how to install Ollama and Open WebUI, run a local AI model, configure embeddings, create a knowledge base, and test RAG with your own documents.","og_url":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/","og_site_name":"Unihost.FAQ","article_publisher":"https:\/\/www.facebook.com\/unihost\/","article_published_time":"2026-05-06T09:15:13+00:00","og_image":[{"width":1074,"height":507,"url":"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@unihost","twitter_site":"@unihost","twitter_misc":{"Written by":"admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#article","isPartOf":{"@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/"},"author":{"name":"admin","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/f29c72b4636c2860e1e9f87af6d41e57"},"headline":"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant","datePublished":"2026-05-06T09:15:13+00:00","mainEntityOfPage":{"@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/"},"wordCount":926,"publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"image":{"@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#primaryimage"},"thumbnailUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png","keywords":["AI","Ollama AI","WebUI"],"articleSection":["Servers in Germany"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/","url":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/","name":"How to Install Ollama and Open WebUI","isPartOf":{"@id":"https:\/\/unihost.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#primaryimage"},"image":{"@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#primaryimage"},"thumbnailUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png","datePublished":"2026-05-06T09:15:13+00:00","description":"Learn how to install Ollama and Open WebUI, run a local AI model, configure embeddings, create a knowledge base, and test RAG with your own documents.","breadcrumb":{"@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#primaryimage","url":"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/05\/Screenshot-at-15-10-01.png","width":1074,"height":507},{"@type":"BreadcrumbList","@id":"https:\/\/unihost.com\/help\/install-ollama-open-webui-local-ai-knowledge-base-rag\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Unihost","item":"https:\/\/unihost.com\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/unihost.com\/help\/"},{"@type":"ListItem","position":3,"name":"Installing and Initial Configuration of Ollama + Open WebUI for a Local AI Assistant"}]},{"@type":"WebSite","@id":"https:\/\/unihost.com\/help\/#website","url":"https:\/\/unihost.com\/help\/","name":"Unihost.FAQ","description":"","publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unihost.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/unihost.com\/help\/#organization","name":"Unihost","alternateName":"Unihost","url":"https:\/\/unihost.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","width":300,"height":300,"caption":"Unihost"},"image":{"@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/unihost\/","https:\/\/x.com\/unihost","https:\/\/www.instagram.com\/unihost\/?hl=en","https:\/\/www.linkedin.com\/company\/unihost-com","https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw"]},{"@type":"Person","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/f29c72b4636c2860e1e9f87af6d41e57","name":"admin","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/222e250840cecf83ec31ff5e97aaa7d1e32d3226ed39a8bb534ac1d69039fc2a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/222e250840cecf83ec31ff5e97aaa7d1e32d3226ed39a8bb534ac1d69039fc2a?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/unihost.com\/help\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/20034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/comments?post=20034"}],"version-history":[{"count":4,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/20034\/revisions"}],"predecessor-version":[{"id":20039,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/20034\/revisions\/20039"}],"wp:attachment":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/media?parent=20034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/categories?post=20034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/tags?post=20034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}