Skip to content

Configure Models & Runtime

This page explains how to connect local inference runtimes and external AI models used by SetFN and configure model priorities for each feature.

Models and Runtime in AI Services


Before you begin

  • Required permission: Administrator
  • Check the address of the runtime server and whether it requires authentication.
  • If the runtime is on another server, its address and port must be reachable from the SpaceBuilder server.

Open Models & Runtime

  1. Open the administrator page.
  2. Select AI Services in the left menu.
  3. Select Models & Runtime.

Local AI Runtime

You can connect the SetFN workspace to an inference runtime running in your local environment to enable AI features.

Runtime Settings

You can choose one of the following inference runtimes.

RuntimeDescriptionDefault Endpoint Example
OllamaUses Ollama models installed locally.http://localhost:11434
LM StudioUses models run via LM Studio's local server feature.http://localhost:1234
ONNX (OpenAI API)Connects to an ONNX runtime server that provides an OpenAI-compatible API.http://localhost:8000
Docker Model RunnerUses a model runtime running in a Docker environment.http://localhost:12434

Main and sub runtimes

The main runtime is the default inference connection. With an Enterprise license or higher, select Add Sub Runtime to register up to 10 supporting runtimes. Each runtime stores its own type, endpoint, display name, and API Token, and the page shows its connection status.

Endpoint Settings

Enter the server address of the selected runtime.

  • If the runtime runs on the same machine, use a localhost address. (e.g., http://localhost:11434)
  • If the runtime runs on a different server, enter that server's IP or domain and port.
  • The endpoint you enter must be reachable from the device where SpaceBuilder is installed.

API Token Settings

The API Token is optional.

Enter an API Token only if authentication is enabled on the selected runtime. If your local runtime doesn't use authentication, you can leave this blank and save.

Install New Model

Enter the name of the model you want to use and select the Install button. The selected AI runtime pulls the model. This is available for Ollama and LM Studio. For LM Studio, enter a model ID or a GGUF/MLX repository URL. If you use Ollama, you can find available model names and tags in the official Ollama model library.

For example, entering the following model name automatically downloads and installs that model:

gemma4:31b

Model files can be large. Before installation, check the server's available storage, memory, and GPU specifications.

Understanding Model Capabilities

Local AI runtimes such as Ollama display capability tags for the features each model supports. Because models are designed for different tasks, check that a model has the capabilities required for your intended use.

CapabilityMeaningCommon Uses
completionA general text-generation model that continues from the provided context and answers questions.Chat, document writing, summarization
thinkingSupports reasoning through a problem in multiple steps before producing an answer. It is better suited to accurate judgment than a general model, but the response time can be longer.Complex questions, analysis, planning
tool useCan select external tools or functions and construct the arguments needed to call them. Whether a tool is actually executed depends on connected features and permissions.Agent tasks, search, external function calls
visionA VL (Vision-Language) model that can understand image input together with text.Image descriptions, scanned document and screen analysis
embeddingAn embedding-only model that converts text meaning into numeric vectors. It is not intended to generate regular chat responses.Knowledge indexing, similar-document search, RAG
cloudA model that runs in Ollama Cloud instead of on local hardware. It is available after signing up for Ollama Cloud and authenticating the runtime.Environments with limited local resources, running larger models

A model can support multiple capabilities. For example, a model with both vision and completion can understand an image and respond in text. In contrast, an embedding model is selected as the search model in Knowledge Storage settings.

cloud models run remotely without downloading the entire model file to the local machine. They require an internet connection and Ollama Cloud authentication. Available models and usage limits may vary according to the subscribed service policy.

Installed Models

Check the list of models available on the selected local AI runtime.

The installed model list shows each model's name, parameter count, size, and installation date. With Ollama, models you no longer use can be removed with the Delete button.

Vision Model Priority

Select the VL (Vision-Language) models that can understand images and documents together, and set their response priority.

  • Select which enabled models to use for vision input.
  • Selected models are called in priority order.
  • Use the up/down buttons to adjust the call order.

Knowledge Search & Summary AI Model Priority

Select the models used to synthesize knowledge search results and create summaries (digests) for public chats, then set their call order.

Available Models

Choose from enabled models and add the ones you want to use for knowledge search and summarization to the priority list. Vision-only VL models and embedding-only models are excluded.

Selected Priority

Use the up/down buttons to change the call order. If a higher-priority model becomes unavailable—for example, because the runtime changed or its connection failed—the next model in the list is used automatically.

Auto Selection Policy

Choose how a model is selected when the priority list is empty or none of the listed models are available.

PolicyDescription
Prefer speedSelects a model that can respond quickly first.
BalancedConsiders both response speed and output quality.
Prefer qualityPrioritizes models that produce higher-quality summaries. Recommended when you summarize important content.

Editor AI Autocomplete

Configure AI to suggest the next sentence or continuation while you write in the Markdown editor.

When you turn on Enable autocomplete in the Autocomplete Model Priority card, AI suggests text based on the cursor position and surrounding context while you edit a .md document. This is useful when continuing meeting minutes, reports, memos, or technical documentation.

To see how AI autocomplete appears in the actual Markdown editor, see the AI Autocomplete section in Viewing and Editing Markdown and Text Files.

Model Selection Method

The model used for editor AI autocomplete can be selected in two ways.

Selection MethodDescription
Automatic selectionWhen Selected Priority is empty, automatically selects a model that fits the Auto Selection Policy.
Specific modelUses the models added from Available Models in the order of Selected Priority.

To use a specific model, first install or connect it under Installed Models on this page.

Auto Selection Policy

When using automatic selection, choose a model-selection policy based on the following criteria.

PolicyDescriptionSuitable Situations
Prefer speedPrioritizes models that can respond quickly.Short notes, real-time writing assistance
BalancedConsiders both speed and quality.General document writing, common team defaults
Prefer qualityPrioritizes models that produce higher-quality responses.Reports, proposals, long-document drafts

Saving Settings

Each card has its own Save button. Select it after changing the values in that card. If you change a runtime endpoint, a server restart notice appears, and the change takes effect after you select Restart Server. Once saved, AI features such as AI chat, document-based Q&A, and knowledge indexing can use the configured runtime and model.

Good to Know

  • ONNX and Docker Model Runner do not support Install New Model. Download or load the models in the runtime first.
  • If the runtime is not running or the endpoint address is incorrect, SetFN cannot call the model.
  • Check that port access isn't blocked by a firewall or network policy.