Skip to main content
Call GLiNER 2.5 Decide through Fastino’s OpenAI-compatible Chat Completions endpoint. Put the text to classify in a user message and define the permitted labels in a classifications schema.

Set up your API key

Create a key in Fastino Settings, then expose it to your process:

Make a classification request

Every classification task requires at least one label. With multi_label: false, Decide returns the highest-scoring label.

Read the response

A successful response uses the Chat Completions envelope. The classification result is a JSON string inside choices[0].message.content:
Parse the message content before reading the task result:

Next steps

Classification

Add multi-label behavior and multiple tasks, then consume their result shapes.

API reference

Inspect the exhaustive POST /v1/chat/completions contract.