LLM

The LLM toolbox talks to language models through one Completion Engine. Create Completion Engine and Create Local Completion Engine make an engine for a model you host yourself on this computer. Chat sends a message with a system instruction and the conversation so far and returns the reply with the new history; Complete Text continues a text. Create Retrieval Embedding Engine and Embed turn text into numbers for search, and Get Available Tools lists Divooka tools a model can call.

Use it for chat, summaries and text generation inside a workflow, with whatever model you run.

  • Included in: Divooka Explore and Divooka Compute Standard. In Compute, add the Generative AI reference with Add reference (Ctrl+Shift+L). The Generative AI reference holds AI Services, LLM and Generative AI.
  • Maturity: Preview · Support: Tier 2 (proposed) · what these mean
  • Open it: node library (Ctrl+Shift+Space) → LLM, or search for a node with Ctrl+Space.
  • Examples and reference: Ctrl+Shift+E → GenAI (Hosted) > Completion Engine · node reference

New to graphs? Start with Your first program.

Example: one conversation, two branches

Open GenAI (Hosted) > Completion Engine (Ctrl+Shift+E). It is a Flows graph:

  1. Create Completion Engine makes an engine for the default model, which must be available on this computer (Hosted here means hosted by you).
  2. A System Text node holds the system instruction.
  3. Chat starts the conversation and returns the reply and the History.
  4. Two more Chat nodes take that history. Because the conversation is a value on a wire, branching the wire continues it two ways from the same point.

Run it with F5; each Preview shows a reply. A model must already be available on this computer; the graph does not download one, and Chat says so when none is found.

Tips and limits

  • Conversations never change in place. Each Chat returns a new history, so you can branch and compare.
  • Local models need memory. Running a model on your computer needs enough RAM or GPU memory for it.

What is in the toolbox

Category Some of its nodes
Completion Engine Chat, Complete Text, Get Model, Get Provider Name and 3 more
Retrieval Embedding Engine Create Retrieval Embedding Engine, Embed
Divooka Tools Library Get Available Tools

See also