ГЛОБАЛЬНЫЙ РЕФАКТОРИНГ АРХИТЕКТУРЫ - Рефакторинг этапов 2.109 - 2.112 - Ужесточение типы plan-аудита и live-route аудита в deep grounding
This commit is contained in:
@@ -5,6 +5,7 @@ import type {
|
||||
AssistantDeepTurnRetrievalGuardPipelineInput,
|
||||
AssistantDeepTurnRetrievalGuardPipelineOutput
|
||||
} from "./assistantDeepTurnGuardRuntimeAdapter";
|
||||
import type { AssistantBusinessScopeResolution } from "./assistantDeepTurnContextRuntimeAdapter";
|
||||
import type {
|
||||
AssistantPlanEnforcementAuditLike,
|
||||
AssistantRequirementExtractionLike
|
||||
@@ -20,17 +21,15 @@ import type {
|
||||
} from "./assistantDeepTurnGroundingRuntimeAdapter";
|
||||
import type { AssistantDeepTurnCompositionOutput } from "./assistantDeepTurnCompositionRuntimeAdapter";
|
||||
import type { DomainPolarityGuardAudit, TemporalGuardAudit } from "./assistantRuntimeGuards";
|
||||
import type { CompanyAnchorSet } from "./companyAnchorResolver";
|
||||
|
||||
export interface AssistantDeepTurnRuntimeContextLike {
|
||||
companyAnchors: AssistantDeepTurnRetrievalGuardPipelineInput["companyAnchors"];
|
||||
companyAnchors: CompanyAnchorSet | null;
|
||||
focusDomainForGuards: AssistantDeepTurnRetrievalGuardPipelineInput["focusDomainForGuards"];
|
||||
temporalGuard: TemporalGuardAudit;
|
||||
domainPolarityGuardInitial: DomainPolarityGuardAudit;
|
||||
claimAnchorAudit: ClaimBoundAnchorAudit;
|
||||
businessScopeResolution: {
|
||||
business_scope_resolved?: string[] | null;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
businessScopeResolution: AssistantBusinessScopeResolution;
|
||||
resolvedRouteSummary: RouteHintSummary | null;
|
||||
liveTemporalHint: AssistantLiveTemporalHint | null;
|
||||
}
|
||||
@@ -65,8 +64,8 @@ export interface RunAssistantDeepTurnAnalysisRuntimeInput {
|
||||
runGroundingRuntime: (input: {
|
||||
claimType: string;
|
||||
retrievalResults: UnifiedRetrievalResult[];
|
||||
rbpPlanAudit: unknown;
|
||||
faPlanAudit: unknown;
|
||||
rbpPlanAudit: AssistantDeepTurnGroundingRuntimeInput["rbpPlanAudit"];
|
||||
faPlanAudit: AssistantDeepTurnGroundingRuntimeInput["faPlanAudit"];
|
||||
routeSummary: RouteHintSummary | null;
|
||||
requirementExtraction: AssistantRequirementExtractionLike;
|
||||
temporalGuard: AssistantDeepTurnGroundingRuntimeInput["temporalGuard"];
|
||||
@@ -82,13 +81,13 @@ export interface RunAssistantDeepTurnAnalysisRuntimeInput {
|
||||
requirements: AssistantRequirement[];
|
||||
coverageReport: RequirementCoverageReport;
|
||||
groundingCheck: AnswerGroundingCheck;
|
||||
companyAnchors: unknown;
|
||||
companyAnchors: CompanyAnchorSet | null;
|
||||
}) => AssistantDeepTurnCompositionOutput;
|
||||
}
|
||||
|
||||
export interface RunAssistantDeepTurnAnalysisRuntimeOutput {
|
||||
companyAnchors: unknown;
|
||||
temporalGuard: unknown;
|
||||
companyAnchors: CompanyAnchorSet | null;
|
||||
temporalGuard: TemporalGuardAudit;
|
||||
claimAnchorAudit: AssistantDeepTurnRuntimeContextLike["claimAnchorAudit"];
|
||||
businessScopeResolution: AssistantDeepTurnRuntimeContextLike["businessScopeResolution"];
|
||||
resolvedRouteSummary: RouteHintSummary | null;
|
||||
|
||||
Reference in New Issue
Block a user