OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Form to trigger benchmark data ingestion from external sources.
Source Definition
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
import { docId } from '../../docs/registry';
import type { DocBlock } from '../../docs/types';
import { defineFormSpec } from '../../forms/forms';
import {
PROVIDER_RANKING_DOMAIN,
PROVIDER_RANKING_OWNERS,
PROVIDER_RANKING_STABILITY,
PROVIDER_RANKING_TAGS,
} from '../constants';
export const BenchmarkIngestForm = defineFormSpec({
meta: {
key: 'provider-ranking.benchmark.ingest.form',
title: 'Ingest Benchmark Data',
version: '1.0.0',
description:
'Form to trigger benchmark data ingestion from external sources.',
domain: PROVIDER_RANKING_DOMAIN,
owners: PROVIDER_RANKING_OWNERS,
tags: [...PROVIDER_RANKING_TAGS, 'ingest'],
stability: PROVIDER_RANKING_STABILITY,
docId: [docId('docs.tech.provider-ranking.benchmark.ingest.form')],
},
model: BenchmarkIngestFormModel,
fields: [
{
kind: 'text',
name: 'source',
labelI18n: 'Source',
placeholderI18n: 'chatbot-arena, swe-bench, artificial-analysis...',
required: true,
},
{
kind: 'text',
name: 'sourceUrl',
labelI18n: 'Source URL',
placeholderI18n: 'https://...',
},
{
kind: 'text',
name: 'fromDate',
labelI18n: 'From Date',
placeholderI18n: 'YYYY-MM-DD',
},
{
kind: 'text',
name: 'toDate',
labelI18n: 'To Date',
placeholderI18n: 'YYYY-MM-DD',
},
],
actions: [
{
key: 'ingest',
labelI18n: 'Start ingestion',
op: { name: 'provider-ranking.benchmark.ingest', version: '1.0.0' },
},
],
policy: {
flags: [],
pii: [],
},
});