For data security and other concerns, in many cases companie’s would like to host the LLM and AI on their own servers and not use the AI provided by BI provider. Most of the other BI products, open soruce and proprietary, bind and force you to use their LLM only.

Not Helical Insight. We even give you an option to self host the LLM (GenAI) locally also, and then connect to it via Ollama. You have full control and ownership of the data and applications. Not even a single bit of data will go outside. In this blog we are going to cover how to do the same.

Note: This guide uses example values (container names, paths, the qwen2.5-coder:3b model, and UI labels). Replace them with the values from your own installation. Menus, configuration files, and YAML structure can differ between Helical Insight versions, so always compare against the files shipped with your version.

How it fits together

Instant BI sends your question to the LLM provider you configure. In this guide, that provider is an Ollama container running on the same machine.

📊

Instant BI

Helical Insight (app or container)

→
🔌

Ollama API

http://host.docker.internal:11434

→
🧠

Local model

e.g. qwen2.5-coder:3b

Setup roadmap

Step What you do Where
1 Start Ollama in Docker Command Prompt / PowerShell
2 Download a model Command Prompt / PowerShell
3 Verify Ollama on the host Command Prompt / PowerShell
4 Verify Helical Insight can reach Ollama Command Prompt / PowerShell
5 Register the model in the catalog file Helical Insight server
6 Configure the Ollama provider Helical Insight web UI
7 Confirm Instant BI is ready Helical Insight web UI

Before you begin

Prerequisites

Two separate downloads

People often mix these up. You will download two different things:

Download Command What it gets you
Ollama image docker pull ollama/ollama The Ollama application (the container image)
Model ollama pull <model-tag> The LLM itself (the brain Ollama runs)

Step 1 | Start Ollama in Docker

Open Command Prompt or PowerShell and run the following two commands.

1. Download the Ollama image

docker pull ollama/ollama

2. Start the container

docker run -d --name ollama -v ollama:/root/.ollama -p 11434:11434 ollama/ollama

What the options mean:

Option Purpose
-d Runs the container in the background.
--name ollama Names the container so later commands can refer to it.
-v ollama:/root/.ollama Stores models in a named Docker volume so they survive restarts and re-creation.
-p 11434:11434 Publishes the Ollama API on port 11434 of your machine.

Important: If you see an error that the name “ollama” is already in use, the container already exists. Do not run docker run again. Check it with docker ps -a, and if it is stopped, start it with docker start ollama.

Optional: Have an NVIDIA GPU? Adding --gpus=all to the docker run command can speed up responses significantly. This requires GPU support to be set up in Docker first. CPU-only works fine for small models.

Step 2 | Download a model

Pick a model that fits your available memory. This guide uses qwen2.5-coder:3b, a small coding-oriented model that suits generating SQL and runs on modest hardware. Download it into the running container:

docker exec -it ollama ollama pull qwen2.5-coder:3b

When the download finishes, list the installed models:

docker exec ollama ollama list

Important:

We should ONLY use a model which is chat based.

Note the exact model name shown, including any suffix such as :3b or :latest. The name you enter in Helical Insight later must match it character for character.

Step 3 | Verify Ollama on the host

Confirm the container is running, then test the API from Windows.

Check the container is running

docker ps

List models through the API

curl.exe http://127.0.0.1:11434/api/tags

Expected result: HTTP 200 and a JSON response containing a models array that includes your model.

Now test that the model can actually generate text. Use the version for your shell:

Command Prompt

curl.exe http://127.0.0.1:11434/api/generate -H "Content-Type: application/json" -d "{\"model\":\"qwen2.5-coder:3b\",\"prompt\":\"Write SELECT * FROM employees;\",\"stream\":false}"

PowerShell

Invoke-RestMethod -Uri http://127.0.0.1:11434/api/generate -Method Post `

  -ContentType "application/json" `

  -Body '{"model":"qwen2.5-coder:3b","prompt":"Write SELECT * FROM employees;","stream":false}'

Note: The first request can take noticeably longer because the model has to load into memory. Later requests are faster. If you installed a different model, change the model name in the command.

Step 4 | Verify Helical Insight can reach Ollama

Helical Insight must be able to reach Ollama from its own runtime, which is not always the same as your browser or Windows. If Helical Insight runs in Docker and Ollama’s port is published on the Windows host, use the special hostname host.docker.internal.

First, find the name of your Helical Insight application container:

docker ps

Then test the connection from inside that container:

docker exec <HELICAL_APPLICATION_CONTAINER> curl -sS http://host.docker.internal:11434/api/tags

Expected result: A JSON response listing your model confirms that Helical Insight can reach Ollama.

The Base URL to use for this arrangement (Docker Desktop on Windows) is:

http://host.docker.internal:11434

Troubleshooting: If host.docker.internal does not resolve (common on Linux Docker Engine), start the Helical Insight container with --add-host=host.docker.internal:host-gateway, or use an address that is reachable from that container.

If curl is not installed in the Helical Insight container, run the same test from another container or from the server where Helical Insight runs.

Step 5 | Register the model in the catalog file

The list of models shown in Instant BI comes from a server-side catalog file, not only from the web interface. To make a new Ollama model appear, add its exact tag to this file.

1. Open the Instant BI configuration folder on the Helical Insight server (path shown is an example and may differ in your version):

cd <HELICAL_INSTALL_DIR>/hi/hi-repository/System/InstantBI

ls

nano llm_models_catalog.yaml

2. Find the langchain-ollama section and add your model on a new line, matching the indentation and format of the entries around it. For example:

Example (your list may differ)

langchain-ollama:

  - deepseek-coder-v2

  - llama3.2

  - llama3.1

  - mistral

  - qwen2.5-coder:3b      # <- your model, exact tag from 'ollama list'

  - codellama

Connect a Local self hosted LLM via Ollama LLM to Instant BI AI module of open source BI Helical Insight

Figure 1. The catalog file in the nano editor. The langchain-ollama section lists the available Ollama models, including qwen2.5-coder:3b.

3. Save and exit. In nano: press Ctrl+O, then Enter to save, then Ctrl+X to exit.

4. Reload if required. If the model list does not refresh on its own, follow the restart or reload procedure approved for your Helical Insight deployment.

Important: Edit only the langchain-ollama list. Do not change other provider sections or replace the whole file with a sample.

YAML is sensitive to indentation. Use spaces, not tabs, and copy the pattern of the existing entries. Entry structure can vary by version, so follow an existing entry from your own file.

Step 6 | Configure the Ollama provider in the web UI

Open the provider settings

  1. Sign in to Helical Insight as an administrator.
  2. Open the Instant BI tab in the administration area.
  3. Select LLM Providers.
  4. Click the Ollama provider card to edit it.

Connect a Local self hosted LLM via Ollama LLM to Instant BI AI module of open source BI Helical Insight

Figure 2. LLM Providers page. Provider types and labels vary by version and configuration. Click the Ollama card to configure it.

Fill in the provider fields

In the Edit Provider (ollama) dialog, set the following:

Field What to enter
Provider ID ollama. Keep the existing value unless your deployment requires otherwise.
Model Select your model, e.g. qwen2.5-coder:3b. It must match the catalog entry and the tag in ollama list.
Set as default provider Tick only if Instant BI should use this model by default.
API Key Leave blank for a local Ollama unless your environment requires a key.
Temperature 0.1 is a good starting point. Lower values give more consistent, predictable answers, which suits data queries.
Base URL The address Helical Insight uses to reach Ollama. See the table below.

Connect a Local self hosted LLM via Ollama LLM to Instant BI AI module of open source BI Helical Insight

Figure 3. The Edit Provider (ollama) dialog. The Base URL shown (localhost) is only an example; use the one that works for your setup.

Choose the right Base URL

The correct Base URL depends on where Helical Insight and Ollama each run. Pick the row that matches your setup:

Your setup Base URL
Helical Insight in Docker, Ollama in Docker with port published on a Windows host http://host.docker.internal:11434
Helical Insight and Ollama both run directly on the same machine (no containers) http://localhost:11434
Both in containers on the same user-defined Docker network (e.g. Docker Compose) http://ollama:11434 (use the container or service name)
Ollama on a different machine http://<server-ip-or-hostname>:11434

Important: localhost inside a container points to that container itself, not to your PC. Whatever Base URL you choose, always test /api/tags from the Helical Insight runtime (Step 4) before saving.

Click Save when done.

Step 7 | Confirm Instant BI is ready

  1. Open Instant BI from the Helical Insight home page.
  2. Make sure a semantic model is selected or connected (the cube icon in the prompt box). Click the link to learn how to create semantic model.
  3. Ask a question about your data, or click one of the suggested questions.
  4. Check that Instant BI returns an answer using your Ollama model.

Connect a Local self hosted LLM via Ollama LLM to Instant BI AI module of open source BI Helical Insight

Figure 4. Instant BI ready for use. Suggested questions depend on the connected semantic model and its metadata, and the interface may vary by version.

Tip: Before rolling this out to other users, run a short test prompt. A model can install successfully but still fail at answer time if there is not enough RAM available.

Troubleshooting

Symptom Likely cause What to do
Model not found (HTTP 404) Model name differs from the installed tag. Run docker exec ollama ollama list. Use that exact tag in the catalog and in Instant BI, e.g. qwen2.5-coder:3b, not qwen2.5-coder.
Connection refused or reset Container stopped, port not published, or wrong URL. Run docker ps -a and docker logs --tail 100 ollama. Check the port with docker port ollama. Test http://127.0.0.1:11434/api/tags on Windows, then http://host.docker.internal:11434/api/tags from the Helical container.
Container name already in use An “ollama” container already exists. Run docker ps -a, then docker start ollama. Do not re-run docker run.
Model killed or fails to load Not enough memory. Check docker stats ollama --no-stream and the Docker Desktop resource limits. Use a smaller model. Remember that the memory needed to run a model is more than its download size.
First answer is very slow Model is loading into memory. Wait for the first request to finish. Later requests are faster. A smaller model or a GPU also helps.
Model works in the API but not in the UI Not registered, catalog not reloaded, or wrong name or URL. Check llm_models_catalog.yaml against your version’s existing entries, apply the required reload, and verify the model name and Base URL in the provider dialog.

Keep your models: Do not delete the Docker volume (ollama) if you want to keep your downloaded models. Removing the container is safe as long as the volume stays.

Quick reference

Item Example value
Ollama container name ollama
Published API port 11434
Windows test URL http://127.0.0.1:11434/api/tags
Helical Insight to Ollama URL http://host.docker.internal:11434
Example model tag qwen2.5-coder:3b
Catalog file hi/hi-repository/System/InstantBI/llm_models_catalog.yaml
Docker volume (models) ollama:/root/.ollama

Key points to remember

  • The model name in Helical Insight must match the Ollama tag exactly, including suffixes like :3b or :latest.
  • localhost does not work across containers. Always test from the Helical Insight runtime.
  • Keep the ollama Docker volume so downloaded models survive container re-creation.
  • Add catalog entries by following the existing YAML structure. Never replace the whole file.
  • Before production use, review your organization’s security policies, resource allocation, model licensing, and data-handling requirements.

In case if you have any questions, please raise the questions on forum.helicalinsight.com.

Leave a Reply

Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered