Divooka Reference

Ollama

5 nodes

On this page 5

Analyze Image Async

Function

This node carries no documentation.

Signature
AnalyzeImageAsync -> Text
    model: Text
    prompt: Text
    imagePath: Text
string AnalyzeImageAsync(
    string model,
    string prompt,
    string imagePath)

Parameters

nametypedefaultdescription
modelText—
promptText—
imagePathText—

Returns

resultText

Remarks

TODO: Not working yet - we will only get a response with thinking but not content and is not done.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Ollama
Package
Generative AI

Analyze Image Async Streaming

Function

This node carries no documentation.

Signature
AnalyzeImageAsyncStreaming -> LegacyOllamaHelper.OllamaThinkingOutput
    model: Text
    prompt: Text
    imagePath: Text
LegacyOllamaHelper.OllamaThinkingOutput AnalyzeImageAsyncStreaming(
    string model,
    string prompt,
    string imagePath)

Parameters

nametypedefaultdescription
modelText—
promptText—
imagePathText—

Returns

resultLegacyOllamaHelper.OllamaThinkingOutput
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Ollama
Package
Generative AI

Configure Ollama

Function

This node carries no documentation.

Signature
ConfigureOllama -> LegacyOllamaHelper.OllamaConfiguration
    model: Text
    endpoint: Text
    serviceToken: Text
LegacyOllamaHelper.OllamaConfiguration ConfigureOllama(
    string model = "llama3.1",
    string endpoint = "http://localhost:11434",
    string serviceToken)

Parameters

nametypedefaultdescription
modelTextllama3.1
endpointTexthttp://localhost:11434
serviceTokenText—Required for Methodox One services.

Returns

resultLegacyOllamaHelper.OllamaConfiguration
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Ollama
Package
Generative AI

Ollama Chat

Function

This node carries no documentation.

Signature
OllamaChat -> Text
    system: Text
    user: Text
    configuration: LegacyOllamaHelper.OllamaConfiguration
string OllamaChat(
    string system,
    string user,
    LegacyOllamaHelper.OllamaConfiguration configuration)

Parameters

nametypedefaultdescription
systemText—
userText—
configurationLegacyOllamaHelper.OllamaConfiguration—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Ollama
Package
Generative AI

Ollama Complete

Function

This node carries no documentation.

Signature
OllamaComplete -> Text
    prompt: Text
    configuration: LegacyOllamaHelper.OllamaConfiguration
string OllamaComplete(
    string prompt,
    LegacyOllamaHelper.OllamaConfiguration configuration)

Parameters

nametypedefaultdescription
promptText—
configurationLegacyOllamaHelper.OllamaConfiguration—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Ollama
Package
Generative AI