Duaer

Integrations

Use Ollama in Duaer

In Duaer, Ollama is an AI root node: message local models and analyze images with Ollama. It takes Tool sub-nodes.

Add Ollama to a Duaer workflow

  1. On the Duaer canvas, open the node panel, search for Ollama, and connect it after the previous node.
  2. Connect the sub-nodes it needs to the inputs under Ollama (Tool), starting with a Tool.
  3. In Credential to connect with, pick or create an Ollama credential. Refer to Ollama credentials.
  4. Pick a Resource and an Operation. For example, to take in images and answer questions about them, pick Image and Analyze Image.
  5. Fill the fields that operation shows, such as Model, Text Input, Input Type, and Simplify Output.
  6. Select Execute step and check the output.

Ollama operations in Duaer

The Ollama node in Duaer offers these operations, grouped by resource:

  • Image › Analyze Image: Take in images and answer questions about them.
  • Text › Message a Model: Send a message to Ollama model.

Sub-nodes Ollama takes in Duaer

Connect sub-nodes to the inputs under Ollama: Tool. Each sub-node keeps its own credential and settings.

Use Ollama as a tool for an AI Agent in Duaer

In the Tool input of an AI Agent, search for Ollama and add it. The agent decides when to call it. For a field the model should fill, select the sparkle next to it or write $fromAI('name', 'what to put here'); fixed values stay as you set them.

Call a Ollama endpoint the node does not cover

Add an HTTP Request node, set Authentication to Predefined Credential Type, pick Ollama as the credential type, and select the same credential. Duaer signs the request with it, so you only fill in the method and URL. Refer to custom operations.

Questions

Which Ollama operations does Duaer support?

Duaer's Ollama node offers 2 operations on Image and Text. For example, Image has Analyze Image.

Which credential does Ollama use in Duaer?

Duaer's Ollama uses an Ollama credential. The secret stays in the credential, not in node parameters.

In this section