<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by James Westbrook on Medium]]></title>
        <description><![CDATA[Stories by James Westbrook on Medium]]></description>
        <link>https://medium.com/@0xthresh?source=rss-10cd94d92648------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Z17IEnesxuuNI93NrHUHQA.png</url>
            <title>Stories by James Westbrook on Medium</title>
            <link>https://medium.com/@0xthresh?source=rss-10cd94d92648------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:38:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@0xthresh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automating Fluence Cloudless VMs with Terraform]]></title>
            <link>https://blog.decentralizedinfra.com/automating-fluence-cloudless-vms-with-terraform-e7869a14c539?source=rss-10cd94d92648------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7869a14c539</guid>
            <category><![CDATA[depin]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[fluence]]></category>
            <category><![CDATA[cloudless-vms]]></category>
            <dc:creator><![CDATA[James Westbrook]]></dc:creator>
            <pubDate>Mon, 14 Jul 2025 04:41:08 GMT</pubDate>
            <atom:updated>2025-07-14T04:41:08.136Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.fluence.network/">Fluence</a> has created a decentralized compute marketplace that enables anyone to rent compute from hardware providers on the Fluence network. Using the <a href="https://console.fluence.network/">Fluence Console</a>, users can browse for the compute that meets their requirements, whether they’re choosing based on location, price, or specific hardware needs.</p><p>While the console is a helpful for getting a visual understanding of what’s available on the Fluence network, the ability to automate creation of multiple instances is crucial for larger applications. The <a href="https://api.fluence.dev/swagger-ui/">Fluence API</a> enables the use of scripts, or common infrastructure automation tooling such as Terraform, to enable this automation.</p><p>This article describes using the <a href="https://registry.terraform.io/providers/decentralized-infrastructure/fluence/latest">Fluence Terraform Provider</a> to automate the creation and management of Fluence Cloudless VMs, search the Fluence marketplace, and using marketplace specifications such as hardware types or hardware locations to create VMs.</p><blockquote><strong>Note: as of the time of writing, the Cloudless VMs feature is in a Closed Alpha phase, but a Closed Beta phase is opening soon. You can follow </strong><a href="https://x.com/fluence_project"><strong>Fluence on X</strong></a><strong> and keep an eye on the </strong><a href="https://fluencelabs.typeform.com/to/eCCesDbz"><strong>Alpha sign-up page</strong></a><strong> for further updates on the timeline and for sign-up information.</strong></blockquote><h3>Installing Terraform</h3><p>The easiest way to install Terraform (if you don’t already have it) is to use <a href="https://github.com/tfutils/tfenv">tfenv</a>. If you’re on a Mac, installation is as simple as running brew install tfenv. If you use another OS, check the tfenv repo’s <a href="https://github.com/tfutils/tfenv?tab=readme-ov-file#installation">Installation</a> section for install steps.</p><p>With tfenv installed, you can install and select a version of Terraform using:</p><pre>tfenv install 1.12.2<br>tfenv use 1.12.2 </pre><p>Finally, you can test that Terraform is working as expected by simply running terraform version, which should show the version installed above.</p><h3>Fluence API Key</h3><p>Before you can use the Fluence Terraform provider, you need to create a Fluence API key in the console. Navigate to the <a href="https://console.fluence.network/settings/api-keys">API Keys</a> page in the Fluence Console, and click Add New Key. Give the key a name, give it Read/ Write permissions, and set an expiration date that feels appropriate. Click Add, and copy the resulting key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2gWrbcUBKrDPMYhadFwZbA.png" /><figcaption>Example Fluence API key settings</figcaption></figure><p>In your terminal where you will run Terraform commands, run the command below to set the required environment variable:</p><p>export FLUENCE_API_KEY=&lt;your key&gt;</p><p>The Terraform provider will automatically pick up the key from the environment variable, ensuring you don’t have to include the key in your Terraform code.</p><h3>Initial Terraform Configuration</h3><p>In your preferred code editor, create a new folder to host your Terraform project. Create a new file called provider.tf, and copy the code block below:</p><pre>terraform {<br>  required_providers {<br>    fluence = {<br>      source = &quot;decentralized-infrastructure/fluence&quot;<br>      version = &quot;~&gt; 1.0&quot;<br>    }<br>  }<br>}</pre><p>The terraform block is required to configure Terraform. The required_providers block specifies which providers Terraform should download to use for deploying resources.</p><p>In your terminal, change the directory to the folder you created earlier. You can initialize Terraform and install the Fluence provider with the command below:</p><p>terraform init</p><p>If it works correctly, your output should look similar to the output below.</p><pre>Initializing the backend...<br>Initializing provider plugins...<br>- Finding decentralized-infrastructure/fluence versions matching &quot;~&gt; 1.0&quot;...<br>- Installing decentralized-infrastructure/fluence v1.1.0...<br>- Installed decentralized-infrastructure/fluence v1.1.0 (self-signed, key ID 609F65D10D9B1332)<br>Partner and community providers are signed by their developers.<br>If you&#39;d like to know more about provider signing, you can read about it here:<br>https://developer.hashicorp.com/terraform/cli/plugins/signing<br>Terraform has created a lock file .terraform.lock.hcl to record the provider<br>selections it made above. Include this file in your version control repository<br>so that Terraform can guarantee to make the same selections by default when<br>you run &quot;terraform init&quot; in the future.<br><br>Terraform has been successfully initialized!<br><br>You may now begin working with Terraform. Try running &quot;terraform plan&quot; to see<br>any changes that are required for your infrastructure. All Terraform commands<br>should now work.<br><br>If you ever set or change modules or backend configuration for Terraform,<br>rerun this command to reinitialize your working directory. If you forget, other<br>commands will detect it and remind you to do so if necessary.</pre><p>With Terraform initialized, we can start to create and manage resources.</p><h3>Viewing the Marketplace</h3><p>To view the configuration options available on the Fluence marketplace, we can use Terraform data blocks and outputs. In your code editor, create a new file called marketplace.tf, and paste the code below:</p><pre># Data blocks that pull info from the marketplace API through the provider<br>data &quot;fluence_available_countries&quot; &quot;all&quot; {}<br>data &quot;fluence_available_hardware&quot; &quot;all&quot; {}<br>data &quot;fluence_basic_configurations&quot; &quot;all&quot; {}<br><br># Output that organizes the info from the data block and displays it during plans/ applies<br>output &quot;marketplace_data&quot; {<br>  value = {<br>    available_countries      = data.fluence_available_countries.all.countries<br>    available_configurations = data.fluence_basic_configurations.all.configurations<br>    hardware_options = {<br>      cpu_types     = data.fluence_available_hardware.all.cpu<br>      memory_types  = data.fluence_available_hardware.all.memory<br>      storage_types = data.fluence_available_hardware.all.storage<br>    }<br>  }<br>  description = &quot;Available marketplace options&quot;<br>}</pre><p>Run terraform plan to see the data from the Fluence Marketplace API in Terraform. You should see output similar to below:</p><pre>data.fluence_basic_configurations.all: Reading...<br>data.fluence_available_countries.all: Reading...<br>data.fluence_available_hardware.all: Reading...<br>data.fluence_basic_configurations.all: Read complete after 1s<br>data.fluence_available_hardware.all: Read complete after 1s<br>data.fluence_available_countries.all: Read complete after 1s<br><br>Changes to Outputs:<br>  + marketplace_data = {<br>      + available_configurations = [<br>          + &quot;cpu-2-ram-4gb-storage-25gb&quot;,<br>          + &quot;cpu-4-ram-8gb-storage-25gb&quot;,<br>          + &quot;cpu-8-ram-16gb-storage-25gb&quot;,<br>          + &quot;cpu-16-ram-32gb-storage-25gb&quot;,<br>          + &quot;cpu-32-ram-64gb-storage-25gb&quot;,<br>          + &quot;cpu-64-ram-128gb-storage-25gb&quot;,<br>          + &quot;cpu-128-ram-256gb-storage-25gb&quot;,<br>          + &quot;cpu-256-ram-512gb-storage-25gb&quot;,<br>        ]<br>      + available_countries      = [<br>          + &quot;BE&quot;,<br>          + &quot;PL&quot;,<br>          + &quot;US&quot;,<br>        ]<br>      + hardware_options         = {<br>          + cpu_types     = [<br>              + {<br>                  + architecture = &quot;ICE LAKE&quot;<br>                  + manufacturer = &quot;INTEL(R)&quot;<br>                },<br>              + {<br>                  + architecture = &quot;ZEN&quot;<br>                  + manufacturer = &quot;AMD&quot;<br>                },<br>              + {<br>                  + architecture = &quot;Zen&quot;<br>                  + manufacturer = &quot;AMD&quot;<br>                },<br>              + {<br>                  + architecture = &quot;ZEN&quot;<br>                  + manufacturer = &quot;AMD&quot;<br>                },<br>            ]<br>          + memory_types  = [<br>              + {<br>                  + generation = &quot;4&quot;<br>                  + type       = &quot;DDR&quot;<br>                },<br>              + {<br>                  + generation = &quot;5&quot;<br>                  + type       = &quot;DDR&quot;<br>                },<br>            ]<br>          + storage_types = [<br>              + {<br>                  + type = &quot;NVMe&quot;<br>                },<br>              + {<br>                  + type = &quot;SSD&quot;<br>                },<br>            ]<br>        }<br>    }<br><br>You can apply this plan to save these new output values to the Terraform state, without changing any real<br>infrastructure.<br><br>───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<br><br>Note: You didn&#39;t use the -out option to save this plan, so Terraform can&#39;t guarantee to take exactly these actions if<br>you run &quot;terraform apply&quot; now.</pre><p>We will use this info as inputs when we create a VM in later steps.</p><h3>Creating an SSH Key</h3><p>In order to access Fluence VMs, you have to include an SSH key when creating the VM. You can use the Terraform provider to create a key in the Fluence platform for use in VMs.</p><p>First, create a new SSH key with the ssh-keygen command. Follow the prompts to choose the path to save the key pair and enter a passphrase (if desired).</p><p>Next, create a new file in your code editor titled ssh_keys.tf. Copy the code below, updating the path in the public_key field to match the path of your SSH public key generated in the previous command.</p><pre># Create an SSH key for the VM<br>resource &quot;fluence_ssh_key&quot; &quot;vm_key&quot; {<br>  name       = &quot;terraform-vm-key&quot;<br>  # Replace with your actual public key associated with a private key you control<br>  public_key = file(&quot;&lt;path&gt;/fluence_tf_id_rsa.pub&quot;)<br>}</pre><p>To create the new key in the Fluence platform, you can run terraform apply in the terminal. You should see output similar to below:</p><pre>data.fluence_available_countries.all: Reading...<br>data.fluence_available_hardware.all: Reading...<br>data.fluence_basic_configurations.all: Reading...<br>data.fluence_basic_configurations.all: Read complete after 1s<br>data.fluence_available_countries.all: Read complete after 1s<br>data.fluence_available_hardware.all: Read complete after 1s<br><br>Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following<br>symbols:<br>  + create<br><br>Terraform will perform the following actions:<br><br>  # fluence_ssh_key.vm_key will be created<br>  + resource &quot;fluence_ssh_key&quot; &quot;vm_key&quot; {<br>      + active      = (known after apply)<br>      + algorithm   = (known after apply)<br>      + comment     = (known after apply)<br>      + created_at  = (known after apply)<br>      + fingerprint = (known after apply)<br>      + id          = (known after apply)<br>      + name        = &quot;terraform-vm-key&quot;<br>      + public_key  = &lt;&lt;-EOT<br>            ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDZKnzraDIudWoPC+1ycPWg1o7QUSbmxk9gwZ8CIXD1R jw@JWs-MacBook-Pro.local<br>        EOT<br>    }<br><br>Plan: 1 to add, 0 to change, 0 to destroy.<br><br>Changes to Outputs:<br>  + marketplace_data = {<br>      + available_configurations = [<br>          + &quot;cpu-2-ram-4gb-storage-25gb&quot;,<br>          + &quot;cpu-4-ram-8gb-storage-25gb&quot;,<br>          + &quot;cpu-8-ram-16gb-storage-25gb&quot;,<br>          + &quot;cpu-16-ram-32gb-storage-25gb&quot;,<br>          + &quot;cpu-32-ram-64gb-storage-25gb&quot;,<br>          + &quot;cpu-64-ram-128gb-storage-25gb&quot;,<br>          + &quot;cpu-128-ram-256gb-storage-25gb&quot;,<br>          + &quot;cpu-256-ram-512gb-storage-25gb&quot;,<br>        ]<br>      + available_countries      = [<br>          + &quot;BE&quot;,<br>          + &quot;PL&quot;,<br>          + &quot;US&quot;,<br>        ]<br>      + hardware_options         = {<br>          + cpu_types     = [<br>              + {<br>                  + architecture = &quot;ICE LAKE&quot;<br>                  + manufacturer = &quot;INTEL(R)&quot;<br>                },<br>              + {<br>                  + architecture = &quot;ZEN&quot;<br>                  + manufacturer = &quot;AMD&quot;<br>                },<br>              + {<br>                  + architecture = &quot;Zen&quot;<br>                  + manufacturer = &quot;AMD&quot;<br>                },<br>              + {<br>                  + architecture = &quot;ZEN&quot;<br>                  + manufacturer = &quot;AMD&quot;<br>                },<br>            ]<br>          + memory_types  = [<br>              + {<br>                  + generation = &quot;4&quot;<br>                  + type       = &quot;DDR&quot;<br>                },<br>              + {<br>                  + generation = &quot;5&quot;<br>                  + type       = &quot;DDR&quot;<br>                },<br>            ]<br>          + storage_types = [<br>              + {<br>                  + type = &quot;NVMe&quot;<br>                },<br>              + {<br>                  + type = &quot;SSD&quot;<br>                },<br>            ]<br>        }<br>    }<br><br>Do you want to perform these actions?<br>  Terraform will perform the actions described above.<br>  Only &#39;yes&#39; will be accepted to approve.<br><br>  Enter a value:</pre><p>To create the key, type yes and hit Enter. You should see output similar to below if everything works correctly:</p><pre>fluence_ssh_key.vm_key: Creating...<br>fluence_ssh_key.vm_key: Creation complete after 0s [id=SHA256:&lt;id&gt;]<br><br>Apply complete! Resources: 1 added, 0 changed, 0 destroyed.<br><br>Outputs: &lt;truncated&gt;</pre><p>When checking in the Fluence Console under <a href="https://console.fluence.network/settings/ssh-keys">SSH Keys</a>, you should see the new key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KR03OfMvmj2EtO_fOuY-Rg.png" /><figcaption>SSH key provisioned with Terraform</figcaption></figure><p>With an SSH key created, we can now provision Fluence VMs.</p><h3>Creating a VM</h3><p>Create a new file called vm.tf, and copy the code below:</p><pre># Create a VM using the SSH key and marketplace data<br>resource &quot;fluence_vm&quot; &quot;web_server&quot; {<br>  name     = &quot;terraform-web-server&quot;<br>  hostname = &quot;web-server&quot;<br>  os_image = &quot;https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img&quot;<br><br>  # Reference the SSH key we created<br>  ssh_keys = [fluence_ssh_key.vm_key.name]<br><br>  # Open ports for web server<br>  open_ports = [<br>    {<br>      port     = 22<br>      protocol = &quot;tcp&quot;<br>    },<br>    {<br>      port     = 80<br>      protocol = &quot;tcp&quot;<br>    }<br>  ]<br><br>  # VM configuration - use available basic configurations<br>  instances           = 1<br>  # Line below reads from the list of configurations in the data block and selects one with 8 vCPUs <br>  basic_configuration = one([for item in data.fluence_basic_configurations.all.configurations : item if startswith(item, &quot;cpu-8&quot;)])<br><br>  # Budget and location constraints using available data<br>  max_total_price_per_epoch_usd = &quot;10.0&quot;<br>  datacenter_countries          = [data.fluence_available_countries.all.countries[0]] # First country<br><br>  # Ensure SSH key is created first<br>  depends_on = [fluence_ssh_key.vm_key]<br>}</pre><p>To create the VM in the Fluence platform, you can run terraform apply in the terminal. You should see output similar to below:</p><pre>data.fluence_available_countries.all: Reading...<br>data.fluence_available_hardware.all: Reading...<br>data.fluence_basic_configurations.all: Reading...<br>fluence_ssh_key.vm_key: Refreshing state... [id=SHA256:yfSYvES3sRu9PV/iaY83HHapqM+3jw0K0OarMMmn1Qs]<br>data.fluence_basic_configurations.all: Read complete after 1s<br>data.fluence_available_countries.all: Read complete after 1s<br>data.fluence_available_hardware.all: Read complete after 1s<br><br>Terraform used the selected providers to generate the following execution plan. Resource actions are<br>indicated with the following symbols:<br>  + create<br><br>Terraform will perform the following actions:<br><br>  # fluence_vm.web_server will be created<br>  + resource &quot;fluence_vm&quot; &quot;web_server&quot; {<br>      + basic_configuration           = &quot;cpu-8-ram-16gb-storage-25gb&quot;<br>      + created_at                    = (known after apply)<br>      + datacenter_countries          = [<br>          + &quot;BE&quot;,<br>        ]<br>      + hostname                      = &quot;web-server&quot;<br>      + id                            = (known after apply)<br>      + instances                     = 1<br>      + max_total_price_per_epoch_usd = &quot;10.0&quot;<br>      + name                          = &quot;terraform-web-server&quot;<br>      + next_billing_at               = (known after apply)<br>      + open_ports                    = [<br>          + {<br>              + port     = 22<br>              + protocol = &quot;tcp&quot;<br>            },<br>          + {<br>              + port     = 80<br>              + protocol = &quot;tcp&quot;<br>            },<br>        ]<br>      + os_image                      = &quot;https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img&quot;<br>      + price_per_epoch               = (known after apply)<br>      + public_ip                     = (known after apply)<br>      + reserved_balance              = (known after apply)<br>      + ssh_keys                      = [<br>          + &quot;terraform-vm-key&quot;,<br>        ]<br>      + status                        = (known after apply)<br>      + status_changed_at             = (known after apply)<br>      + total_spent                   = (known after apply)<br>    }<br><br>Plan: 1 to add, 0 to change, 0 to destroy.<br><br>Do you want to perform these actions?<br>  Terraform will perform the actions described above.<br>  Only &#39;yes&#39; will be accepted to approve.<br><br>  Enter a value:</pre><p>To create the VM, type yes and hit Enter. You should see output similar to below if everything works correctly:</p><pre>fluence_vm.web_server: Creating...<br>fluence_vm.web_server: Creation complete after 5s [id=&lt;id&gt;]<br><br>Apply complete! Resources: 1 added, 0 changed, 0 destroyed.<br><br>Outputs: &lt;truncated&gt;</pre><p>When checking in the Fluence Console under <a href="https://console.fluence.network/running-instances">Running Instances</a>, you should see the new VM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8KZMyPpxNmCDJfR-Yu2YBg.png" /><figcaption>Fluence VM provisioned with Terraform</figcaption></figure><h3>Connecting to the Instance</h3><p>Using the public IP of the VM and the SSH key created earlier, you can connect to the VM. Replace the private key path and VM public IP in the command below, and then run it:</p><pre>ssh -i &lt;path to private key&gt; ubuntu@&lt;VM public IP&gt;</pre><p>You should see an Ubuntu terminal. Using the commands below, you can start a web server on your VM.</p><pre>sudo su - <br>apt update -y<br>apt upgrade -y <br>apt install -y nginx<br>echo &#39;Welcome to your web server!&#39; | sudo tee /var/www/html/index.html<br>systemctl start nginx</pre><p>In a web browser, connect to the public IP on your VM. You should see the basic HTML page created using the commands above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*IevStVPwxObfYgAANHeN2Q.png" /><figcaption>A successful web deployment on your first decentralized VM</figcaption></figure><h3>Conclusion</h3><p>Using the Fluence Terraform provider, it’s possible to build Fluence VMs more rapidly and advance your decentralized compute journey by using enterprise-grade tooling to manage it. Extra resources about Fluence and the Terraform provider can be found below:</p><p><a href="https://fluence.dev/docs/build/overview">Fluence Docs</a></p><p><a href="https://fluence.dev/docs/build/api/overview">Fluence API Docs</a></p><p><a href="https://github.com/decentralized-infrastructure/terraform-provider-fluence">Fluence Terraform Provider Code</a></p><p><a href="https://registry.terraform.io/providers/decentralized-infrastructure/fluence/latest">Fluence Terraform Provider Registry</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7869a14c539" width="1" height="1" alt=""><hr><p><a href="https://blog.decentralizedinfra.com/automating-fluence-cloudless-vms-with-terraform-e7869a14c539">Automating Fluence Cloudless VMs with Terraform</a> was originally published in <a href="https://blog.decentralizedinfra.com/">Decentralized Infra</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitor Open WebUI with DataDog LLM Observability Using Functions]]></title>
            <link>https://medium.com/@0xthresh/monitor-open-webui-with-datadog-llm-observability-using-functions-2eeaa05fbb67?source=rss-10cd94d92648------2</link>
            <guid isPermaLink="false">https://medium.com/p/2eeaa05fbb67</guid>
            <category><![CDATA[llm-applications]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[open-webui]]></category>
            <category><![CDATA[llmops]]></category>
            <category><![CDATA[datadog]]></category>
            <dc:creator><![CDATA[James Westbrook]]></dc:creator>
            <pubDate>Mon, 24 Mar 2025 04:40:34 GMT</pubDate>
            <atom:updated>2025-03-24T04:40:34.520Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1zBBzyYczwd6k9G_tiOyKQ.png" /><figcaption>Dashboard from monitoring LLM workloads in Open WebUI with DataDog LLM Observability</figcaption></figure><p>There are two versions of this article. This new version uses Open WebUI Functions; the old article using Pipelines can be found here: <a href="https://blog.opensourceai.dev/monitor-open-webui-with-datadog-llm-observability-620ef3a598c6">https://blog.opensourceai.dev/monitor-open-webui-with-datadog-llm-observability-620ef3a598c6</a></p><h3>Introduction</h3><p><a href="https://openwebui.com/"><strong>Open WebUI</strong></a> makes it possible to self-host your LLM workloads, enabling teams to get all the benefits of LLMs without the privacy concerns that come with using a managed provider. Thanks to the recent release of Open WebUI’s <a href="https://docs.openwebui.com/features/plugin/#functions"><strong>Functions</strong></a>, you can also extend the capabilities of Open WebUI to support the tools you want to integrate it with.</p><p>DataDog released their <a href="https://docs.datadoghq.com/tracing/llm_observability/"><strong>LLM Observability</strong></a><strong> </strong>tooling earlier this year, which can help give you the operational insights you need to keep your self-hosted LLM platform running smoothly. This article describes how to use Open WebUI Functions to send your platform’s chats and metrics to DataDog LLM Observability for monitoring.</p><h3>Requirements</h3><p>In order to integrate DataDog with Open WebUI using this guide, you need to have the following:</p><ol><li>A <a href="https://www.datadoghq.com/">DataDog</a> subscription, with an account that has permissions to create API Keys. You can sign up for a free 14-day trial with no credit card info required.</li><li>Docker running on your machine. <a href="https://www.docker.com/products/docker-desktop/">Docker Desktop</a> is free and is the easiest way to get started on non-server machines.</li></ol><h3>Deploy Open WebUI</h3><p>The quickest way to start Open WebUI is by follwing the <a href="https://docs.openwebui.com/getting-started/#quick-start-with-docker--recommended">Quick Start with Docker</a> guide. The command below assumes that Ollama is running on your host machine (to take full advantage of GPU) and that Open WebUI will run on a container; if your setup is different, visit the Open WebUI <a href="https://docs.openwebui.com/getting-started">Getting Started</a> page to check for other options.</p><pre>docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main</pre><p>With the container running, you can now log into Open WebUI.</p><h3>Log In to Open WebUI</h3><p>Open WebUI will be running at localhost:3000. Connect to Open WebUI, and click the Sign Up button. Enter the details you want for your admin account, and click Create Account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*2dpX5tlCSoL70Pe2LS2D4w.png" /><figcaption>Create the account for your Open WebUI instance. Note that the account stays local to your machine.</figcaption></figure><p>First, make sure you have a model to send a message to. The Select a model option in the top left should show any models you already downloaded to your local Ollama if you had any. If not, type in a model name, such as llama3:latest, and pull that before going further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UrGOzn_GQ9KWlfgfawoB9A.png" /><figcaption>Select a model in the top left menu, or pull one from Ollama.com if none are present.</figcaption></figure><h3>Import the DataDog Function</h3><p>While the model is pulled, we can pull the DataDog function into Open WebUI. Community functions are available at <a href="https://openwebui.com/functions/">openwebui.com/functions</a>. Before you can pull a function, you must sign up for an account on the community site. Click the blue <strong>Sign up </strong>button in the top-right corner of the site, and enter your email and password. <em>Note that this login does not sync to your locally hosted Open WebUI instance, and is a separate account.</em></p><p>Once you are signed up, you can pull functions into your Open WebUI instance. Navigate to the <a href="https://openwebui.com/f/0xthresh/datadog_llm_observability_filter/">DataDog LLM Observability Filter</a> function, and click the blue <strong>Get </strong>button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7BJZhS3e5Q0r6ZcvCNFLYA.png" /><figcaption>Function description page</figcaption></figure><p>An import bubble appears. Type in http://localhost:3000, and click <strong>Import to WebUI.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6e4fRpQ9CiEiJTy0LneXSw.png" /><figcaption>Import bubble</figcaption></figure><p>A tab with your Open WebUI instance opens with the function pre-populated. Click the green <strong>Save </strong>button in the bottom-right corner, followed by the <strong>Confirm</strong> button, to add the function to your instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ANearWTsJDbWa2sW38MANA.png" /><figcaption>Imported function</figcaption></figure><p>The packages defined in the requirements section on line 7 are automatically downloaded into Open WebUI. Once the packages are installed, the process completes, and you are redirected back to the <strong>Functions</strong> page on your Open WebUI instance.</p><h3>Configure the Function</h3><p>Before you can enable the function, you need to configure the <strong>Valves</strong>. Valves are admin-defined inputs into functions, which commonly include API keys or other configuration options. Click the valves icon (settings wheel) next to the DataDog LLM Observability Filter function to open the configuration menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*0b9ZFPESkdHzrWsklHnaWg.png" /><figcaption>Valves for the DataDog filter function</figcaption></figure><p>Priority is an integer that sets the priority of the filter in comparison to other filter functions. For example, if you import another filter and set its priority to 1, the DataDog filter will run first when new messages are sent to the LLM since it has the lower priority of 0.</p><p>ML_APP should contain the name of the app that will be shown in the trace. DD_API_KEY should be set to the API key that you create in your DataDog account. DD_SITE should be set to the DataDog region your account resides in. Once you’ve configured all the values, click <strong>Save</strong>.</p><p>Lastly, you need to enable the function. Click the grey radio button next to the function name to enable it. Additionally, click the <strong>More </strong>button next to the enable button, and enable the <strong>Global </strong>option, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S9a_nfXOj36VDqu5o8Wv1g.png" /><figcaption>Enable the function, and set Global to Enabled so it is used on all models.</figcaption></figure><h3>Viewing Traces in DataDog</h3><p>With the function loaded and all of the required values added, we can now start chatting with our model, and see if our traces end up in DataDog. Click on the New Chat button in the top left, and send your model a message:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qYxYiIRgN0bE_rDeTIjSSQ.png" /><figcaption>Asking the important questions in life 🦙</figcaption></figure><p>If everything works as expected, you should now see traces in your DataDog account in the LLM Observability section. You can quickly access that section by typing https://&lt;your-region&gt;.datadoghq.com/llm/traces into your browser.</p><p>You should see the message you sent in Open WebUI in DataDog. You can see my expanded trace below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*ocDtwy4jf63_1cYnzqwsVQ.png" /><figcaption>Our trace is successfully sent to DataDog!</figcaption></figure><p>You can see details such as the duration of the chat generation, the model used, input, output, user sentiment, and where the trace originated from. By extending the pipeline further, we could also get more details, such as total tokens or custom evaluations.</p><p>In addition to seeing detailed traces, DataDog also has dashboards to enable your team to see the important details about your Open WebUI and model performance. An example dashboard showing sentiment analysis and interaction counts can be seen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kvOVc2iMyP4cazqUzOJcEg.png" /><figcaption>One of many dashboards provided out of the box by DataDog</figcaption></figure><p>At this point, you’ve successfully configured your Open WebUI instance to use the DataDog Filter function to forward traces to DataDog! You can continue exploring the other amazing <a href="https://openwebui.com/functions/">functions</a>, tools, models and prompts on the community site, or continue playing with DataDog’s LLM Observability functionality.</p><p>Thanks for reading, and let me know if you have any questions!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2eeaa05fbb67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying a Cost-Effective Open Source AI Platform on RunPod]]></title>
            <link>https://blog.opensourceai.dev/deploying-a-cost-effective-open-source-ai-platform-on-runpod-ac761d14a66a?source=rss-10cd94d92648------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac761d14a66a</guid>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[runpod]]></category>
            <category><![CDATA[open-source-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[open-webui]]></category>
            <dc:creator><![CDATA[James Westbrook]]></dc:creator>
            <pubDate>Tue, 14 Jan 2025 00:49:28 GMT</pubDate>
            <atom:updated>2025-01-14T00:49:28.751Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the past few years, plenty of tools have come out that enable anyone to easily use and access open source AI models for chat, code autocomplete, text-to-speech, and many other use cases. However, without a powerful GPU, individuals are limited in what models they are able to run, severely limiting the usefulness of any AI they may want to try. While cloud instances with powerful GPUs are available from all of the major cloud providers, the cost is usually too high for individuals to justify paying.</p><p>Enter <strong>RunPod</strong>. <a href="https://www.runpod.io/">RunPod</a> is a cloud provider whose main focus is on making it easy and cheap to spin up GPU instances (known on RunPod as “pods”) to host any AI workload.</p><p>In this article, we will explore hosting two of my favorite open source AI tools — <a href="https://ollama.com/">Ollama</a> and <a href="https://openwebui.com/">Open WebUI</a> — on RunPod, the most cost-effective platform I’ve found for renting GPUs.</p><h3>Sign Up for RunPod</h3><p>Unlike other major cloud providers, RunPod makes the startup process extremely easy — you do not need to have advanced knowledge of cloud networking, Python, or Linux to get your AI workload spun up. With RunPod, all you need is a credit card, a Docker image, and an idea of what AI workload you want to spin up.</p><p>If you don’t already have an account, start by visiting the RunPod sign-up page: <a href="https://www.runpod.io/console/signup">https://www.runpod.io/console/signup</a></p><p>You can either use a Google account, or use your email address and create a password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*Qd3bGmKhnGt-8Ng9b1_mKw.png" /></figure><h3>Fund Your Account</h3><p>Before you can create any pods, you will need to fund your RunPod account. You can either add credit to your account, or configure automatic payments to ensure that you never run out of RunPod credit. If you’re just starting out, <em>I recommend adding $10 of credit without setting up automatic payments</em>. Be aware that you cannot refund credits or send any unused credit back to your card<strong>, </strong>so don’t overload on credits that you don’t plan to use. With some GPUs available for as low as 9 cents per hour, $10 of credit will give you plenty of GPU capacity to play with.</p><p>If you’re ready to dive in, navigate to the RunPod <a href="https://www.runpod.io/console/user/billing">Billing</a> page, select your billing method, and load up on some credits.</p><h3>RunPod GPUs and Clouds</h3><p>RunPod provides a wide array of NVIDIA GPUs, including cards from previous generations and latest generation cards. As of January 2025, the only AMD card available is a MI300X.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*arLv1pBW09S-VVCwhgReKw.png" /><figcaption>An incomplete list of all of the NVIDIA GPUs available on RunPod</figcaption></figure><p>When choosing a GPU, you can either select the <strong>Community Cloud </strong>or the <strong>Secure Cloud. </strong>While the Community Cloud pods are typically cheaper, they are potentially less reliable, and do not have access to all of the same features (such as <a href="https://blog.runpod.io/runpod-launches-global-networking-to-enable-cross-data-center-communication/">Global Networking</a>) as the Secure Cloud pods. Each pod is priced based on the selected cloud and the compute resources available to it. GPU availability may vary by the selected cloud.</p><p>Now that we’ve explored the GPUs available on RunPod and the different clouds we can run them on, we are ready to start building a fully-functioning Open WebUI instance with Ollama for inference!</p><h3>Create an Ollama Pod</h3><p>To create an Ollama pod, use the <a href="https://runpod.io/console/deploy?template=g9aq620hfw&amp;ref=1wpnntp0">Ollama template</a>. By clicking that link, you’ll be directed to the Pod Creation page.</p><p>First, click the dropdown menu next to the Secure Cloud button in the top bar. Select the Community Cloud option. You can also change the region to deploy your pod in to reduce the connection latency from your machine to your pod.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U4_LpFdYSLtIWwafERnMgA.png" /><figcaption>I chose to deploy on the Community Cloud, and in the US region</figcaption></figure><p>Next, select the GPU you want to run your pod on. If you are not planning on running large models, I recommend picking the cheapest GPU available in the selected region(s). For the US region, I selected the Tesla V100 GPU since it was the cheapest available at the time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*BRDTEFllOg04KkhWeGzwhQ.png" /></figure><p>Once you’ve selected a GPU, you can scroll down to the Configure Deployment options. You will notice that the Ollama template is already selected. Type in a Pod Name, such as ollama-test, to identify your Ollama pod in the pods UI. Next, select the number of GPUs to attach to your pod. One GPU is enough for this tutorial, so you don’t need to add more GPUs unless you want to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3eTxQJRyxKroSWJsLXWUcw.png" /></figure><p>Finally, choose the Instance Pricing option. While Spot pods are almost half the price of On-Demand pods, they can be interrupted during times of high demand, so it’s not guaranteed your Ollama endpoint will always be available if you select this option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*mthTpeky8iBm7ts_bR4F3A.png" /></figure><p>You will seePricing Summary and Pod Summary sections at the bottom of the screen describing your costs to run the pod, and the compute resources available to the pod. If you’re happy with your decisions, click the Deploy On-Demand (or Deploy Spot if you opted for a Spot pod) to create the Ollama pod.</p><p>The deployment confirmation window appears. You’ll be redirected to your Pods page shortly, where you should see your new pod running like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hi6pKA98wphht2GBcT7aBQ.png" /></figure><p>Once the Ollama pod is in a Running status, you can click the purple drop-down arrow to see more information about the pod. RunPod includes basic metrics on this page, such as CPU, memory, disk, and GPU utilization to help you track how your pod is performing. You also have the ability to check the pod’s logs, make changes to the pod, restart it, and when you’re done using the pod, terminate it.</p><p>The most relevant button on this screen is the Connect button. This button allows you to connect to the pod, either through HTTP if a port is exposed, or through SSH if you need terminal access to the pod. If you want to SSH to the pod, you need to first <a href="https://docs.runpod.io/pods/configuration/use-ssh">upload an SSH key</a> to your RunPod account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDpKvGHGuhahXuOp0PpSoA.png" /></figure><p>Click the HTTP Service button to open your pod in a new browser tab. You should see the Ollama is running status message that you might be used to seeing if you’ve ever connected to Ollama through your web browser on localhost.</p><h3>Connecting to Ollama Pod in CLI</h3><p>Each pod that has an HTTP port exposed will have a proxy URL, which you can see in the web URL after you connect to your HTTP service. The format of the URL will be &lt;randomstring&gt;-&lt;exposedPort&gt;.proxy.runpod.net.</p><p>Using this URL, you can connect your local Ollama CLI to your remote endpoint to run Ollama models on your new pod. Copy the URL from your pod, and run the command export OLLAMA_HOST=&lt;yourURL&gt;.</p><p>As you can see from the screenshot below, the OLLAMA_HOST variable allows Ollama CLI to use a remote endpoint. Notice how my first ollama list command uses all the models I’ve pulled locally, and that after setting the environment variable, the ollama list command is now showing the (lack of) models on my pod. I finally run ollama run llama3.2:3b to get a small model up-and-running quickly, and the model from my pod is able to send me a response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NIYRyR8AxJs4jVZsLKH1qQ.png" /><figcaption>Before-and-after results of checking installed models on my local Ollama versus my RunPod Ollama</figcaption></figure><p>You now have a functional Ollama pod on RunPod!</p><h3>Create an Open WebUI Pod</h3><p>We can now take it a step further and connect the Ollama pod to an Open WebUI pod to get the most capability out of it. In addition to GPU pods, RunPod also provides <strong>CPU pods</strong> at a lower price point than GPU pods, which are great for workloads like Open WebUI.</p><p>To create an Open WebUI pod, use the <a href="https://runpod.io/console/deploy?template=dyy8vkcd91&amp;ref=1wpnntp0">Open WebUI template</a>. Like before, you’ll be directed to the Pod Creation page. While there are some functions of Open WebUI that can benefit from GPUs, the main web interface and chat functionality does not make use of GPU, so we will select a CPU pod this time.</p><p>There are multiple options for CPU pods: Compute-Optimized, General Purpose, and Memory-Optimized. For Open WebUI, theGeneral Purpose option with 2vCPUs and 8GB of memory should be sufficient. If you picked a specific region for the Ollama pod, make sure to select the same region for this pod.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sjsvQxKyu-xn6zBGXdwTqg.png" /></figure><p>Next, scroll down to the Configure Deployment options. You will notice that the Open WebUI template is already selected. Type in a Pod Name, such as open-webui-test, to identify your Open WebUI pod in the pods UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PMWu-XKg7_ZuZkut_JQ_Q.png" /></figure><p>For this pod, you will also want to click the Edit Template button. Click the Environment Variables dropdown menu, and add an environment variable. Set the variable key to OLLAMA_BASE_URLS, and the value to the URL of your Ollama pod. If you need the URL of your Ollama pod, open another RunPod tab and click Connect &gt; HTTP Service on your Ollama pod, then copy the URL from the new tab that opens. Make sure to remove the trailing / character from the pasted URL, or you might experience issues when you try to send chats from Open WebUI later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sc_MfAm-K1gbreQp9V-KnQ.png" /><figcaption>Template overrides allow you to configure pod-specific settings</figcaption></figure><p>By setting the OLLAMA_BASE_URLS environment variable, you ensure that as Open WebUI is ready to connect to your Ollama pod as soon as it’s spun up. Click Set Overrides to continue the pod setup.</p><p>The Pricing Summary and Pod Summary sections at the bottom of the screen describing your costs to run the pod, and the compute resources available to the pod. If you’re happy with your decisions, click the Deploy On-Demand to create the Open WebUI pod.</p><p>When you’re redirected to your Pods page, you should now see both the Ollama and the Open WebUI pods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qwqHlrF9ZywGbTB1v1cYcw.png" /></figure><h3>Connecting to Open WebUI</h3><p>Once the Open WebUI pod is in a Running status, you can connect to it by click the purple drop-down arrow next to the pod, and clicking Connect &gt; HTTP Service. A new tab will open with the Open WebUI front page. Click Get started at the bottom of the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F7miK7oHqZocSnSVWxcH-g.png" /><figcaption>Or you can watch the Open WebUI startup screen for inspirational messages like this one</figcaption></figure><p>You will be prompted for your name, and the email and password you want to use for your first Open WebUI admin user.</p><p>Once you create the user account, you are redirected to the chat UI. If you set up your Ollama URL correctly in environment variables and pulled models to the Ollama pod, you should already see your Ollama models in the Model drop-down menu in the top-right corner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ufKcHtq8MHuA7BBxC2ymgA.png" /><figcaption>Thanks to our template override, no extra configuration is necessary to chat with our Ollama models</figcaption></figure><p>Send the model a test message to make sure your Ollama connection is working. If you get a message back, your RunPod pods are connected successfully, and you have a fully functional open source AI platform for a great price!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_eUlbRgIXFcPsneRwf9MSA.png" /><figcaption>Llama is right about this one, but RunPod makes it easier</figcaption></figure><p>If you don’t get a message back, check out the <a href="https://docs.openwebui.com/troubleshooting/">Open WebUI Troubleshooting</a> document to help you figure out what went wrong. The most likely cause is that the Ollama proxy URL you entered in the environment variables had a typo or a trailing / character, either of which can be corrected in the Open WebUI Admin Settings.</p><h3>Wrapping Up</h3><p>In this article, we explored unlocking more GPU capacity for your open source AI workloads at a price point that won’t break the bank using RunPod. If you enjoyed this article, you may enjoy my other Medium posts about <a href="https://blog.opensourceai.dev/">Open Source AI</a>. Thank you for reading, and let me know your thoughts!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac761d14a66a" width="1" height="1" alt=""><hr><p><a href="https://blog.opensourceai.dev/deploying-a-cost-effective-open-source-ai-platform-on-runpod-ac761d14a66a">Deploying a Cost-Effective Open Source AI Platform on RunPod</a> was originally published in <a href="https://blog.opensourceai.dev/">Open Source AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Open Source RAG Workflows]]></title>
            <link>https://blog.opensourceai.dev/building-open-source-rag-workflows-f0d6b03175f7?source=rss-10cd94d92648------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0d6b03175f7</guid>
            <category><![CDATA[llamaindex]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[llmops]]></category>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[James Westbrook]]></dc:creator>
            <pubDate>Wed, 31 Jul 2024 22:27:30 GMT</pubDate>
            <atom:updated>2025-02-03T02:52:49.333Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building Open Source Database RAG Workflows</h3><p><strong>Update 12/22/2024 — This article has been updated to use Open WebUI Functions in place of Pipelines, enabling easier usage and management of the text-to-SQL pipeline!</strong></p><h3>Introduction</h3><p>Retrieval-Augmented Generation (RAG) enables LLMs to help people get the information they need from disparate data sources without needing to know where to find it, or how to build and run the SQL queries that can gather it.</p><p>Using <a href="https://ollama.com/"><strong>Ollama</strong></a><strong> </strong>as a backend, <a href="https://openwebui.com/"><strong>Open WebUI</strong></a> makes it possible to self-host your LLM workloads, enabling teams to get all the benefits of LLMs without the privacy concerns that come with using a managed provider. Thanks to the release of Open WebUI’s <a href="https://docs.openwebui.com/features/plugin/#functions"><strong>Functions</strong></a>, you can also extend the capabilities of Open WebUI to support the tools or frameworks you want to integrate it with. Using the <a href="https://openwebui.com/f/0xthresh/text_to_sql_rag_pipe"><strong>LlamaIndex Text-to-SQL Function</strong></a>, you can take advantage of the power of RAG, all using open source tools, frameworks, and models. A diagram outlining the roles of each component can be seen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLbNyuWOzIw88EVeRj0ZgA.png" /></figure><h3>Requirements</h3><p>In order to integrate database RAG with Open WebUI using this guide, you need to have the following:</p><ol><li>Docker running on your machine. <a href="https://www.docker.com/products/docker-desktop/">Docker Desktop</a> is free and is the easiest way to get started on non-server machines.</li><li>An Ollama process running, whether on your local machine (strongly preferable for inference speed on a MacBook), running Ollama on a separate server, or by using the ollama image for Open WebUI.</li><li>A running database to integrate with Open WebUI with data pre-loaded. I built a <a href="https://hub.docker.com/repository/docker/jamesopensourceai/postgres-rag-data-preloaded/general">Docker image</a> with the data from this post pre-loaded so you can test using the same dataset. If you have your own Postgres database running, feel free to connect Open WebUI to that instead!</li></ol><h3>Optional: Start Pre-Loaded Postgres Container</h3><p>If you want to use the pre-loaded Postgres Docker image, use the command below to start the container and set it to listen on port 5432:</p><pre>docker run -d -p 5432:5432 --name postgres-rag jamesopensourceai/postgres-rag-data-preloaded:latest</pre><p>You can check that the expected data is present with the command below:</p><pre>docker exec -it postgres-rag psql -U postgres -d albums -c &quot;SELECT * FROM albums ORDER BY album_id;&quot;</pre><p>The command runs a SQL query to return all of the data in the albums database, and should return the table seen below:</p><pre>album_id |        title        |  released  |     artist<br>----------+---------------------+------------+-----------------<br>        1 | Mirror              | 2009-06-24 | Awaken Demons<br>        2 | Pretzel Logic       | 1974-02-20 | Steely Dan<br>        3 | Under Construction  | 2002-11-12 | Missy Elliott<br>        4 | Return to Wherever  | 2019-07-11 | TWRP<br>        5 | The Nightfly        | 1982-10-01 | Donald Fagen<br>        6 | It&#39;s Alive          | 2013-10-15 | La Luz<br>        7 | Pure Ella           | 1994-02-15 | Ella Fitzgerald<br>        8 | We Love Open Source | 2027-07-31 | James Westbrook</pre><h3>Deploy Open WebUI</h3><p>First, you’ll need to create a .env file with the values required to connect Open WebUI to your database. The values you’ll need to set are below:</p><pre>DB_ENGINE=postgres<br>DB_HOST=host.docker.internal<br>DB_PORT=5432<br>DB_USER=postgres<br>DB_PASSWORD=testPW<br>DB_DATABASE=albums<br>DB_TABLE=albumst <br>OLLAMA_HOST=http://host.docker.internal:11434<br>TEXT_TO_SQL_MODEL=llama3.2:latest</pre><p>The DB_* environment variables are used to connect to your database instance. The DB_ENGINE should support either postgres or mysql. The OLLAMA_HOST is the hostname of the Ollama server that hosts the TEXT_TO_SQL_MODEL used for translating questions into SQL queries.</p><p>Once you create the .env file, you can use the command below to start Open WebUI:</p><pre>docker run -d -p 3000:8080 --env-file .env -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:latest </pre><p>With all the required containers and services running, you can now log into Open WebUI.</p><h3>Log In to Open WebUI</h3><p>Open WebUI will be running at https://localhost:3000. Connect to Open WebUI, and click the Sign Up button. Enter the details you want for your admin account, and click Create Account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*2triHZzpxiG_S0ZH_binUQ.png" /><figcaption>Create the account for your Open WebUI instance. Note that the account stays local to your machine.</figcaption></figure><p>Once you are signed in, make sure the model you set on your TEXT_TO_SQL_MODEL is present on your Ollama server. The Select a model option in the top left should show any models you already downloaded to Ollama. If the model isn’t present, type in the model name, such as llama3.2:latest, and pull that before going further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HC8_o38lUIW769cPcMzr_g.png" /><figcaption>Select a model in the top left menu, or pull one from Ollama.com if none are present.</figcaption></figure><h3>Import the Function</h3><p>You can import the Text to SQL Function to Open WebUI. Navigate to the function’s page on the Open WebUI community site (<a href="https://openwebui.com/f/0xthresh/text_to_sql_rag_pipe">https://openwebui.com/f/0xthresh/text_to_sql_rag_pipe</a>). Click the blue Get button on the right-hand side of the function page, and click the Import to WebUI button. This will open a new tab in your Open WebUI instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*frnz6cxjIhXqyririeL4dQ.png" /><figcaption>Import the function from the Open WebUI community site.</figcaption></figure><p>On the new tab, click the Save button in the bottom-right corner, then click the Confirm button on the window that pops up. The function will have its formatting checked, and you will be redirected back to the Functions page once it’s completed. Make sure to enable the model using the radio button on the right-hand side of the function, or else the model will not appear in the models list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DjrB7qPvevFCBfFBIztz0A.png" /><figcaption>Make sure to enable the text to SQL model</figcaption></figure><p>With the function loaded and enabled, we can now start chatting in Open WebUI to retrieve data from the SQL database. Click on the New Chat button in the top left, and select the LlamaIndex Text to SQL RAGmodel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IWf5X2Zon4wiSmvQA-hxxA.png" /><figcaption>The text to SQL function appears as a new model in the models list.</figcaption></figure><h3>Chat With Your Database</h3><p>With the function imported and required models pulled to Ollama, you should now be able to chat with the model and get information about your database. With the LlamaIndex Text to SQL RAGmodel still selected, send a message asking for data about the data in the database table you used in your environment variables.</p><p>This demo uses a table called albums that includes information about albums, such as the artist who created them and their release dates. To make sure that the RAG is working as expected, I’ve inserted a fake album into the table to ensure that the LLM’s existing knowledge won’t be able to answer. I’ve gone as far as setting the release date in the future to see what kind of response we get. You can see my questions and the LLM’s responses below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XIBwZAW1VUfiKuGeDvfIGw.png" /><figcaption>Llama3.2 already knows about my future debut album, coming 2027 🫡</figcaption></figure><p>If your connection is set up correctly and the question is well-crafted, you should get a valid response about the data in your table! Be warned though — if you are doing the Ollama inference on CPU, you can expect the response to take at least two minutes to generate. You can expect much better response times when the inference is done on GPU.</p><h3>Updating the Prompts</h3><p>The default Text-to-SQL prompt used in the function does not include any instructions specific to your database, which can lead to issues with generating the correct SQL query. An example can be seen below of the LLM having a hard time answering my question correctly:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jkXMBo-l1kbxcP3PhsPEXA.png" /></figure><p>In order to further refine the Text-to-SQL capabilities, you should experiment with different text-to-SQL prompts, potentially including examples of questions and the relevant SQL columns or queries that could be used to answer those questions. You can edit these directly within the function under the Admin Settings panel to experiment. I’ve had success adding anywhere between 5 and 10 examples of the most common questions real users might ask about the database to make the results better.</p><p>LlamaIndex also supports adding a custom synthesis prompt (<a href="https://docs.llamaindex.ai/en/stable/examples/pipeline/query_pipeline_sql/?h=response_synthesis_prompt#define-modules">example here</a>), which can help the LLM fail more gracefully when it gets an invalid SQL query, or a SQL response that is empty. This prompt can help make the user experience better when there is a failure, or help set the style and tone that the final response to the user should receive.</p><h3>Wrapping Up</h3><p>In this article, you’ve learned how to create a custom RAG workflow using Open WebUI and Functions. If you make any great improvements to the text-to-SQL pipeline code, <a href="https://github.com/0xThresh/open-webui-functions/blob/main/text_to_sql_pipeline.py">PRs are always welcome</a>! Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0d6b03175f7" width="1" height="1" alt=""><hr><p><a href="https://blog.opensourceai.dev/building-open-source-rag-workflows-f0d6b03175f7">Building Open Source RAG Workflows</a> was originally published in <a href="https://blog.opensourceai.dev/">Open Source AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitor Open WebUI with DataDog LLM Observability]]></title>
            <link>https://blog.opensourceai.dev/monitor-open-webui-with-datadog-llm-observability-620ef3a598c6?source=rss-10cd94d92648------2</link>
            <guid isPermaLink="false">https://medium.com/p/620ef3a598c6</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[open-webui]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[llmops]]></category>
            <category><![CDATA[datadog]]></category>
            <dc:creator><![CDATA[James Westbrook]]></dc:creator>
            <pubDate>Tue, 18 Jun 2024 03:51:13 GMT</pubDate>
            <atom:updated>2025-03-24T04:42:36.083Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1zBBzyYczwd6k9G_tiOyKQ.png" /><figcaption>Dashboard from monitoring LLM workloads in Open WebUI with DataDog LLM Observability</figcaption></figure><p>There are two versions of this article. This older version uses Open WebUI Pipelines; the newer article using Functions can be found here: <a href="https://medium.com/@0xthresh/monitor-open-webui-with-datadog-llm-observability-using-functions-2eeaa05fbb67">https://medium.com/@0xthresh/monitor-open-webui-with-datadog-llm-observability-using-functions-2eeaa05fbb67</a></p><h3><strong>Introduction</strong></h3><p><a href="https://openwebui.com/"><strong>Open WebUI</strong></a> makes it possible to self-host your LLM workloads, enabling teams to get all the benefits of LLMs without the privacy concerns that come with using a managed provider. Thanks to the recent release of Open WebUI’s <a href="https://github.com/open-webui/pipelines"><strong>Pipelines</strong></a>, you can also extend the capabilities of Open WebUI to support the tools you want to integrate it with.</p><p>DataDog recently released their <a href="https://docs.datadoghq.com/tracing/llm_observability/"><strong>LLM Observability</strong></a><strong> </strong>tooling, which can help give you the operational insights you need to keep your self-hosted LLM platform running smoothly. This article describes how to use Open WebUI Pipelines to send your platform’s chats and metrics to DataDog LLM Observability for monitoring.</p><h3>Requirements</h3><p>In order to integrate DataDog with Open WebUI using this guide, you need to have the following:</p><ol><li>A <a href="https://www.datadoghq.com/">DataDog</a> subscription, with an account that has permissions to create API Keys. You can sign up for a free 14-day trial with no credit card info required.</li><li>Docker running on your machine. <a href="https://www.docker.com/products/docker-desktop/">Docker Desktop</a> is free and is the easiest way to get started on non-server machines.</li></ol><h3>Deploy Open WebUI and Pipelines</h3><p>The quickest way to start Open WebUI and Pipelines is using the dev-docker.sh script in the Pipelines repo. You can get the script by cloning the Pipelines repo:</p><pre>git clone git@github.com:open-webui/pipelines.git</pre><p>To get the DataDog pipeline working on startup, you need to copy the pipeline function into the correct location. You can do that with the command below:</p><pre>cd pipelines/<br>cp examples/filters/datadog_filter_pipeline.py pipelines/</pre><p>Next, you’ll need to create a .env file in your Pipelines directory with the values required to run DataDog traces. The values you’ll need are below:</p><pre>ML_APP=pipelines-test <br>DD_API_KEY=&lt;your DataDog API key&gt;<br>DD_SITE=&lt;your DataDog region&gt;<br>DD_LLMOBS_AGENTLESS_ENABLED=1<br>DD_LLMOBS_ENABLED=1</pre><p>ML_APP should contain the name of the app that will be shown in the trace. DD_API_KEY should be set to the API key that you create in your DataDog account. DD_SITE should be set to the DataDog region your account resides in. The DD_LLM_OBS_AGENTLESS_ENABLED and DD_LLMOBS_ENABLED configure the pipeline to forward the traces to DataDog.</p><p>Once you create the .env file, you can use the commands below to start Open WebUI, Ollama, and Pipelines all at once. You’ll run two commands:</p><pre>docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -v $(pwd)/pipelines:/app/pipelines --name pipelines --restart always --env-file .env ghcr.io/open-webui/pipelines:latest<br>docker run -d -p 3000:8080 -v ~/.ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always -e OPENAI_API_BASE_URL=http://host.docker.internal:9099 -e OPENAI_API_KEY=0p3n-w3bu! ghcr.io/open-webui/open-webui:ollama</pre><p>The first command starts the Pipelines container on port 9099, and exposes it using the hostname host.docker.internal. It also loads in the values you added to your .env file as environment variables so that the DataDog traces can be sent to your account correctly. Lastly, it mounts the ./pipelines folder from your local system to /app/pipelines in the container so that the DataDog pipeline is loaded on startup.</p><p>The second command starts Open WebUI on port 8080 with Ollama integrated so that you don’t need a separate Ollama container. It also sets the OpenAI endpoint to use the Pipelines URL and sets the Pipelines API token. Lastly, if you have Ollama models pulled on your local machine in the default location, those models will be copied into the Open WebUI container.</p><p>With both containers running, you can now log into Open WebUI.</p><h3>Log In to Open WebUI</h3><p>Open WebUI will be running at localhost:3000. Connect to Open WebUI, and click the Sign Up button. Enter the details you want for your admin account, and click Create Account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*2dpX5tlCSoL70Pe2LS2D4w.png" /><figcaption>Create the account for your Open WebUI instance. Note that the account stays local to your machine.</figcaption></figure><p>First, make sure you have a model to send a message to. The Select a model option in the top left should show any models you already downloaded to your local Ollama if you had any. If not, type in a model name, such as llama3:latest, and pull that before going further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UrGOzn_GQ9KWlfgfawoB9A.png" /><figcaption>Select a model in the top left menu, or pull one from Ollama.com if none are present.</figcaption></figure><p>While the model is pulled, let’s check to make sure Open WebUI detects our Pipelines container. Click your username in the bottom left, and click Admin Panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*SEzIiMrbaECU5W32_F1e-g.png" /><figcaption>In the bottom left corner, click your username and select Admin panel.</figcaption></figure><p>On the Admin Panel page, select Settings. Click on the Connections tab, and click the Verify Connection button to the right of your OpenAI API endpoint. You should see the message below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gpyJJFu2MrrAISTZ27KdgQ.png" /><figcaption>Verifying the connection with the Pipelines container</figcaption></figure><p>Next, click the Pipelines tab. You should see the DataDog pipeline loaded in, as well as the values you added to your .env file earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qnENNfSY6_DSrFd4fcuFvg.png" /><figcaption>Pipelines configuration in Open WebUI</figcaption></figure><p>If you don’t see the file, you can manually upload it using the Upload Pipeline option from your local system. You can also pull it from the Github repo URL. Make sure your .env values are present if you had to upload the file.</p><p>With the pipeline loaded and all of the required values added, we can now start chatting with our model, and see if our traces end up in DataDog. Click on the New Chat button in the top left, and send your model a message:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qYxYiIRgN0bE_rDeTIjSSQ.png" /><figcaption>Asking the important questions in life 🦙</figcaption></figure><h3>Viewing Traces in DataDog</h3><p>If everything works as expected, you should now see traces in your DataDog account in the LLM Observability section. You can quickly access that section by typing <strong><em>https://&lt;your-region&gt;.datadoghq.com/llm/traces</em></strong><em> </em>into your browser.</p><p>You should see the message you sent in Open WebUI in DataDog. You can see my expanded trace below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*ocDtwy4jf63_1cYnzqwsVQ.png" /><figcaption>Our trace is successfully sent to DataDog!</figcaption></figure><p>You can see details such as the duration of the chat generation, the model used, input, output, user sentiment, and where the trace originated from. By extending the pipeline further, we could also get more details, such as total tokens or custom evaluations.</p><p>In addition to seeing detailed traces, DataDog also has dashboards to enable your team to see the important details about your Open WebUI and model performance. An example dashboard showing sentiment analysis and interaction counts can be seen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kvOVc2iMyP4cazqUzOJcEg.png" /><figcaption>One of many dashboards provided out of the box by DataDog</figcaption></figure><p>At this point, you’ve successfully configured your Open WebUI instance to use the DataDog Filter pipeline to forward traces to DataDog! You can continue exploring the other amazing <a href="https://github.com/open-webui/pipelines/tree/main/examples">example Pipelines</a> in Github, or continue playing with DataDog’s LLM Observability functionality.</p><p>Thanks for reading, and let me know if you have any questions!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=620ef3a598c6" width="1" height="1" alt=""><hr><p><a href="https://blog.opensourceai.dev/monitor-open-webui-with-datadog-llm-observability-620ef3a598c6">Monitor Open WebUI with DataDog LLM Observability</a> was originally published in <a href="https://blog.opensourceai.dev/">Open Source AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying Ollama and Open Web UI on Kubernetes]]></title>
            <link>https://blog.opensourceai.dev/deploying-ollama-and-open-web-ui-on-kubernetes-7a05c986153e?source=rss-10cd94d92648------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a05c986153e</guid>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[open-webui]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[James Westbrook]]></dc:creator>
            <pubDate>Thu, 16 May 2024 03:50:36 GMT</pubDate>
            <atom:updated>2024-05-24T17:35:26.674Z</atom:updated>
            <content:encoded><![CDATA[<p>After learning about self-hosted AI models and tools recently, I decided to run an experiment to find out if our team could self-host AI models and make our development teams more efficient. This article explains the architecture we’ve built to host <a href="https://ollama.com/">Ollama</a> and <a href="https://openwebui.com/">Open Web UI</a> for our team on Kubernetes, and explains how we landed on it.</p><h3>Choosing an IDE Plugin</h3><p>Before we started building anything, we wanted to find an IDE plugin that played nice with Ollama, both for Chat and code Fill-In-Middle (FIM). After evaluating a handful of options including <a href="https://sourcegraph.com/cody">Cody AI</a> and <a href="https://github.com/ex3ndr/llama-coder">Llama Coder</a>, we landed on <a href="https://github.com/rjmacarthy/twinny"><strong>Twinny</strong></a> for our devs on VS Code. (Our two IntelliJ devs are on their own.)</p><p>Cody AI is awesome, and I use it on my personal machine. For our team, we wanted to stick to open source software across the board to avoid any potential licensing issues. Llama Coder is open source and nice, but only had FIM capability when we tried it. Twinny was the only open source IDE plugin we found that did chat and autocomplete, and did them both well in our local testing. The maintainer also seems to be working hard on the plugin and responds quickly to issues, which we always like to see.</p><h3><strong>Architecture</strong></h3><p>On our first POC, we ran the Open Web UI <a href="https://github.com/open-webui/open-webui/blob/main/docker-compose.yaml">Docker Compose</a> file on an EC2 instance to test things out. This worked great for our intial POC — we got the UI up, connected Twinny to it, and got decent performance once we got the GPU drivers installed right. We knew this wasn’t going to scale well, and quickly moved onto our next phase of building everything out on Kubernetes.</p><p>We’re an AWS company, so we went for hosting these workloads on EKS. We used the <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html#gpu-ami">EKS Accelerated AMIs </a>for GPU support on our Ollama instances to save us the work of adding drivers. Make sure to follow the instructions in the linked AWS docs to deploy the NVIDIA K8s Device Plugin, which runs as a Daemon Set.</p><p>We also used the <a href="https://github.com/kubernetes-sigs/aws-load-balancer-controller">ALB Ingress Controller</a> to create ALBs from our Open Web UI Ingress annotations, the <a href="https://docs.aws.amazon.com/eks/latest/userguide/ebs-csi.html">EBS CSI Plugin</a> to handle building our Persistent Volumes, and <a href="https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/aws.md#using-helm-with-oidc">External DNS</a> to help us deploy our DNS records for access to the Web UI and its API.</p><p>For our node groups, we landed on three node groups for our initial build: the Open WebUI services would run on a node group using m5a.large instances since they don’t need GPU, and we built two separate Ollama node groups (one for FIM models and one for Chat models), both running on g5.xlarge instances. We installed the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Agent-on-EC2-Instance.html">CloudWatch Agent</a> via user data, and started collecting <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-NVIDIA-GPU.html">GPU metrics</a> to get some visibility into usage patterns and behaviors.</p><p>When we first built this out, Ollama would unload and reload models whenever a user sent a request to the model that wasn’t currently loaded in memory, which caused a 5–15 second delay before the user got a response. Ollama has since released features to <a href="https://github.com/ollama/ollama/releases/tag/v0.1.34">keep multiple models loaded</a> at once, but we’re sticking to the separate backends for separate models for now.</p><p>Lastly, to build the Ollama and Open WebUI services out, we used their respective Helm charts:</p><ul><li><a href="https://artifacthub.io/packages/helm/ollama-helm/ollama">https://artifacthub.io/packages/helm/ollama-helm/ollama</a></li><li><a href="https://artifacthub.io/packages/helm/open-webui/open-webui">https://artifacthub.io/packages/helm/open-webui/open-webui</a></li></ul><p>The <strong>Tuning</strong> section includes tips on what to include in the Helm values to get maximum performance as soon as the services come up.</p><p>An architecture diagram for our current setup can be seen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XEAMCR2fgJ3nF2eJhceJAw.png" /><figcaption>Our current Open WebUI/ Ollama architecture</figcaption></figure><h3>Fine Tuning</h3><p>With our setup in a more production-ready state, we’ve opened it up to a small pilot group who’s testing it out daily. With users coming in, we started getting reports of delays before we got any responses or code auto-fill for users.</p><p>We found that Ollama was only capable of responding to one request at a time, which defeated the purpose of exposing it to multiple people. Thankfully in the 1.34 release of Ollama, they added the OLLAMA_NUM_PARALLEL option, which enables Ollama to respond to multiple requests at once. <strong>I set this value to 10, </strong>and saw that on the g5.2xlarge instances, getting 10 responses concurrently worked pretty well, with only a minor slowdown. We’re starting to work on gathering metrics that will enable us to scale our Ollama deployments when they’re under high use, but haven’t gotten there yet.</p><p>The other value you may want to add to your Ollama Helm chart is the ollama.models value. This allows you to pre-load any models that Ollama service will host, saving the first users some time.</p><h3>Wrapping Up</h3><p>I am very likely to come back and make updates to this blog post with more info, and as we make more progress on it. I’m also hoping to have some sample code available as a starting point in the future, but can’t make any promises there.</p><p>If you have any thoughts or questions, feel free to reach out to me at 0xthresh@proton.me and I’ll try to get back to you.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a05c986153e" width="1" height="1" alt=""><hr><p><a href="https://blog.opensourceai.dev/deploying-ollama-and-open-web-ui-on-kubernetes-7a05c986153e">Deploying Ollama and Open Web UI on Kubernetes</a> was originally published in <a href="https://blog.opensourceai.dev/">Open Source AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>