Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .claude/skills/model-sync/scripts/audit-models.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,10 @@ def model_prop(schema):
chat_enum = model_prop("CreateChatCompletionRequest").get("enum", [])
embedding_enum = model_prop("CreateEmbeddingRequest").get("enum", [])
moderation_prop = json.dumps(model_prop("CreateModerationRequest"))
systemone_prop = json.dumps(model_prop("SystemOneRequest"))
transcription_enum = model_prop("CreateTranscriptionRequest").get("enum", [])
speech_enum = model_prop("CreateSpeechRequest").get("enum", [])
speech_multipart_enum = model_prop("CreateSpeechMultipartRequest").get("enum", [])

print(f"API: {len(models)} models — {', '.join(api_ids)}")
print(f"mode: {'FIX (table cells rewritten in place)' if args.fix else 'report only'}\n")
Expand Down Expand Up @@ -511,9 +515,31 @@ def model_prop(schema):
if task_api == "Text Moderation":
if mid not in moderation_prop:
notes.append(f"{oa}: not referenced by CreateModerationRequest.model")
elif m.get("taskType") == "decision":
# A decision model is routable only on /v1/systemone: it generates no
# text, so it belongs in SystemOneRequest.model, not in the
# Responses/Chat enums. Same shape as the moderation case above —
# SystemOneRequest.model carries no enum, so the whole property is
# searched.
if mid not in systemone_prop:
notes.append(f"{oa}: not referenced by SystemOneRequest.model")
elif task_api == "Text Embedding":
if mid not in embedding_enum:
missing.append(f"{oa}: absent from the CreateEmbeddingRequest model enum")
elif m.get("taskType") == "transcription":
# Audio models are routable only on /v1/audio/*, never on Responses or
# Chat, so their own request schema is the one to check.
if mid not in transcription_enum:
missing.append(
f"{oa}: absent from the CreateTranscriptionRequest model enum"
)
elif m.get("taskType") == "speech":
for schema, enum in (
("CreateSpeechRequest", speech_enum),
("CreateSpeechMultipartRequest", speech_multipart_enum),
):
if mid not in enum:
missing.append(f"{oa}: absent from the {schema} model enum")
else:
# The payload does not say which endpoints a model is routable on:
# llama-3.1-8b-instruct-fast has sample_responses_body: null yet is fully
Expand Down
19 changes: 19 additions & 0 deletions api-reference/models/d1-1.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: "d1.1"
sidebarTitle: "d1.1"
description: "Model details for d1.1. LiquidAI's decision model, served on /v1/systemone with a 65,536-token limit."
openapi: "api-reference/openapi/playgrounds/d1_1.openapi.json POST /systemone"
---

<Note>
`d1.1` is routable only on `POST /v1/systemone`. It generates no text, so it is not
available on `/v1/responses` or `/v1/chat/completions`.
</Note>

> LiquidAI's d1.1 is a decision model and the successor to d1. You send a state — text, JSON or images — together with several named questions, and every question is answered in a single forward pass: a `noul` question returns the probability of yes, a `choice` question picks one of your named options with a confidence and the full probabilities, and a `score` question rates the state on 2 to 10 ordered levels. No text is generated, so output tokens are always 0 and only input is billed. It is built for intent classification, agent routing, moderation, commercial-intent detection, triage and LLM-as-a-judge checks, and it does not chat, stream or call tools.

## System One

The request and response follow the [System One](/api-reference/systemone) decision schema. Unlike the ZLM classifiers, d1.1 has no taxonomy of its own: every question is answered against the criteria you supply.

**References:** [Terms](https://www.liquid.ai/terms-conditions) • [Privacy](https://zerogpu.ai/privacy-policy)
Loading