Ollama · emploidai Marketplace
emploidai Marketplace
Add-onsAppletsPlugins
Search tools, teams, and capabilitiesPublish
MarketplacePluginsOllama
Plugin
Limited listing

Ollama

by langgenius · v1.0.0

Ollama

911k installsUpdated Jun 9, 2026
Publisher information is incomplete

This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.

Capabilities

Models

Available inside your emploidai workspace after installation.

Data sources

Available inside your emploidai workspace after installation.

Category

model

Version

1.0.0langgenius

Requirements

Maximum memory 256MB

Pricing

Not disclosed by publisher

Security & access

Review before installing

CompatibleRequires emploidai 1.0.0+

Permissions

  • Uses model capability

Dependencies

No additional dependencies

emploidai Marketplace

Discover capabilities. Review access. Install inside your workspace.

DocumentationSecuritySupportPrivacyTerms

Overview

Ollama runs open models locally on macOS, Windows, and Linux, and also exposes the same API for Ollama cloud models. This Dify plugin integrates Ollama chat/completion models, vision-capable models, text embeddings, tool calling, streamed responses, and thinking output.

Use the Ollama host root as the Base URL. For a local server, use http://localhost:11434 or another reachable host root. For Ollama cloud models, use https://ollama.com and provide an Ollama API key. Do not include /api in the Base URL because the plugin appends /api/chat, /api/generate, and /api/embed.

Capabilities

CapabilitySupportNotes
StreamingYesOllama streams chat and generate responses as newline-delimited JSON. Dify receives incremental content, thinking output, and streamed tool calls.
ThinkingYesEnable Think for boolean thinking models. Use Think Level with low, medium, or high for GPT-OSS models.
VisionYesEnable Vision support for multimodal models such as gemma3 or other Ollama vision models. Images are sent as base64 through Ollama's images array.
EmbeddingsYesUse model type Text Embedding. The plugin calls /api/embed and sends batched input with truncate: true.
Tool callingYesEnable Function call support for tool-capable chat models. The plugin supports single, parallel, multi-turn, and streamed tool calls through Dify agents.
Web searchExternal APIOllama provides cloud web_search and web_fetch APIs, but Dify model-provider plugins cannot package tool providers. Use a separate Dify tool plugin or external workflow when an agent needs web search.
RerankCompatible endpointOllama does not provide a native rerank endpoint. Use an OpenAI-compatible rerank service and configure its full rerank URL.

Configure Ollama Models

1. Install Ollama

Download Ollama from ollama.com/download.

2. Run a Model

Pull or run the model you want to use:

ollama run gemma3
ollama pull qwen3
ollama pull embeddinggemma

After startup, the local API is available at http://localhost:11434.

3. Install the Plugin

In Dify, go to the Marketplace and install the Ollama plugin.

4. Add an LLM Model

Go to Settings > Model Providers > Ollama and add a model.

  • Model Name: for example gemma3, qwen3, deepseek-r1, or gpt-oss
  • Base URL: http://<your-ollama-host>:11434 for local Ollama, or https://ollama.com for Ollama cloud
  • API Key: optional for local deployments; required for Ollama cloud
  • Model Type: Chat for tool calling, vision, and multi-turn chat
  • Model Context Length: match the model context window
  • Upper bound for max tokens: the maximum num_predict value Dify should allow
  • Vision support: choose Yes only for vision-capable models
  • Function call support: choose Yes only for tool-capable models

For Docker deployments, use a host address reachable from the Dify container, such as http://host.docker.internal:11434 or a LAN IP address.

5. Use Thinking

In model parameters:

  • Set Think to enable or disable Ollama's think field for models that accept booleans.
  • Set Think Level to low, medium, or high for GPT-OSS models. When set, it overrides Think.

Thinking output is preserved in Dify responses with <think>...</think> so it can be displayed, hidden, or passed back in tool loops.

6. Use Vision

Use a vision model and set Vision support to Yes. Dify image inputs are sent to Ollama in the message images array. The Ollama REST API expects base64 image data.

7. Use Tool Calling

Use a tool-capable chat model and set Function call support to Yes. Dify will pass available tools to Ollama, execute returned tool calls, and send tool results back with Ollama's tool_name message field.

Streaming tool calls are supported. The plugin accumulates streamed thinking, content, and tool_calls so the next agent turn can continue the tool loop.

Configure Embeddings

Add a model with Model Type Text Embedding.

Recommended Ollama embedding models include:

  • embeddinggemma
  • qwen3-embedding
  • all-minilm

The plugin sends arrays of text to /api/embed, which returns L2-normalized vectors.

Ollama Web Search

Ollama web search and web fetch are cloud APIs. They require an Ollama account and API key, and they are separate from the local model server endpoints.

This plugin is a model provider, so it does not include Ollama web search as bundled Dify tools. To use web search with an Ollama model in a Dify agent, configure a separate search tool or dedicated Ollama web tool plugin, then enable Function call support on the Ollama chat model so it can call the external tool.

Configure Rerank

Ollama does not currently provide a native rerank model endpoint. To use rerank in this plugin, deploy a compatible rerank service such as llama.cpp, vLLM, TEI, or Xinference and configure the full rerank endpoint URL.

  • Model Name: for example Qwen3-Reranker
  • Base URL: either an Ollama-style host root or a full rerank endpoint URL
  • Model Type: Rerank
  • Model Context Length: match the rerank model

If the URL does not end with /rerank, the plugin appends /api/rerank.

References

  • Ollama documentation
  • Ollama API reference
  • Ollama model library
  • Dify local Ollama guide