Skip to main content

Ollama Model

This section explains how to create, configure, and test an Ollama Model data source in DataDios. Ollama is an open-source tool that allows you to run large language models (LLMs) locally. By configuring Ollama as a data source, you can integrate local AI models into your DataDios workflows.


Prerequisites​

Before configuring an Ollama data source, ensure:

  1. Ollama is installed and running on your local machine or a server accessible from DataDios
  2. At least one model is pulled (e.g., ollama pull mistral:7b-instruct-q4_0)
  3. The Ollama API is accessible via the configured host and port. Ollama's own default is host http://localhost with port 11434 — the new UI takes these as two separate fields.

Steps to Create and Test an Ollama Data Source​

Step 1: Navigate to Data Sources​

  1. Navigate to Data Explorer from the left navigation menu.
  2. The Data Management page lists every connection. The left Catalog panel groups them by category — existing Ollama connections live under Gen AI Models.

Step 2: Create a Data Source​

  1. Click + Add connection in the top-right corner. The Create data source dialog opens.
  2. Under Identity, enter a Name for the connection (e.g., QuickStartOllama).
  3. Select Ollama Model from the searchable Type dropdown — it is listed under the Gen AI Models group.

Data Explorer sources list with Add connection


Step 3: Fill Connection Details​

Under Identity, provide:

  • Name: a unique name for your Ollama data source (e.g., QuickStartOllama) (required)

In the Connection Parameters section, provide:

  • Project Name: project identifier used to organize your models (e.g., ollam_local)
  • Model Name: the chat model to use, picked from the built-in catalog (required — see Available Ollama models)
  • Embedding Model: the embedding model for vector and RAG operations — mxbai-embed-large, nomic-embed-text or all-minilm
  • Host: the Ollama server URL, including the scheme and without the port (e.g., http://localhost or http://<server-ip>) (required)
  • Port: the port the Ollama API is served on — the field is prefilled with 8080, so change it to your Ollama port (Ollama's own default is 11434) (required)

Ollama Model connection form

The dialog also carries Drift, Lineage and Workload tabs. These are optional and can be turned on later from Edit:

  • Workload — toggle Enable workload analysis (and optionally Enable insight extraction), then select the LLM Usage Workload workflow to collect model usage statistics.
  • Drift and Lineage behave as they do for other connection types.

Ollama has no Profiling tab.


Step 4: Test Connection​

Click Test Connection to confirm DataDios can reach the Ollama API and load the selected model.

If the test fails, verify:

  • The Ollama service is running (ollama serve)
  • The Host and Port are correct and reachable from the DataDios server
  • The selected model has been pulled on that server (ollama list)

Step 5: Save Data Source​

If the test succeeds, click Create. You land back on the Sources list, and the new connection appears under the Gen AI Models category in the left Catalog panel.


Step 6: Update Data Source (Optional)​

To modify an existing Ollama data source:

  1. Click the Edit connection (pencil) icon in the Actions column of its row. The Edit data source dialog opens with the current values.
  2. Update the connection parameters as needed.
  3. Click Test Connection to verify the updated configuration.
  4. Click Save to apply the changes.

Available Ollama Models​

Model Name is a picker, not a free-text field. The catalog it offers is:

Ollama model catalog in the Model Name dropdown

ModelUse case
mistral:7b-instruct-q4_0General purpose chat — the default selection
mistral:7b-instruct-v0.2Newer Mistral instruction-tuned build
llama3:8b-instructGeneral purpose reasoning and chat
mixtral:8x7b-instructMixture-of-experts model for harder reasoning
gemma:2b-instructSmall general purpose model
phi3:mini-4k-instructSmall model with a 4k context window
tinyllama:1.1bSmallest option, for constrained hardware
codellama:7b-instructCode generation
codellama:13b-instructCode generation, larger
codellama:34b-instructCode generation, largest
deepseek-coder:6.7b-instructCode generation and analysis
deepseek-coder:33b-instructCode generation and analysis, larger
wizardcoder:13b-pythonPython-specialised code generation

Embedding Model offers:

ModelDescription
mxbai-embed-largeHigh-quality text embeddings
nomic-embed-textFast, efficient embeddings
all-minilmCompact embeddings for constrained hardware

Whichever model you pick must already be pulled on the Ollama server (ollama pull <model>), otherwise Test Connection fails.


Using Ollama with AI Studio​

Once configured, you can use your Ollama data source in AI Studio for:

  • Natural language queries on your data
  • Text generation and completion
  • Document analysis and summarization
  • Code generation assistance

For detailed information, refer to the AI Studio documentation.


Best Practices​

  1. Use Local Network for better performance when running Ollama on a local server
  2. Choose Appropriate Models based on your hardware capabilities — tinyllama:1.1b or gemma:2b-instruct for limited resources, mixtral:8x7b-instruct only where there is memory for it
  3. Pull the model first — the catalog lists what DataDios can select, not what your server already has
  4. Test Connection before saving to ensure the Ollama server is accessible
  5. Monitor Resource Usage as LLMs can be memory-intensive
  6. Keep Models Updated by periodically pulling the latest versions (ollama pull <model>)

Troubleshooting​

IssueSolution
Connection refusedEnsure Ollama is running with ollama serve
Model not foundPull the model first: ollama pull <model_name>
Timeout errorsCheck network connectivity and firewall settings
Out of memoryUse a smaller quantized model or increase system RAM