30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
TypeScript
export type OutputMode = 'none' | 'balanced' | 'complete';
|
|
export type AudienceLevel = 'all' | 'beginner' | 'intermediate' | 'expert';
|
|
export type DocPurpose = 'reference' | 'tutorial' | 'troubleshooting' | 'conceptual' | 'guide' | 'specification';
|
|
export type ProfileType = 'scraped' | 'research' | 'technical' | 'code' | 'data' | 'changelog' | 'legal' | 'test' | 'schema' | 'troubleshoot' | 'meeting' | 'faq' | 'config';
|
|
export interface FrontmatterOptions {
|
|
generator: string;
|
|
version: string;
|
|
title: string;
|
|
sourcePath?: string | null;
|
|
profile?: ProfileType;
|
|
extractionConfidence?: number;
|
|
contentQuality?: number;
|
|
}
|
|
export interface DeterministicFields {
|
|
word_count?: number;
|
|
page_count?: number;
|
|
character_count?: number;
|
|
[key: string]: any;
|
|
}
|
|
export interface LLMEnrichment {
|
|
summary?: string;
|
|
tags?: string[];
|
|
category?: string;
|
|
audience?: AudienceLevel;
|
|
doc_purpose?: DocPurpose;
|
|
complexity?: number;
|
|
actionable?: boolean;
|
|
key_technologies?: string[];
|
|
}
|