Skip to content
Source
Sign inSign up
TanStack/schemas

Score image, video, audio and unclassified rows and origin links in completeness #729

Mergedtombeckenhammerged 2 commits intomain fromfeat/714-completeness-per-activitymerged by tombeckenham View on GitHub

Showing 18 changed files with 35 additions and 5 deletions (loading 14).

x
0 of 18 viewed, 18 left
5 additions and 0 deletions.changeset/completeness-per-activity.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@modelschemas/client': minor
+---
+​
+`completeness` on `GET /v1/status` scores every live model, not only chat. `chat` is replaced by `rows`, and the entry gains `activities` (score per activity, plus `unclassified`) and `originLink` (`{ have, need }`). See docs/api-changes.md.
19 additions and 5 deletionsdocs/source-silent/README.mdModified
View file
@@ -7,8 +7,22 @@
One file per provider, `<provider>.md`, so two branches never edit the same
file. One entry per list line: `- <provider>: <fact> — <why, with the issue>`.
The fact is a gap-report key (`contextWindow`, `maxOutput`, `modalities`,
-`priced`, `cacheRead`, `capabilities`, `reasoning`, `efforts`, `requestMap`,
-`endpoint`). Remove an entry when the provider starts publishing the fact.
+`outputModalities`, `priced`, `cacheRead`, `capabilities`, `reasoning`,
+`efforts`, `requestMap`, `endpoint`, `replayReasoningContent`,
+`originLink`). `activity` is scored but cannot be ledgered. Remove an entry when the provider starts publishing the fact.
+​
+Each activity has its own fact set (`ACTIVITY_FACTS` in
+`src/lib/completeness.ts`). Chat rows are scored on the chat keys above.
+Image, video and audio rows are scored on `priced` (any stored rate card
+that is not a models.dev price), `endpoint`, `modalities` (input) and
+`outputModalities`. A row with a null activity is scored on `activity`,
+which it always lacks: classify the row, do not ledger it. Rows of an
+activity with no fact set (embeddings, moderation, decision, world,