Skip to content

AI categorization and descriptions

Thingport can use an AI model to sort models into your categories, to clean up their descriptions, and to design and change parts with you in Studio’s Ask AI box. All three are optional and off until an admin adds a model and turns them on. Everything else in Thingport works without them, and an assistant connected over MCP brings its own AI, so it needs none of this, in Studio or anywhere else.

The model can run on your own hardware, with Ollama, LM Studio or vLLM, so nothing leaves your network. A cloud API such as OpenAI, OpenRouter or Google Gemini works too, and so does Anthropic’s Claude, through its own API.

Administration, AI page with a model and both features switched onAdministration, AI page with a model and both features switched on

Imported models arrive with whatever category the source site gave them, and uploads arrive with none. AI categorization reads a model’s title, description and tags, and optionally its first photo, and picks the best fit from your own categories. It never makes up a new one.

  • Suggest for review (the default): the AI’s pick waits on the model page, marked as an AI suggestion, for you to accept or reject. Every pending suggestion is also listed in one place, to accept or reject in bulk.
  • Apply automatically: picks the AI is confident enough about are applied straight away, and the rest are left as suggestions. You set how confident it has to be.

It runs at three moments:

  • On import, when Categorize new imports is on. The import never waits for the AI: the category follows a moment later.
  • On one model, from its ⋮ → Categorize with AI menu. The result comes as a notification.
  • Over your library, from Models → Manage categories & folders → AI Categorization. Choose which models it looks at: uncategorized ones, ones filed in folders, ones the AI categorized before (for example after you’ve added categories), ones categorized on import, and ones you categorized by hand. Progress shows at the bottom of the page, and the run can be stopped there.

A category you picked yourself is left alone unless you include Manual in a run, or confirm it on one model.

Pending AI category suggestions, ready to accept or reject

Descriptions copied from model sites are often full of links to the designer’s other models, requests for boosts, or written in another language. Improved descriptions tidies them up. Choose what the AI may do:

  • Remove self-promotion, such as links to author pages or other models
  • Remove other unrelated info, such as boost requests
  • Translate descriptions in other languages to English
  • Write a description for models that have none (needs the photo to be sent)
  • Fix obvious spelling mistakes
  • Improve formatting

As with categorization, a new description is either suggested for review, shown next to the current one to keep or not, or applied automatically. The original is always kept, so a description changed by the AI can be compared with it and reverted at any time, from the model page or from the feature’s Manage tab.

It runs on import when Improve descriptions for every new import is on, on one model from its ⋮ → Improve description with AI menu, or over the whole library from the feature’s Manage tab. A run skips models with nothing new since their last check.

A description the AI rewrote, shown beside the original with a Revert buttonA description the AI rewrote, shown beside the original with a Revert button

Admins add models under Administration → AI → Models → Add AI model. Pick its Type first: OpenAI-compatible for Ollama, LM Studio, OpenAI and the rest, or Claude for Anthropic’s models.

The AI model dialog: API base URL, model name, API key, request timeout, concurrent requests and reasoning effortThe AI model dialog: API base URL, model name, API key, request timeout, concurrent requests and reasoning effort
  • API base URL: where the provider’s OpenAI-compatible API is. /v1 is added when the URL has no path.
  • Model name: the models the provider offers are listed as you type, and any other name can be typed in.
  • API key: needed by cloud APIs. Local servers such as Ollama usually don’t need one.
  • Concurrent requests (1 to 4) and Request timeout: how many models are sent at once, and how long to wait for each answer. Raise the timeout for a slow local model.
  • Reasoning effort: sent to the provider as reasoning_effort. Leave it on the provider’s default unless a reasoning model is slow or runs out of tokens: None stops qwen3 thinking, but gpt-oss can’t stop and needs Low. A provider that turns the setting down is asked again without it.
  • Sees pictures: whether the model takes pictures in a prompt (see below).

Test connection asks the model to categorize a calibration cube, and saving tests it too, so a wrong URL, key or model name shows up straight away.

With Claude picked, the API base URL is filled in (https://api.anthropic.com): change it only to reach Claude through a proxy. An API key is required; create one at console.anthropic.com under API keys. Once it’s typed in, the models it may use are listed, such as claude-haiku-5-5, claude-sonnet-5-5 and claude-opus-5-5.

  • Effort takes the place of reasoning effort: how much Claude thinks before it answers. Current Claude models always think a little, so there’s no None. These tasks rarely need more than Low, which is also the fastest and cheapest.
  • Claude bills each request by the words it reads and writes. Categorizing a whole library sends every model’s title, description and tags, so a large run costs more than a few models do. claude-haiku-5-5 is the cheap choice for categorization; a larger model writes better descriptions.
  • If Claude Opus 5.5, Sonnet 5.5 or Fable 5.1 declines to answer, which can happen with something harmless that looks like a weapon, Anthropic answers with another model in the same request, billed as that model. Thingport asks for this only at api.anthropic.com, not through a proxy. A request no model answers fails with Claude declined to answer.
Provider API base URL API key
Ollamahttp://<server>:11434No
LM Studiohttp://<server>:1234No
vLLMhttp://<server>:8000Usually
OpenAIhttps://api.openai.com/v1Yes
OpenRouterhttps://openrouter.ai/api/v1Yes
Google Geminihttps://generativelanguage.googleapis.com/v1beta/openai/Yes

Any other service with an OpenAI-compatible chat completions API that supports structured (JSON schema) output should work as well.

Running the model on the same machine as Thingport? The backend runs in a container, where localhost means the container itself. Use the machine’s LAN address, such as http://192.168.1.20:11434, or the service name if Ollama runs in the same Compose file (http://ollama:11434). Ollama only listens on localhost by default: set OLLAMA_HOST=0.0.0.0 so the container can reach it.

Add as many models as you like. Click one to make it the default, which every feature uses unless it’s set to another one with Use AI in its settings. That way, for example, categorization can run on a small local model while descriptions use a bigger one.

Sees pictures says a model takes pictures, and Studio’s assistant offers to attach pictures to a prompt only for one that does. A new model starts as its name suggests: on for Claude, GPT-4o and later, Gemini, and open vision models such as qwen2.5vl, llava, gemma3, pixtral and minicpm-v; off for the rest. Switch it to match the model. One switched on that turns pictures down stops the run with a message saying so, rather than answering without them.

  • Small local models (7 to 8 billion parameters, such as qwen2.5:7b or llama3.1:8b) categorize well enough to make suggestions worth reviewing. Bigger ones are more reliable, and better at writing descriptions.
  • Small models are often sure of themselves even when they’re wrong, so start with Suggest for review. Switch to Apply automatically once you trust the model’s picks, and keep the confidence threshold high.
  • Send the first preview image only helps with a model that can see images, such as qwen2.5vl or llava, Claude, or most other cloud models.

Under Administration → AI → Features, switch AI Categorization and Improved descriptions on. Click a feature for its settings: which AI it uses, its mode, whether it runs on import, and whether the photo is sent. Its Manage tab starts a run over your library and lists what’s waiting for review.

AI Categorization settings: which AI, the mode, categorizing new imports and sending the first preview imageAI Categorization settings: which AI, the mode, categorizing new imports and sending the first preview image

Once a feature is on, it’s there for everyone on this Thingport instance, and each person’s runs and suggestions cover their own library.

A third tile, Studio assistant, lets people ask an AI in Studio’s Ask AI box to build and change their designs. It’s off until you switch it on. Click it to pick:

  • Available models: the AIs people may pick from in Studio. A new AI isn’t offered until you switch it on here, so adding one for categorization doesn’t expose it to Studio’s users. The server refuses any other.
  • Default model: the one picked first in the box.

An admin also finds Add AI model and Choose available models at the bottom of the box’s model list.

The assistant needs a model that can use tools (function calling). Claude and the larger cloud models can; small local models often can’t, and the box says so. Every prompt is billed to a cloud AI’s account, and a request may take several steps, each a request of its own.

Each request carries the assistant’s tools, and how they’re sent depends on the AI:

  • Claude gets a few tools up front and finds the rest by searching for them, so a request starts at about 3,000 tokens rather than 15,000. The tools and instructions are cached too: a later step, or another prompt within a few minutes, reads them at a tenth of the price.
  • Compact, set per AI under Available models, is for small local models: a dozen basic tools (shapes, text, moving, combining, holes) described in a line each, about 1,600 tokens in all. Fillets, shells, sketches and the rest need All tools. An AI on your own network starts on Compact when you switch it on.
  • All tools sends every tool, about 15,000 tokens. OpenAI and most cloud APIs cache the part that repeats on their own, and Ollama keeps it in memory between steps, so only a run’s first step reads it all. On a slow CPU that first step can still take minutes: raise Ollama’s context (OLLAMA_CONTEXT_LENGTH, at least 24576 for All tools) or use Compact.

With a model on your own hardware, nothing leaves your network. With a third-party API, a model’s title, description and tags are sent to that provider, and its first photo too when Send the first preview image is on. Files are never sent. The Studio assistant sends the request, any pictures attached to it, the design’s features and sizes, and, when the AI asks to look, pictures of the design.

System Health, under Administration → Overview, checks the default AI model with the rest of Thingport and says what’s wrong:

  • Not answering: check that the provider is running and reachable from the backend container (see above), and that the API base URL and key are right.
  • Model missing: the provider answered but doesn’t list the model. Check its name, or pull it first (ollama pull qwen2.5:7b).
  • Timed out: a local model may still be loading. Try again, or raise the request timeout.

Every run is recorded in Administration → Logs, with how many models were checked, suggested, applied and failed.

Something unclear, wrong or missing on this page? Say so here, or react. It’s kept in GitHub Discussions. Something broken? Report it as a bug.