Divooka Reference

NVIDIA NIM

13 nodes

On this page 13

Configure Bria AI

Function

Configures the Bria AI model for text-to-image generation.

Signature
ConfigureBriaAI -> BriaAIConfiguration
    aspectRatio: Text
    cfgScale: Integer
    negativePrompt: Text
    outputFormat: Text
    seed: Integer
    steps: Integer
BriaAIConfiguration ConfigureBriaAI(
    string aspectRatio = "1:1",
    int cfgScale = 5,
    string negativePrompt = "",
    string outputFormat = "jpeg",
    int seed = 0,
    int steps = 50)

Parameters

nametypedefaultdescription
aspectRatioText1:1
cfgScaleInteger5
negativePromptText—
outputFormatTextjpeg
seedInteger0
stepsInteger50

Returns

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

Configure Deep Seek

Function

Configures the DeepSeek R1 model with default parameters.

Signature
ConfigureDeepSeek -> DeepSeekConfiguration
    temperature: Low Accuracy Number
    topP: Low Accuracy Number
    maxTokens: Integer
    stream: Truth
    frequencyPenalty: Low Accuracy Number
    presencePenalty: Low Accuracy Number
DeepSeekConfiguration ConfigureDeepSeek(
    float temperature = 0.6f,
    float topP = 0.7f,
    int maxTokens = 4096,
    bool stream = false,
    float frequencyPenalty = 0f,
    float presencePenalty = 0f)

Parameters

nametypedefaultdescription
temperatureLow Accuracy Number0.6
topPLow Accuracy Number0.7
maxTokensInteger4096
streamTruthFalse
frequencyPenaltyLow Accuracy Number0
presencePenaltyLow Accuracy Number0

Returns

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

Configure Fuyu8b

Function

Configures the Fuyu8B multi-modal model with customizable parameters.

Signature
ConfigureFuyu8B -> Fuyu8bConfiguration
    temperature: Low Accuracy Number
    topP: Low Accuracy Number
    maxTokens: Integer
    stream: Truth
Fuyu8bConfiguration ConfigureFuyu8B(
    float temperature = 0.2f,
    float topP = 0.7f,
    int maxTokens = 1024,
    bool stream = false)

Parameters

nametypedefaultdescription
temperatureLow Accuracy Number0.2
topPLow Accuracy Number0.7
maxTokensInteger1024
streamTruthFalse

Returns

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

Configure Gemma2b

Function

Configures the Google Gemma 2B model with default parameters.

Signature
ConfigureGemma2B -> Gemma2bConfiguration
    temperature: Low Accuracy Number
    topP: Low Accuracy Number
    maxTokens: Integer
    stream: Truth
    frequencyPenalty: Low Accuracy Number
    presencePenalty: Low Accuracy Number
Gemma2bConfiguration ConfigureGemma2B(
    float temperature = 0.6f,
    float topP = 0.7f,
    int maxTokens = 4096,
    bool stream = false,
    float frequencyPenalty = 0f,
    float presencePenalty = 0f)

Parameters

nametypedefaultdescription
temperatureLow Accuracy Number0.6
topPLow Accuracy Number0.7
maxTokensInteger4096
streamTruthFalse
frequencyPenaltyLow Accuracy Number0
presencePenaltyLow Accuracy Number0

Returns

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

Configure Kosmos2

Function

Configures the Kosmos 2 model with default parameters.

Signature
ConfigureKosmos2 -> Kosmos2Configuration
    temperature: Low Accuracy Number
    topP: Low Accuracy Number
    maxTokens: Integer
    stream: Truth
Kosmos2Configuration ConfigureKosmos2(
    float temperature = 0.2f,
    float topP = 0.7f,
    int maxTokens = 1024,
    bool stream = false)

Parameters

nametypedefaultdescription
temperatureLow Accuracy Number0.2
topPLow Accuracy Number0.7
maxTokensInteger1024
streamTruthFalse

Returns

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

Configure Llama3

Function

Configures the LLaMA3 model with customizable parameters.

Signature
ConfigureLlama3 -> Llama3Configuration
    temperature: Low Accuracy Number
    topP: Low Accuracy Number
    maxTokens: Integer
    stream: Truth
    frequencyPenalty: Low Accuracy Number
    presencePenalty: Low Accuracy Number
Llama3Configuration ConfigureLlama3(
    float temperature = 0.6f,
    float topP = 0.7f,
    int maxTokens = 4096,
    bool stream = false,
    float frequencyPenalty = 0f,
    float presencePenalty = 0f)

Parameters

nametypedefaultdescription
temperatureLow Accuracy Number0.6
topPLow Accuracy Number0.7
maxTokensInteger4096
streamTruthFalse
frequencyPenaltyLow Accuracy Number0
presencePenaltyLow Accuracy Number0

Returns

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

Configure Mistral7b

Function

Configures the Mistral7B model with customizable parameters.

Signature
ConfigureMistral7B -> Mistral7bConfiguration
    temperature: Low Accuracy Number
    topP: Low Accuracy Number
    maxTokens: Integer
    stream: Truth
    frequencyPenalty: Low Accuracy Number
    presencePenalty: Low Accuracy Number
Mistral7bConfiguration ConfigureMistral7B(
    float temperature = 0.3f,
    float topP = 1f,
    int maxTokens = 1024,
    bool stream = false,
    float frequencyPenalty = 0f,
    float presencePenalty = 0f)

Parameters

nametypedefaultdescription
temperatureLow Accuracy Number0.3
topPLow Accuracy Number1
maxTokensInteger1024
streamTruthFalse
frequencyPenaltyLow Accuracy Number0
presencePenaltyLow Accuracy Number0

Returns

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

Configure NIM

Function

Configures the NVIDIA NIM API by providing the necessary API key and model selection.

Overload 1 of 2

Signature
ConfigureNIM -> NIM Configuration
    apiKey: Text
    model: NIM Allowed Models
NIMConfiguration ConfigureNIM(
    string apiKey,
    NIMConfiguration.NIMAllowedModels model = NIMAllowedModels.LLaMA3_70B_Instruct)

Parameters

nametypedefaultdescription
apiKeyText—The API key used to authenticate with the NIM API.
modelNIM Allowed ModelsLlama 3 70B InstructModel selection with default parameters.

Returns

resultNIM Configuration

Overload 2 of 2

Signature
ConfigureNIM -> NIM Configuration
    apiKey: Text
    model: NIMConfiguration.NIMModelConfiguration
NIMConfiguration ConfigureNIM(
    string apiKey,
    NIMConfiguration.NIMModelConfiguration model)

Parameters

nametypedefaultdescription
apiKeyText—The API key used to authenticate with the NIM API.
modelNIMConfiguration.NIMModelConfiguration—The NIM model configuration used for inference.

Returns

resultNIM Configuration
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
NVIDIA NIM
Package
Generative AI

Configure Phi3

Function

Configures the Phi3 model with customizable parameters.

Signature
ConfigurePhi3 -> Phi3Configuration
    temperature: Low Accuracy Number
    topP: Low Accuracy Number
    maxTokens: Integer
    stream: Truth
    frequencyPenalty: Low Accuracy Number
    presencePenalty: Low Accuracy Number
Phi3Configuration ConfigurePhi3(
    float temperature = 0.6f,
    float topP = 0.7f,
    int maxTokens = 4096,
    bool stream = false,
    float frequencyPenalty = 0f,
    float presencePenalty = 0f)

Parameters

nametypedefaultdescription
temperatureLow Accuracy Number0.6
topPLow Accuracy Number0.7
maxTokensInteger4096
streamTruthFalse
frequencyPenaltyLow Accuracy Number0
presencePenaltyLow Accuracy Number0

Returns

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

Configure Sd3

Function

Configures the SD3 (Stable Diffusion 3) model for text-to-image generation.

Signature
ConfigureSD3 -> SD3Configuration
    aspectRatio: Text
    cfgScale: Integer
    negativePrompt: Text
    outputFormat: Text
    seed: Integer
    steps: Integer
SD3Configuration ConfigureSD3(
    string aspectRatio = "1:1",
    int cfgScale = 5,
    string negativePrompt = "",
    string outputFormat = "jpeg",
    int seed = 0,
    int steps = 50)

Parameters

nametypedefaultdescription
aspectRatioText1:1
cfgScaleInteger5
negativePromptText—
outputFormatTextjpeg
seedInteger0
stepsInteger50

Returns

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

Nim Image Text To Text

Function

Calls the NVIDIA NIM API to generate a text response from an image/text input.

Signature
NimImageTextToText -> Text
    inputText: Text
    inputImage: Pixel Image
    configuration: NIM Configuration
string NimImageTextToText(
    string inputText,
    PixelImage inputImage,
    NIMConfiguration configuration)

Parameters

nametypedefaultdescription
inputTextText—
inputImagePixel Image—
configurationNIM Configuration—Configuration with API key.

Returns

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

Nim Text Generation

Function

Calls the NVIDIA NIM API to generate text.

Signature
NimTextGeneration -> Text
    input: Text
    configuration: NIM Configuration
string NimTextGeneration(
    string input,
    NIMConfiguration configuration)

Parameters

nametypedefaultdescription
inputText—User input prompt.
configurationNIM Configuration—Configuration with API key.

Returns

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

Nim Text To Image

Function

Calls the NVIDIA NIM API to generate an image from a text description.

Signature
NimTextToImage -> Pixel Image
    input: Text
    configuration: NIM Configuration
PixelImage NimTextToImage(
    string input,
    NIMConfiguration configuration)

Parameters

nametypedefaultdescription
inputText—User input prompt.
configurationNIM Configuration—Configuration with API key.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
NVIDIA NIM
Package
Generative AI