@aiquants/enrichment-react 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -22
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +96 -40
- package/dist/index.d.ts +96 -40
- package/dist/index.js +3 -3
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResourceOutcome, ConsoleUiLabels, FigureBoxLines, CellContent } from "@aiquants/console-ui/core";
|
|
2
|
-
import { ChildRunPage, CircuitBreakerStatus, SearchDegradationReason, SearchMode, SearchQualityTier, CircuitBreakerService, SearchFusion, FilterableConfidentialityLevel, DiffLinePage, DocumentHistory, DocumentComparison, DocumentChangeFeedPage, DocumentCaptureAnswer, SourceSpec, ConfidentialityLevel, ReadableEntry, PipelineRunStatus, StoredTerm, ReleasedStepKey, RestrictedRunMark, RemovableProtectionScheme, UnlockDisposition, CopyReason, RestrictedIngestMark, ChunkBodyFidelity, ChunkChangeKind, DocumentStateCause, DocumentFacet, FacetChangeCounts, JsonValue, EnrichmentStageKey, ActiveIngestionJobState, IngestionJobPage, IngestionJob, IngestionJobItem, IngestionQueueHealth, PipelinePhase, PipelineFlowCatalog, PipelineStepMetric, DocumentKind, PipelineFlowEntry, GateSpec, ProcessingObjectFilter, ProcessingObjectPage, MimeKindRule, ProcessingNodeReading, ProcessingObjectItem, NothingToReadToken, PipelineStepStatus, PipelineTrigger, RunTerminalStepOutcome, LedgerStepKey, RestrictedFailureMark, EnrichmentSyncStatus } from "@aiquants/enrichment-core";
|
|
1
|
+
import { ResourceOutcome, CommandOutcome, ConsoleUiLabels, FigureBoxLines, CellContent } from "@aiquants/console-ui/core";
|
|
2
|
+
import { ChildRunPage, CircuitBreakerStatus, SearchDegradationReason, SearchMode, SearchQualityTier, CircuitBreakerService, SearchFusion, FilterableConfidentialityLevel, VariantComparisonAnswer, DiffLinePage, DocumentHistory, DocumentComparison, DocumentChangeFeedPage, DocumentCaptureAnswer, DocumentVariantState, VariantSetCreateRequest, VariantSetView, VariantSetPatchRequest, VariantProjectionRequest, VariantProjectionAccepted, SourceSpec, ConfidentialityLevel, ReadableEntry, PipelineRunStatus, StoredTerm, ReleasedStepKey, RestrictedRunMark, RemovableProtectionScheme, UnlockDisposition, CopyReason, RestrictedIngestMark, ChunkBodyFidelity, ChunkChangeKind, DocumentStateCause, DocumentFacet, FacetChangeCounts, JsonValue, EnrichmentStageKey, ActiveIngestionJobState, IngestionJobPage, IngestionJob, IngestionJobItem, IngestionQueueHealth, ComparisonMode, VariantComparisonRequest, PipelinePhase, PipelineFlowCatalog, PipelineStepMetric, DocumentKind, PipelineFlowEntry, GateSpec, ProcessingObjectFilter, ProcessingObjectPage, MimeKindRule, ProcessingNodeReading, ProcessingObjectItem, NothingToReadToken, PipelineStepStatus, PipelineTrigger, RunTerminalStepOutcome, LedgerStepKey, RestrictedFailureMark, EnrichmentSyncStatus, EmbeddingProvider, ProjectionVariantState, SparseModifier, VariantProjectionScope, VariantDomainRow } from "@aiquants/enrichment-core";
|
|
3
3
|
import React, { ReactNode, JSX, ReactElement, ComponentProps, Ref } from "react";
|
|
4
4
|
import { FigureNodeProps } from "@aiquants/console-ui";
|
|
5
5
|
declare const CHILD_RUNS_REFUSAL = "\u5B50\u306E\u5B9F\u884C\u3092\u95B2\u89A7\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002";
|
|
@@ -24,6 +24,7 @@ interface DocumentSearchParams {
|
|
|
24
24
|
readonly confidentiality_level?: FilterableConfidentialityLevel;
|
|
25
25
|
readonly mime_type?: string;
|
|
26
26
|
readonly tag?: string;
|
|
27
|
+
readonly variant_key?: string;
|
|
27
28
|
}
|
|
28
29
|
type DocumentVectorScoreKind = "cosine" | "bm25" | "mixed";
|
|
29
30
|
interface DocumentVectorScore {
|
|
@@ -81,31 +82,7 @@ interface DocumentSearchAnswer {
|
|
|
81
82
|
readonly hits: readonly DocumentSearchHit[];
|
|
82
83
|
readonly authz_scopes: DocumentSearchAuthzScopes;
|
|
83
84
|
readonly search_metadata: DocumentSearchMetadata;
|
|
84
|
-
|
|
85
|
-
interface VariantComparisonInput {
|
|
86
|
-
readonly query: string;
|
|
87
|
-
readonly strategy_ids: readonly [
|
|
88
|
-
number,
|
|
89
|
-
number
|
|
90
|
-
];
|
|
91
|
-
readonly limit: number;
|
|
92
|
-
}
|
|
93
|
-
interface VariantHit {
|
|
94
|
-
readonly metadata_id: number;
|
|
95
|
-
readonly chunk_index: number;
|
|
96
|
-
readonly text: string | null;
|
|
97
|
-
readonly score: number;
|
|
98
|
-
}
|
|
99
|
-
interface VariantResult {
|
|
100
|
-
readonly strategy_id: number;
|
|
101
|
-
readonly execution_ms: number;
|
|
102
|
-
readonly dense_ran: boolean;
|
|
103
|
-
readonly degradation_reasons: readonly string[];
|
|
104
|
-
readonly hits: readonly VariantHit[];
|
|
105
|
-
}
|
|
106
|
-
interface VariantComparisonAnswer {
|
|
107
|
-
readonly results: readonly VariantResult[];
|
|
108
|
-
readonly text_hidden: boolean;
|
|
85
|
+
readonly variant_key: string;
|
|
109
86
|
}
|
|
110
87
|
declare const HIDDEN_FIELD_TEXT = "\u975E\u8868\u793A (\u5217\u306E\u30B9\u30B3\u30FC\u30D7)";
|
|
111
88
|
declare const SEARCH_MODE_LABELS: Readonly<Record<SearchMode, {
|
|
@@ -125,7 +102,7 @@ interface RankAgreement {
|
|
|
125
102
|
readonly meanAbsoluteRankDifference: number | null;
|
|
126
103
|
}
|
|
127
104
|
declare function rankAgreement(a: readonly string[], b: readonly string[]): RankAgreement;
|
|
128
|
-
declare function variantHitKey(hit: Pick<
|
|
105
|
+
declare function variantHitKey(hit: Pick<VariantComparisonAnswer["results"][number]["hits"][number], "metadata_id" | "chunk_index">): string;
|
|
129
106
|
interface DegradedSearchBannerProps {
|
|
130
107
|
readonly metadata: Pick<DocumentSearchMetadata, "is_degraded" | "requested_mode" | "search_mode" | "executed_tiers" | "quality_tier" | "degradation_reasons">;
|
|
131
108
|
readonly testId: string;
|
|
@@ -168,6 +145,38 @@ interface DocumentChangeFeedProps {
|
|
|
168
145
|
readonly onOpen?: (metadataId: number, stateId: number) => void;
|
|
169
146
|
}
|
|
170
147
|
declare function DocumentChangeFeed({ host, onOpen }: DocumentChangeFeedProps): ReactNode;
|
|
148
|
+
type VariantSetCreateField = keyof VariantSetCreateRequest;
|
|
149
|
+
interface VariantSetFieldError {
|
|
150
|
+
readonly field: VariantSetCreateField | null;
|
|
151
|
+
readonly message: string;
|
|
152
|
+
}
|
|
153
|
+
type VariantSetCreateRejection = {
|
|
154
|
+
readonly code: "REQUEST_INVALID";
|
|
155
|
+
readonly errors: readonly VariantSetFieldError[];
|
|
156
|
+
} | {
|
|
157
|
+
readonly code: "ENDPOINT_OUTSIDE_DEPLOYMENT";
|
|
158
|
+
};
|
|
159
|
+
interface VariantProjectionActiveRejection {
|
|
160
|
+
readonly code: "VARIANT_PROJECTION_ACTIVE";
|
|
161
|
+
}
|
|
162
|
+
interface VariantSetCommands {
|
|
163
|
+
readonly create: (request: VariantSetCreateRequest) => Promise<CommandOutcome<VariantSetView, VariantSetCreateRejection>>;
|
|
164
|
+
readonly patch: (variantKey: string, request: VariantSetPatchRequest) => Promise<ResourceOutcome<VariantSetView>>;
|
|
165
|
+
readonly startProjection: (variantKey: string, request: VariantProjectionRequest) => Promise<ResourceOutcome<VariantProjectionAccepted>>;
|
|
166
|
+
readonly removePoints: (variantKey: string) => Promise<CommandOutcome<null, VariantProjectionActiveRejection>>;
|
|
167
|
+
}
|
|
168
|
+
interface DocumentVariantReading {
|
|
169
|
+
readonly domainKey: string | null;
|
|
170
|
+
readonly variants: readonly DocumentVariantState[];
|
|
171
|
+
}
|
|
172
|
+
interface DocumentVariantProjection {
|
|
173
|
+
readonly chunkCount: number;
|
|
174
|
+
}
|
|
175
|
+
interface DocumentVariantHost {
|
|
176
|
+
readonly load: (metadataId: number, signal: AbortSignal) => Promise<ResourceOutcome<DocumentVariantReading>>;
|
|
177
|
+
readonly project: (metadataId: number, strategyId: number) => Promise<ResourceOutcome<DocumentVariantProjection>>;
|
|
178
|
+
readonly removePoints: (variantKey: string, metadataId: number) => Promise<CommandOutcome<null, VariantProjectionActiveRejection>>;
|
|
179
|
+
}
|
|
171
180
|
type DocumentHistoryReads = Pick<DocumentHistoryHost, "loadHistory" | "compare" | "readLines">;
|
|
172
181
|
interface DocumentHistoryInspectorProps {
|
|
173
182
|
readonly host: DocumentHistoryReads;
|
|
@@ -178,8 +187,11 @@ interface DocumentHistoryInspectorProps {
|
|
|
178
187
|
readonly returnFocusFallback: () => HTMLElement | null;
|
|
179
188
|
readonly captureState?: DocumentStateCapture;
|
|
180
189
|
readonly canSendCommands: boolean;
|
|
190
|
+
readonly variantSets: readonly VariantSetView[];
|
|
191
|
+
readonly variantHost: DocumentVariantHost;
|
|
192
|
+
readonly canSendVariantCommands: boolean;
|
|
181
193
|
}
|
|
182
|
-
declare function DocumentHistoryInspector({ host, metadataId, target, openRequest, onClose, returnFocusFallback, captureState, canSendCommands }: DocumentHistoryInspectorProps): ReactNode;
|
|
194
|
+
declare function DocumentHistoryInspector({ host, metadataId, target, openRequest, onClose, returnFocusFallback, captureState, canSendCommands, variantSets, variantHost, canSendVariantCommands }: DocumentHistoryInspectorProps): ReactNode;
|
|
183
195
|
interface DocumentIngestLabel {
|
|
184
196
|
labelKey: string;
|
|
185
197
|
category: "user" | "system" | "domain";
|
|
@@ -313,6 +325,14 @@ declare function historyFailureSentence(labels: ConsoleUiLabels, failure: {
|
|
|
313
325
|
readonly reason: string;
|
|
314
326
|
}, subject: string): string;
|
|
315
327
|
declare function historyFailedSentence(subject: string): (reason: string) => string;
|
|
328
|
+
interface EmbeddingVariantBoardProps {
|
|
329
|
+
readonly variantSets: readonly VariantSetView[];
|
|
330
|
+
readonly commands: VariantSetCommands;
|
|
331
|
+
readonly canSendCommands: boolean;
|
|
332
|
+
}
|
|
333
|
+
declare const VARIANT_SET_FIELD_MESSAGES: Readonly<Record<VariantSetCreateField, string>>;
|
|
334
|
+
declare const ENDPOINT_OUTSIDE_DEPLOYMENT_TEXT = "\u3053\u306E\u5B9B\u5148\u306F\u914D\u5099\u306E\u5916\u3068\u5224\u5B9A\u3055\u308C\u307E\u3057\u305F\u3002\u914D\u5099\u306E\u5185\u3068\u898B\u306A\u3059\u30DB\u30B9\u30C8\u306E\u4E00\u89A7\u306B\u8F09\u308B\u5B9B\u5148\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002";
|
|
335
|
+
declare function EmbeddingVariantBoard({ variantSets, commands, canSendCommands }: EmbeddingVariantBoardProps): ReactNode;
|
|
316
336
|
type StrategyProvenance = "tenant" | "system";
|
|
317
337
|
interface EnrichmentStrategyRow {
|
|
318
338
|
id: number;
|
|
@@ -414,21 +434,18 @@ declare const SEARCH_PRESETS: readonly DeveloperSearchPreset[];
|
|
|
414
434
|
declare const CONFIDENTIALITY_LEVEL_LABELS: Readonly<Record<FilterableConfidentialityLevel, string>>;
|
|
415
435
|
interface MetadataSearchWorkbenchProps {
|
|
416
436
|
readonly tenantId: string;
|
|
437
|
+
readonly variantSets: readonly VariantSetView[];
|
|
417
438
|
readonly onSearch: (params: DocumentSearchParams, signal: AbortSignal) => Promise<DocumentSearchAnswer>;
|
|
418
439
|
readonly initialParams?: Partial<DocumentSearchParams>;
|
|
419
440
|
}
|
|
420
|
-
declare function MetadataSearchWorkbench({ tenantId, onSearch, initialParams }: MetadataSearchWorkbenchProps): ReactNode;
|
|
421
|
-
interface ComparisonVariant {
|
|
422
|
-
readonly strategyId: number;
|
|
423
|
-
readonly label: string;
|
|
424
|
-
readonly embeddingModel: string;
|
|
425
|
-
}
|
|
441
|
+
declare function MetadataSearchWorkbench({ tenantId, variantSets, onSearch, initialParams }: MetadataSearchWorkbenchProps): ReactNode;
|
|
426
442
|
interface ModelComparisonWorkbenchProps {
|
|
427
|
-
readonly
|
|
428
|
-
readonly onCompare: (
|
|
443
|
+
readonly variantSets: readonly VariantSetView[];
|
|
444
|
+
readonly onCompare: (request: VariantComparisonRequest, signal: AbortSignal) => Promise<VariantComparisonAnswer>;
|
|
429
445
|
}
|
|
430
446
|
declare const SCORE_DISPLAY_DECIMALS = 4;
|
|
431
|
-
declare
|
|
447
|
+
declare const API_DEFAULT_COMPARISON_MODE: ComparisonMode;
|
|
448
|
+
declare function ModelComparisonWorkbench({ variantSets, onCompare }: ModelComparisonWorkbenchProps): ReactNode;
|
|
432
449
|
interface OntologyClassItem {
|
|
433
450
|
name: string;
|
|
434
451
|
description: string;
|
|
@@ -546,11 +563,12 @@ interface ProcessingObjectBrowserProps {
|
|
|
546
563
|
readonly filter: ProcessingObjectFilter;
|
|
547
564
|
readonly onFilterChange: (filter: ProcessingObjectFilter) => void;
|
|
548
565
|
readonly onOpenHistory?: (metadataId: number) => void;
|
|
566
|
+
readonly variantSets: readonly VariantSetView[];
|
|
549
567
|
}
|
|
550
568
|
declare function nodeReadingText(reading: ProcessingNodeReading | null): string;
|
|
551
569
|
declare function processingObjectKindText(item: ProcessingObjectItem, mimeKindRules: readonly MimeKindRule[]): string;
|
|
552
570
|
declare function processingObjectClassificationText(item: ProcessingObjectItem): string;
|
|
553
|
-
declare function ProcessingObjectBrowser({ host, mimeKindRules, filter, onFilterChange, onOpenHistory }: ProcessingObjectBrowserProps): ReactNode;
|
|
571
|
+
declare function ProcessingObjectBrowser({ host, mimeKindRules, filter, onFilterChange, onOpenHistory, variantSets }: ProcessingObjectBrowserProps): ReactNode;
|
|
554
572
|
interface StatusPresentation {
|
|
555
573
|
readonly label: string;
|
|
556
574
|
}
|
|
@@ -694,4 +712,42 @@ declare const SYNC_STATUS_LABELS: Readonly<Record<EnrichmentSyncStatus, string>>
|
|
|
694
712
|
declare const NO_ENRICHMENT_RECORD_TEXT = "\u53D6\u308A\u8FBC\u307F\u306E\u8A18\u9332\u306A\u3057";
|
|
695
713
|
type SyncStatusTone = "info" | "success" | "danger";
|
|
696
714
|
declare function syncStatusTone(status: EnrichmentSyncStatus): SyncStatusTone;
|
|
697
|
-
|
|
715
|
+
declare const PRODUCTION_VARIANT_LABEL = "\u672C\u756A (default)";
|
|
716
|
+
declare const PROJECTION_VARIANT_STATE_LABELS: Readonly<Record<ProjectionVariantState, string>>;
|
|
717
|
+
declare const PROJECTION_VARIANT_STATE_TONES: Readonly<Record<ProjectionVariantState, "success" | "warning" | "danger" | "neutral">>;
|
|
718
|
+
declare const EMBEDDING_PROVIDER_LABELS: Readonly<Record<EmbeddingProvider, string>>;
|
|
719
|
+
declare const SPARSE_MODIFIER_LABELS: Readonly<Record<SparseModifier, string>>;
|
|
720
|
+
declare const COMPARISON_MODE_LABELS: Readonly<Record<ComparisonMode, {
|
|
721
|
+
readonly label: string;
|
|
722
|
+
readonly description: string;
|
|
723
|
+
}>>;
|
|
724
|
+
declare const VARIANT_PROJECTION_SCOPE_LABELS: Readonly<Record<VariantProjectionScope, string>>;
|
|
725
|
+
declare const VARIANT_SHARE_DECIMALS = 1;
|
|
726
|
+
declare const VARIANT_SET_NO_DOCUMENT_TEXT = "\u5BFE\u8C61\u306E\u6587\u66F8\u304C\u3042\u308A\u307E\u305B\u3093";
|
|
727
|
+
interface VariantCoverage {
|
|
728
|
+
readonly projected: number;
|
|
729
|
+
readonly documents: number;
|
|
730
|
+
readonly share: number | null;
|
|
731
|
+
}
|
|
732
|
+
declare const activeVariantSets: (sets: readonly VariantSetView[]) => readonly VariantSetView[];
|
|
733
|
+
declare const variantCoverage: (rows: readonly Pick<VariantSetView["domains"][number], "projected" | "documents">[]) => VariantCoverage;
|
|
734
|
+
declare const variantSharePercentText: (coverage: VariantCoverage) => string;
|
|
735
|
+
declare const variantCoverageText: (coverage: VariantCoverage, subject: string, formatLocale: string) => string;
|
|
736
|
+
declare const variantSetOptionLabel: (set: VariantSetView) => string;
|
|
737
|
+
declare const variantKeyLabel: (key: string) => string;
|
|
738
|
+
declare const VARIANT_STATE_UNREAD_TEXT = "\u72B6\u614B\u3092\u8AAD\u3093\u3067\u3044\u307E\u305B\u3093";
|
|
739
|
+
type VariantSetCoverage = {
|
|
740
|
+
readonly kind: "covered";
|
|
741
|
+
readonly row: VariantDomainRow;
|
|
742
|
+
} | {
|
|
743
|
+
readonly kind: "unclassified";
|
|
744
|
+
} | {
|
|
745
|
+
readonly kind: "missing";
|
|
746
|
+
};
|
|
747
|
+
type VariantSetUncoveredKind = Exclude<VariantSetCoverage["kind"], "covered">;
|
|
748
|
+
declare const VARIANT_UNCOVERED_STATE_TEXTS: Readonly<Record<VariantSetUncoveredKind, string>>;
|
|
749
|
+
declare const VARIANT_STATE_CELL_CONTENTS: readonly CellContent[];
|
|
750
|
+
declare const variantSetCoverage: (set: VariantSetView, domainKey: string | null) => VariantSetCoverage;
|
|
751
|
+
declare const VARIANT_COMMAND_FORBIDDEN_SENTENCE = "\u5909\u7A2E\u306E\u7D44\u3092\u64CD\u4F5C\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002";
|
|
752
|
+
declare const variantProjectionActiveSentence: (variantKey: string, reason: string) => string;
|
|
753
|
+
export { API_DEFAULT_COMPARISON_MODE, BREAKER_STATE_LABELS, CAPTURE_FORBIDDEN_SENTENCE, CHILD_RUNS_REFUSAL, CHUNKING_ONLY_NOTE, CHUNK_BODY_FIDELITY_LABELS, CHUNK_CHANGE_KIND_LABELS, COMPARISON_MODE_LABELS, CONFIDENTIALITY_LEVEL_LABELS, ChildRunList, type ChildRunListProps, type ChildRunPageReader, DEGRADATION_REASON_LABELS, DOCUMENT_STATE_CAUSE_LABELS, DegradedSearchBanner, type DegradedSearchBannerProps, type DeveloperSearchPreset, type DiffLinePageQuery, type DiffLinePageReader, type DiffLineTarget, DocumentChangeFeed, type DocumentChangeFeedProps, type DocumentComparisonQuery, type DocumentGraphRelation, type DocumentHistoryHost, DocumentHistoryInspector, type DocumentHistoryInspectorProps, type DocumentHistoryReads, type DocumentHistoryTarget, DocumentIngestConsole, type DocumentIngestConsoleProps, type DocumentIngestLabel, type DocumentIngestPayload, type DocumentScores, type DocumentSearchAnswer, type DocumentSearchAuthzScopes, type DocumentSearchExecutedTiers, type DocumentSearchHit, type DocumentSearchMetadata, type DocumentSearchParams, type DocumentStateCapture, type DocumentVariantHost, type DocumentVariantProjection, type DocumentVariantReading, type DocumentVectorScore, type DocumentVectorScoreKind, EMBEDDING_PROVIDER_LABELS, ENDPOINT_OUTSIDE_DEPLOYMENT_TEXT, EmbeddingVariantBoard, type EmbeddingVariantBoardProps, EnrichmentStrategyBoard, type EnrichmentStrategyBoardProps, type EnrichmentStrategyRow, FACET_LABELS, FAILED_RUN_STATE_MARK, FIELD_LABELS, type FailedSyncEntry, type FailedSyncItem, type FileInspectionResult, FinishedInstant, type FinishedInstantProps, type FlowGeometry, type FlowLayout, type FlowLayoutNode, GATE_POLICY_LABELS, GATE_STATE_PRESENTATION, type GateState, HIDDEN_FIELD_TEXT, HISTORY_REFUSAL, INERT_STAGE_NOTE, INGESTION_JOBS_REFUSAL, INGESTION_JOB_BOARD_TITLE, INGESTION_JOB_CANCEL_FORBIDDEN_SENTENCE, INGESTION_JOB_KIND_LABELS, INGESTION_QUEUE_HEALTH_FORBIDDEN_SENTENCE, INGESTION_QUEUE_HEALTH_TITLE, INGEST_FORBIDDEN_SENTENCE, INSPECT_BLOCKED_REASONS, InfrastructureHealthMonitor, type InfrastructureHealthMonitorProps, type IngestCapabilityPolicy, type IngestDomainOption, type IngestRowAction, IngestionJobBoard, type IngestionJobBoardProps, type IngestionJobPageReader, type IngestionJobStatusPresentation, IngestionQueueHealthCard, type IngestionQueueHealthCardProps, type IngestionQueueHealthReading, type LaidOutEdge, type LaidOutNode, MODEL_ONLY_CHANGE_MARK, MetadataSearchWorkbench, type MetadataSearchWorkbenchProps, ModelComparisonWorkbench, type ModelComparisonWorkbenchProps, NOTHING_TO_READ_LABELS, NO_ENRICHMENT_RECORD_TEXT, NO_FAILURES_TO_RETRY_TEXT, NO_NODE_READING_TEXT, NO_PREVIOUS_RECORD_TEXT, type OntologyClassItem, type OntologyPredicateItem, OntologyStatusCard, type OntologyStatusCardProps, type OntologyStatusData, PHASE_LABELS, PIPELINE_FLOW_TITLE, PIPELINE_RUN_STATUS_PRESENTATION, PIPELINE_RUN_STATUS_TONES, PIPELINE_STEP_STATUS_PRESENTATION, PIPELINE_STEP_STATUS_TONES, PIPELINE_TRIGGER_LABELS, PROCESSING_OBJECTS_REFUSAL, PROCESSING_OBJECT_DELETION_LABELS, PROCESSING_OBJECT_KIND_LABELS, PROCESSING_OBJECT_REVISION_LABELS, PROCESSING_OBJECT_STATUS_LABELS, PRODUCTION_VARIANT_LABEL, PROJECTION_VARIANT_STATE_LABELS, PROJECTION_VARIANT_STATE_TONES, PipelineFlowViewer, type PipelineFlowViewerProps, type PipelineRunPresentationKey, ProcessingObjectBrowser, type ProcessingObjectBrowserProps, type ProcessingObjectHost, QUALITY_TIER_LABELS, type QdrantCollectionInfo, type QdrantCollectionSelection, type QdrantHealthInfo, type QdrantResourceUsage, QdrantStorageCard, type QdrantStorageCardProps, type QdrantStorageOverview, REQUIRED_FIELD_MARK, RESTRICTED_DOCUMENT_TEXT, RESTRICTED_RUN_TEXT, RESTRICTED_STATE_TEXT, RETRY_FORBIDDEN_TEXT, RETRY_SENDING_TEXT, ROWS_BUSY_TEXT, RUN_TERMINAL_STEP_LABEL, RUN_TERMINAL_STEP_OUTCOME_LABELS, type RankAgreement, type RecentIngestEntry, type RecentIngestItem, type RecentIngestLastRun, type RecentIngestUnlock, RecordedInstant, type RecordedInstantProps, SCORE_DECIMALS, SCORE_DISPLAY_DECIMALS, SEARCH_FUSION_LABELS, SEARCH_MODE_LABELS, SEARCH_PRESETS, SPARSE_MODIFIER_LABELS, STRATEGY_FORBIDDEN_TEXT, STRATEGY_UPDATING_TEXT, SUBMIT_BLOCKED_REASONS, SYNC_STATUS_LABELS, SYNC_STATUS_MONITOR_TITLE, type ServiceHealthStatus, type StatusPresentation, type StepGatePolicy, type StepGateState, type StrategyProvenance, type SyncStatusCounts, SyncStatusMonitor, type SyncStatusMonitorProps, type SyncStatusTone, type SystemInfrastructureHealth, UNFINISHED_LABEL, UNNAMED_NODE_TEXT, UNRECORDED_RUN_MARK, UNVERIFIED_CHUNK_NOTE, UNVERSIONED_FLOW_LABEL, VARIANT_COMMAND_FORBIDDEN_SENTENCE, VARIANT_PROJECTION_SCOPE_LABELS, VARIANT_SET_FIELD_MESSAGES, VARIANT_SET_NO_DOCUMENT_TEXT, VARIANT_SHARE_DECIMALS, VARIANT_STATE_CELL_CONTENTS, VARIANT_STATE_UNREAD_TEXT, VARIANT_UNCOVERED_STATE_TEXTS, type VariantCoverage, type VariantProjectionActiveRejection, type VariantSetCommands, type VariantSetCoverage, type VariantSetCreateField, type VariantSetCreateRejection, type VariantSetFieldError, type VariantSetUncoveredKind, WHITESPACE_NORMALIZED_NOTE, activeVariantSets, catalogFigureGeometry, degradationReasonText, documentKindFlows, documentKindLabel, drawnDependencies, facetCountsText, fieldLabel, flowGeometry, gateCaption, gateState, gateStateOf, historyFailedSentence, historyFailureSentence, ingestRowAction, ingestionJobCancelAnnouncement, ingestionJobCancelSentence, ingestionJobKindLabel, ingestionJobStatus, ingestionJobTargetLabel, ingestionQueueHealthUnavailableSentence, jsonValueText, layoutFlow, ledgerStepLabel, nodeReadingText, pipelineFlowLabel, pipelineRunPresentationKey, processingObjectClassificationText, processingObjectKindText, rankAgreement, recordedInstantContent, recordedInstantSampleText, revisionLabel, revisionTransitionText, skipReasonLabel, stepGatePolicy, stepGateState, syncStatusTone, unrecordedRunsMark, variantCoverage, variantCoverageText, variantHitKey, variantKeyLabel, variantProjectionActiveSentence, variantSetCoverage, variantSetOptionLabel, variantSharePercentText, vectorScoreText };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResourceOutcome, ConsoleUiLabels, FigureBoxLines, CellContent } from "@aiquants/console-ui/core";
|
|
2
|
-
import { ChildRunPage, CircuitBreakerStatus, SearchDegradationReason, SearchMode, SearchQualityTier, CircuitBreakerService, SearchFusion, FilterableConfidentialityLevel, DiffLinePage, DocumentHistory, DocumentComparison, DocumentChangeFeedPage, DocumentCaptureAnswer, SourceSpec, ConfidentialityLevel, ReadableEntry, PipelineRunStatus, StoredTerm, ReleasedStepKey, RestrictedRunMark, RemovableProtectionScheme, UnlockDisposition, CopyReason, RestrictedIngestMark, ChunkBodyFidelity, ChunkChangeKind, DocumentStateCause, DocumentFacet, FacetChangeCounts, JsonValue, EnrichmentStageKey, ActiveIngestionJobState, IngestionJobPage, IngestionJob, IngestionJobItem, IngestionQueueHealth, PipelinePhase, PipelineFlowCatalog, PipelineStepMetric, DocumentKind, PipelineFlowEntry, GateSpec, ProcessingObjectFilter, ProcessingObjectPage, MimeKindRule, ProcessingNodeReading, ProcessingObjectItem, NothingToReadToken, PipelineStepStatus, PipelineTrigger, RunTerminalStepOutcome, LedgerStepKey, RestrictedFailureMark, EnrichmentSyncStatus } from "@aiquants/enrichment-core";
|
|
1
|
+
import { ResourceOutcome, CommandOutcome, ConsoleUiLabels, FigureBoxLines, CellContent } from "@aiquants/console-ui/core";
|
|
2
|
+
import { ChildRunPage, CircuitBreakerStatus, SearchDegradationReason, SearchMode, SearchQualityTier, CircuitBreakerService, SearchFusion, FilterableConfidentialityLevel, VariantComparisonAnswer, DiffLinePage, DocumentHistory, DocumentComparison, DocumentChangeFeedPage, DocumentCaptureAnswer, DocumentVariantState, VariantSetCreateRequest, VariantSetView, VariantSetPatchRequest, VariantProjectionRequest, VariantProjectionAccepted, SourceSpec, ConfidentialityLevel, ReadableEntry, PipelineRunStatus, StoredTerm, ReleasedStepKey, RestrictedRunMark, RemovableProtectionScheme, UnlockDisposition, CopyReason, RestrictedIngestMark, ChunkBodyFidelity, ChunkChangeKind, DocumentStateCause, DocumentFacet, FacetChangeCounts, JsonValue, EnrichmentStageKey, ActiveIngestionJobState, IngestionJobPage, IngestionJob, IngestionJobItem, IngestionQueueHealth, ComparisonMode, VariantComparisonRequest, PipelinePhase, PipelineFlowCatalog, PipelineStepMetric, DocumentKind, PipelineFlowEntry, GateSpec, ProcessingObjectFilter, ProcessingObjectPage, MimeKindRule, ProcessingNodeReading, ProcessingObjectItem, NothingToReadToken, PipelineStepStatus, PipelineTrigger, RunTerminalStepOutcome, LedgerStepKey, RestrictedFailureMark, EnrichmentSyncStatus, EmbeddingProvider, ProjectionVariantState, SparseModifier, VariantProjectionScope, VariantDomainRow } from "@aiquants/enrichment-core";
|
|
3
3
|
import React, { ReactNode, JSX, ReactElement, ComponentProps, Ref } from "react";
|
|
4
4
|
import { FigureNodeProps } from "@aiquants/console-ui";
|
|
5
5
|
declare const CHILD_RUNS_REFUSAL = "\u5B50\u306E\u5B9F\u884C\u3092\u95B2\u89A7\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002";
|
|
@@ -24,6 +24,7 @@ interface DocumentSearchParams {
|
|
|
24
24
|
readonly confidentiality_level?: FilterableConfidentialityLevel;
|
|
25
25
|
readonly mime_type?: string;
|
|
26
26
|
readonly tag?: string;
|
|
27
|
+
readonly variant_key?: string;
|
|
27
28
|
}
|
|
28
29
|
type DocumentVectorScoreKind = "cosine" | "bm25" | "mixed";
|
|
29
30
|
interface DocumentVectorScore {
|
|
@@ -81,31 +82,7 @@ interface DocumentSearchAnswer {
|
|
|
81
82
|
readonly hits: readonly DocumentSearchHit[];
|
|
82
83
|
readonly authz_scopes: DocumentSearchAuthzScopes;
|
|
83
84
|
readonly search_metadata: DocumentSearchMetadata;
|
|
84
|
-
|
|
85
|
-
interface VariantComparisonInput {
|
|
86
|
-
readonly query: string;
|
|
87
|
-
readonly strategy_ids: readonly [
|
|
88
|
-
number,
|
|
89
|
-
number
|
|
90
|
-
];
|
|
91
|
-
readonly limit: number;
|
|
92
|
-
}
|
|
93
|
-
interface VariantHit {
|
|
94
|
-
readonly metadata_id: number;
|
|
95
|
-
readonly chunk_index: number;
|
|
96
|
-
readonly text: string | null;
|
|
97
|
-
readonly score: number;
|
|
98
|
-
}
|
|
99
|
-
interface VariantResult {
|
|
100
|
-
readonly strategy_id: number;
|
|
101
|
-
readonly execution_ms: number;
|
|
102
|
-
readonly dense_ran: boolean;
|
|
103
|
-
readonly degradation_reasons: readonly string[];
|
|
104
|
-
readonly hits: readonly VariantHit[];
|
|
105
|
-
}
|
|
106
|
-
interface VariantComparisonAnswer {
|
|
107
|
-
readonly results: readonly VariantResult[];
|
|
108
|
-
readonly text_hidden: boolean;
|
|
85
|
+
readonly variant_key: string;
|
|
109
86
|
}
|
|
110
87
|
declare const HIDDEN_FIELD_TEXT = "\u975E\u8868\u793A (\u5217\u306E\u30B9\u30B3\u30FC\u30D7)";
|
|
111
88
|
declare const SEARCH_MODE_LABELS: Readonly<Record<SearchMode, {
|
|
@@ -125,7 +102,7 @@ interface RankAgreement {
|
|
|
125
102
|
readonly meanAbsoluteRankDifference: number | null;
|
|
126
103
|
}
|
|
127
104
|
declare function rankAgreement(a: readonly string[], b: readonly string[]): RankAgreement;
|
|
128
|
-
declare function variantHitKey(hit: Pick<
|
|
105
|
+
declare function variantHitKey(hit: Pick<VariantComparisonAnswer["results"][number]["hits"][number], "metadata_id" | "chunk_index">): string;
|
|
129
106
|
interface DegradedSearchBannerProps {
|
|
130
107
|
readonly metadata: Pick<DocumentSearchMetadata, "is_degraded" | "requested_mode" | "search_mode" | "executed_tiers" | "quality_tier" | "degradation_reasons">;
|
|
131
108
|
readonly testId: string;
|
|
@@ -168,6 +145,38 @@ interface DocumentChangeFeedProps {
|
|
|
168
145
|
readonly onOpen?: (metadataId: number, stateId: number) => void;
|
|
169
146
|
}
|
|
170
147
|
declare function DocumentChangeFeed({ host, onOpen }: DocumentChangeFeedProps): ReactNode;
|
|
148
|
+
type VariantSetCreateField = keyof VariantSetCreateRequest;
|
|
149
|
+
interface VariantSetFieldError {
|
|
150
|
+
readonly field: VariantSetCreateField | null;
|
|
151
|
+
readonly message: string;
|
|
152
|
+
}
|
|
153
|
+
type VariantSetCreateRejection = {
|
|
154
|
+
readonly code: "REQUEST_INVALID";
|
|
155
|
+
readonly errors: readonly VariantSetFieldError[];
|
|
156
|
+
} | {
|
|
157
|
+
readonly code: "ENDPOINT_OUTSIDE_DEPLOYMENT";
|
|
158
|
+
};
|
|
159
|
+
interface VariantProjectionActiveRejection {
|
|
160
|
+
readonly code: "VARIANT_PROJECTION_ACTIVE";
|
|
161
|
+
}
|
|
162
|
+
interface VariantSetCommands {
|
|
163
|
+
readonly create: (request: VariantSetCreateRequest) => Promise<CommandOutcome<VariantSetView, VariantSetCreateRejection>>;
|
|
164
|
+
readonly patch: (variantKey: string, request: VariantSetPatchRequest) => Promise<ResourceOutcome<VariantSetView>>;
|
|
165
|
+
readonly startProjection: (variantKey: string, request: VariantProjectionRequest) => Promise<ResourceOutcome<VariantProjectionAccepted>>;
|
|
166
|
+
readonly removePoints: (variantKey: string) => Promise<CommandOutcome<null, VariantProjectionActiveRejection>>;
|
|
167
|
+
}
|
|
168
|
+
interface DocumentVariantReading {
|
|
169
|
+
readonly domainKey: string | null;
|
|
170
|
+
readonly variants: readonly DocumentVariantState[];
|
|
171
|
+
}
|
|
172
|
+
interface DocumentVariantProjection {
|
|
173
|
+
readonly chunkCount: number;
|
|
174
|
+
}
|
|
175
|
+
interface DocumentVariantHost {
|
|
176
|
+
readonly load: (metadataId: number, signal: AbortSignal) => Promise<ResourceOutcome<DocumentVariantReading>>;
|
|
177
|
+
readonly project: (metadataId: number, strategyId: number) => Promise<ResourceOutcome<DocumentVariantProjection>>;
|
|
178
|
+
readonly removePoints: (variantKey: string, metadataId: number) => Promise<CommandOutcome<null, VariantProjectionActiveRejection>>;
|
|
179
|
+
}
|
|
171
180
|
type DocumentHistoryReads = Pick<DocumentHistoryHost, "loadHistory" | "compare" | "readLines">;
|
|
172
181
|
interface DocumentHistoryInspectorProps {
|
|
173
182
|
readonly host: DocumentHistoryReads;
|
|
@@ -178,8 +187,11 @@ interface DocumentHistoryInspectorProps {
|
|
|
178
187
|
readonly returnFocusFallback: () => HTMLElement | null;
|
|
179
188
|
readonly captureState?: DocumentStateCapture;
|
|
180
189
|
readonly canSendCommands: boolean;
|
|
190
|
+
readonly variantSets: readonly VariantSetView[];
|
|
191
|
+
readonly variantHost: DocumentVariantHost;
|
|
192
|
+
readonly canSendVariantCommands: boolean;
|
|
181
193
|
}
|
|
182
|
-
declare function DocumentHistoryInspector({ host, metadataId, target, openRequest, onClose, returnFocusFallback, captureState, canSendCommands }: DocumentHistoryInspectorProps): ReactNode;
|
|
194
|
+
declare function DocumentHistoryInspector({ host, metadataId, target, openRequest, onClose, returnFocusFallback, captureState, canSendCommands, variantSets, variantHost, canSendVariantCommands }: DocumentHistoryInspectorProps): ReactNode;
|
|
183
195
|
interface DocumentIngestLabel {
|
|
184
196
|
labelKey: string;
|
|
185
197
|
category: "user" | "system" | "domain";
|
|
@@ -313,6 +325,14 @@ declare function historyFailureSentence(labels: ConsoleUiLabels, failure: {
|
|
|
313
325
|
readonly reason: string;
|
|
314
326
|
}, subject: string): string;
|
|
315
327
|
declare function historyFailedSentence(subject: string): (reason: string) => string;
|
|
328
|
+
interface EmbeddingVariantBoardProps {
|
|
329
|
+
readonly variantSets: readonly VariantSetView[];
|
|
330
|
+
readonly commands: VariantSetCommands;
|
|
331
|
+
readonly canSendCommands: boolean;
|
|
332
|
+
}
|
|
333
|
+
declare const VARIANT_SET_FIELD_MESSAGES: Readonly<Record<VariantSetCreateField, string>>;
|
|
334
|
+
declare const ENDPOINT_OUTSIDE_DEPLOYMENT_TEXT = "\u3053\u306E\u5B9B\u5148\u306F\u914D\u5099\u306E\u5916\u3068\u5224\u5B9A\u3055\u308C\u307E\u3057\u305F\u3002\u914D\u5099\u306E\u5185\u3068\u898B\u306A\u3059\u30DB\u30B9\u30C8\u306E\u4E00\u89A7\u306B\u8F09\u308B\u5B9B\u5148\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002";
|
|
335
|
+
declare function EmbeddingVariantBoard({ variantSets, commands, canSendCommands }: EmbeddingVariantBoardProps): ReactNode;
|
|
316
336
|
type StrategyProvenance = "tenant" | "system";
|
|
317
337
|
interface EnrichmentStrategyRow {
|
|
318
338
|
id: number;
|
|
@@ -414,21 +434,18 @@ declare const SEARCH_PRESETS: readonly DeveloperSearchPreset[];
|
|
|
414
434
|
declare const CONFIDENTIALITY_LEVEL_LABELS: Readonly<Record<FilterableConfidentialityLevel, string>>;
|
|
415
435
|
interface MetadataSearchWorkbenchProps {
|
|
416
436
|
readonly tenantId: string;
|
|
437
|
+
readonly variantSets: readonly VariantSetView[];
|
|
417
438
|
readonly onSearch: (params: DocumentSearchParams, signal: AbortSignal) => Promise<DocumentSearchAnswer>;
|
|
418
439
|
readonly initialParams?: Partial<DocumentSearchParams>;
|
|
419
440
|
}
|
|
420
|
-
declare function MetadataSearchWorkbench({ tenantId, onSearch, initialParams }: MetadataSearchWorkbenchProps): ReactNode;
|
|
421
|
-
interface ComparisonVariant {
|
|
422
|
-
readonly strategyId: number;
|
|
423
|
-
readonly label: string;
|
|
424
|
-
readonly embeddingModel: string;
|
|
425
|
-
}
|
|
441
|
+
declare function MetadataSearchWorkbench({ tenantId, variantSets, onSearch, initialParams }: MetadataSearchWorkbenchProps): ReactNode;
|
|
426
442
|
interface ModelComparisonWorkbenchProps {
|
|
427
|
-
readonly
|
|
428
|
-
readonly onCompare: (
|
|
443
|
+
readonly variantSets: readonly VariantSetView[];
|
|
444
|
+
readonly onCompare: (request: VariantComparisonRequest, signal: AbortSignal) => Promise<VariantComparisonAnswer>;
|
|
429
445
|
}
|
|
430
446
|
declare const SCORE_DISPLAY_DECIMALS = 4;
|
|
431
|
-
declare
|
|
447
|
+
declare const API_DEFAULT_COMPARISON_MODE: ComparisonMode;
|
|
448
|
+
declare function ModelComparisonWorkbench({ variantSets, onCompare }: ModelComparisonWorkbenchProps): ReactNode;
|
|
432
449
|
interface OntologyClassItem {
|
|
433
450
|
name: string;
|
|
434
451
|
description: string;
|
|
@@ -546,11 +563,12 @@ interface ProcessingObjectBrowserProps {
|
|
|
546
563
|
readonly filter: ProcessingObjectFilter;
|
|
547
564
|
readonly onFilterChange: (filter: ProcessingObjectFilter) => void;
|
|
548
565
|
readonly onOpenHistory?: (metadataId: number) => void;
|
|
566
|
+
readonly variantSets: readonly VariantSetView[];
|
|
549
567
|
}
|
|
550
568
|
declare function nodeReadingText(reading: ProcessingNodeReading | null): string;
|
|
551
569
|
declare function processingObjectKindText(item: ProcessingObjectItem, mimeKindRules: readonly MimeKindRule[]): string;
|
|
552
570
|
declare function processingObjectClassificationText(item: ProcessingObjectItem): string;
|
|
553
|
-
declare function ProcessingObjectBrowser({ host, mimeKindRules, filter, onFilterChange, onOpenHistory }: ProcessingObjectBrowserProps): ReactNode;
|
|
571
|
+
declare function ProcessingObjectBrowser({ host, mimeKindRules, filter, onFilterChange, onOpenHistory, variantSets }: ProcessingObjectBrowserProps): ReactNode;
|
|
554
572
|
interface StatusPresentation {
|
|
555
573
|
readonly label: string;
|
|
556
574
|
}
|
|
@@ -694,4 +712,42 @@ declare const SYNC_STATUS_LABELS: Readonly<Record<EnrichmentSyncStatus, string>>
|
|
|
694
712
|
declare const NO_ENRICHMENT_RECORD_TEXT = "\u53D6\u308A\u8FBC\u307F\u306E\u8A18\u9332\u306A\u3057";
|
|
695
713
|
type SyncStatusTone = "info" | "success" | "danger";
|
|
696
714
|
declare function syncStatusTone(status: EnrichmentSyncStatus): SyncStatusTone;
|
|
697
|
-
|
|
715
|
+
declare const PRODUCTION_VARIANT_LABEL = "\u672C\u756A (default)";
|
|
716
|
+
declare const PROJECTION_VARIANT_STATE_LABELS: Readonly<Record<ProjectionVariantState, string>>;
|
|
717
|
+
declare const PROJECTION_VARIANT_STATE_TONES: Readonly<Record<ProjectionVariantState, "success" | "warning" | "danger" | "neutral">>;
|
|
718
|
+
declare const EMBEDDING_PROVIDER_LABELS: Readonly<Record<EmbeddingProvider, string>>;
|
|
719
|
+
declare const SPARSE_MODIFIER_LABELS: Readonly<Record<SparseModifier, string>>;
|
|
720
|
+
declare const COMPARISON_MODE_LABELS: Readonly<Record<ComparisonMode, {
|
|
721
|
+
readonly label: string;
|
|
722
|
+
readonly description: string;
|
|
723
|
+
}>>;
|
|
724
|
+
declare const VARIANT_PROJECTION_SCOPE_LABELS: Readonly<Record<VariantProjectionScope, string>>;
|
|
725
|
+
declare const VARIANT_SHARE_DECIMALS = 1;
|
|
726
|
+
declare const VARIANT_SET_NO_DOCUMENT_TEXT = "\u5BFE\u8C61\u306E\u6587\u66F8\u304C\u3042\u308A\u307E\u305B\u3093";
|
|
727
|
+
interface VariantCoverage {
|
|
728
|
+
readonly projected: number;
|
|
729
|
+
readonly documents: number;
|
|
730
|
+
readonly share: number | null;
|
|
731
|
+
}
|
|
732
|
+
declare const activeVariantSets: (sets: readonly VariantSetView[]) => readonly VariantSetView[];
|
|
733
|
+
declare const variantCoverage: (rows: readonly Pick<VariantSetView["domains"][number], "projected" | "documents">[]) => VariantCoverage;
|
|
734
|
+
declare const variantSharePercentText: (coverage: VariantCoverage) => string;
|
|
735
|
+
declare const variantCoverageText: (coverage: VariantCoverage, subject: string, formatLocale: string) => string;
|
|
736
|
+
declare const variantSetOptionLabel: (set: VariantSetView) => string;
|
|
737
|
+
declare const variantKeyLabel: (key: string) => string;
|
|
738
|
+
declare const VARIANT_STATE_UNREAD_TEXT = "\u72B6\u614B\u3092\u8AAD\u3093\u3067\u3044\u307E\u305B\u3093";
|
|
739
|
+
type VariantSetCoverage = {
|
|
740
|
+
readonly kind: "covered";
|
|
741
|
+
readonly row: VariantDomainRow;
|
|
742
|
+
} | {
|
|
743
|
+
readonly kind: "unclassified";
|
|
744
|
+
} | {
|
|
745
|
+
readonly kind: "missing";
|
|
746
|
+
};
|
|
747
|
+
type VariantSetUncoveredKind = Exclude<VariantSetCoverage["kind"], "covered">;
|
|
748
|
+
declare const VARIANT_UNCOVERED_STATE_TEXTS: Readonly<Record<VariantSetUncoveredKind, string>>;
|
|
749
|
+
declare const VARIANT_STATE_CELL_CONTENTS: readonly CellContent[];
|
|
750
|
+
declare const variantSetCoverage: (set: VariantSetView, domainKey: string | null) => VariantSetCoverage;
|
|
751
|
+
declare const VARIANT_COMMAND_FORBIDDEN_SENTENCE = "\u5909\u7A2E\u306E\u7D44\u3092\u64CD\u4F5C\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002";
|
|
752
|
+
declare const variantProjectionActiveSentence: (variantKey: string, reason: string) => string;
|
|
753
|
+
export { API_DEFAULT_COMPARISON_MODE, BREAKER_STATE_LABELS, CAPTURE_FORBIDDEN_SENTENCE, CHILD_RUNS_REFUSAL, CHUNKING_ONLY_NOTE, CHUNK_BODY_FIDELITY_LABELS, CHUNK_CHANGE_KIND_LABELS, COMPARISON_MODE_LABELS, CONFIDENTIALITY_LEVEL_LABELS, ChildRunList, type ChildRunListProps, type ChildRunPageReader, DEGRADATION_REASON_LABELS, DOCUMENT_STATE_CAUSE_LABELS, DegradedSearchBanner, type DegradedSearchBannerProps, type DeveloperSearchPreset, type DiffLinePageQuery, type DiffLinePageReader, type DiffLineTarget, DocumentChangeFeed, type DocumentChangeFeedProps, type DocumentComparisonQuery, type DocumentGraphRelation, type DocumentHistoryHost, DocumentHistoryInspector, type DocumentHistoryInspectorProps, type DocumentHistoryReads, type DocumentHistoryTarget, DocumentIngestConsole, type DocumentIngestConsoleProps, type DocumentIngestLabel, type DocumentIngestPayload, type DocumentScores, type DocumentSearchAnswer, type DocumentSearchAuthzScopes, type DocumentSearchExecutedTiers, type DocumentSearchHit, type DocumentSearchMetadata, type DocumentSearchParams, type DocumentStateCapture, type DocumentVariantHost, type DocumentVariantProjection, type DocumentVariantReading, type DocumentVectorScore, type DocumentVectorScoreKind, EMBEDDING_PROVIDER_LABELS, ENDPOINT_OUTSIDE_DEPLOYMENT_TEXT, EmbeddingVariantBoard, type EmbeddingVariantBoardProps, EnrichmentStrategyBoard, type EnrichmentStrategyBoardProps, type EnrichmentStrategyRow, FACET_LABELS, FAILED_RUN_STATE_MARK, FIELD_LABELS, type FailedSyncEntry, type FailedSyncItem, type FileInspectionResult, FinishedInstant, type FinishedInstantProps, type FlowGeometry, type FlowLayout, type FlowLayoutNode, GATE_POLICY_LABELS, GATE_STATE_PRESENTATION, type GateState, HIDDEN_FIELD_TEXT, HISTORY_REFUSAL, INERT_STAGE_NOTE, INGESTION_JOBS_REFUSAL, INGESTION_JOB_BOARD_TITLE, INGESTION_JOB_CANCEL_FORBIDDEN_SENTENCE, INGESTION_JOB_KIND_LABELS, INGESTION_QUEUE_HEALTH_FORBIDDEN_SENTENCE, INGESTION_QUEUE_HEALTH_TITLE, INGEST_FORBIDDEN_SENTENCE, INSPECT_BLOCKED_REASONS, InfrastructureHealthMonitor, type InfrastructureHealthMonitorProps, type IngestCapabilityPolicy, type IngestDomainOption, type IngestRowAction, IngestionJobBoard, type IngestionJobBoardProps, type IngestionJobPageReader, type IngestionJobStatusPresentation, IngestionQueueHealthCard, type IngestionQueueHealthCardProps, type IngestionQueueHealthReading, type LaidOutEdge, type LaidOutNode, MODEL_ONLY_CHANGE_MARK, MetadataSearchWorkbench, type MetadataSearchWorkbenchProps, ModelComparisonWorkbench, type ModelComparisonWorkbenchProps, NOTHING_TO_READ_LABELS, NO_ENRICHMENT_RECORD_TEXT, NO_FAILURES_TO_RETRY_TEXT, NO_NODE_READING_TEXT, NO_PREVIOUS_RECORD_TEXT, type OntologyClassItem, type OntologyPredicateItem, OntologyStatusCard, type OntologyStatusCardProps, type OntologyStatusData, PHASE_LABELS, PIPELINE_FLOW_TITLE, PIPELINE_RUN_STATUS_PRESENTATION, PIPELINE_RUN_STATUS_TONES, PIPELINE_STEP_STATUS_PRESENTATION, PIPELINE_STEP_STATUS_TONES, PIPELINE_TRIGGER_LABELS, PROCESSING_OBJECTS_REFUSAL, PROCESSING_OBJECT_DELETION_LABELS, PROCESSING_OBJECT_KIND_LABELS, PROCESSING_OBJECT_REVISION_LABELS, PROCESSING_OBJECT_STATUS_LABELS, PRODUCTION_VARIANT_LABEL, PROJECTION_VARIANT_STATE_LABELS, PROJECTION_VARIANT_STATE_TONES, PipelineFlowViewer, type PipelineFlowViewerProps, type PipelineRunPresentationKey, ProcessingObjectBrowser, type ProcessingObjectBrowserProps, type ProcessingObjectHost, QUALITY_TIER_LABELS, type QdrantCollectionInfo, type QdrantCollectionSelection, type QdrantHealthInfo, type QdrantResourceUsage, QdrantStorageCard, type QdrantStorageCardProps, type QdrantStorageOverview, REQUIRED_FIELD_MARK, RESTRICTED_DOCUMENT_TEXT, RESTRICTED_RUN_TEXT, RESTRICTED_STATE_TEXT, RETRY_FORBIDDEN_TEXT, RETRY_SENDING_TEXT, ROWS_BUSY_TEXT, RUN_TERMINAL_STEP_LABEL, RUN_TERMINAL_STEP_OUTCOME_LABELS, type RankAgreement, type RecentIngestEntry, type RecentIngestItem, type RecentIngestLastRun, type RecentIngestUnlock, RecordedInstant, type RecordedInstantProps, SCORE_DECIMALS, SCORE_DISPLAY_DECIMALS, SEARCH_FUSION_LABELS, SEARCH_MODE_LABELS, SEARCH_PRESETS, SPARSE_MODIFIER_LABELS, STRATEGY_FORBIDDEN_TEXT, STRATEGY_UPDATING_TEXT, SUBMIT_BLOCKED_REASONS, SYNC_STATUS_LABELS, SYNC_STATUS_MONITOR_TITLE, type ServiceHealthStatus, type StatusPresentation, type StepGatePolicy, type StepGateState, type StrategyProvenance, type SyncStatusCounts, SyncStatusMonitor, type SyncStatusMonitorProps, type SyncStatusTone, type SystemInfrastructureHealth, UNFINISHED_LABEL, UNNAMED_NODE_TEXT, UNRECORDED_RUN_MARK, UNVERIFIED_CHUNK_NOTE, UNVERSIONED_FLOW_LABEL, VARIANT_COMMAND_FORBIDDEN_SENTENCE, VARIANT_PROJECTION_SCOPE_LABELS, VARIANT_SET_FIELD_MESSAGES, VARIANT_SET_NO_DOCUMENT_TEXT, VARIANT_SHARE_DECIMALS, VARIANT_STATE_CELL_CONTENTS, VARIANT_STATE_UNREAD_TEXT, VARIANT_UNCOVERED_STATE_TEXTS, type VariantCoverage, type VariantProjectionActiveRejection, type VariantSetCommands, type VariantSetCoverage, type VariantSetCreateField, type VariantSetCreateRejection, type VariantSetFieldError, type VariantSetUncoveredKind, WHITESPACE_NORMALIZED_NOTE, activeVariantSets, catalogFigureGeometry, degradationReasonText, documentKindFlows, documentKindLabel, drawnDependencies, facetCountsText, fieldLabel, flowGeometry, gateCaption, gateState, gateStateOf, historyFailedSentence, historyFailureSentence, ingestRowAction, ingestionJobCancelAnnouncement, ingestionJobCancelSentence, ingestionJobKindLabel, ingestionJobStatus, ingestionJobTargetLabel, ingestionQueueHealthUnavailableSentence, jsonValueText, layoutFlow, ledgerStepLabel, nodeReadingText, pipelineFlowLabel, pipelineRunPresentationKey, processingObjectClassificationText, processingObjectKindText, rankAgreement, recordedInstantContent, recordedInstantSampleText, revisionLabel, revisionTransitionText, skipReasonLabel, stepGatePolicy, stepGateState, syncStatusTone, unrecordedRunsMark, variantCoverage, variantCoverageText, variantHitKey, variantKeyLabel, variantProjectionActiveSentence, variantSetCoverage, variantSetOptionLabel, variantSharePercentText, vectorScoreText };
|