mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-02 10:19:43 +00:00
Implement self-hosted MCP server for admin actions, update AI generation tools in admin dashboard, and refine mobile app stores and components.
70 lines
1.9 KiB
TypeScript
70 lines
1.9 KiB
TypeScript
// =============================================================================
|
|
// AI Module - Main Entry Point
|
|
// Re-exports all public APIs for backwards compatibility
|
|
// =============================================================================
|
|
|
|
// Types
|
|
export type {
|
|
ModelPurpose,
|
|
CouncilGenerator,
|
|
CouncilSelectionMode,
|
|
CouncilConfig,
|
|
GeneratedPack,
|
|
GeneratedQuestion,
|
|
GeneratedCategoryIdea,
|
|
GeneratedPackIdea,
|
|
QuestionReview,
|
|
ReviewResult,
|
|
GenerationCandidate,
|
|
CouncilGenerationResult,
|
|
GeneratorStatus,
|
|
GenerationProgress,
|
|
ProgressCallback,
|
|
PooledQuestion,
|
|
CherryPickEvaluation,
|
|
CherryPickResult,
|
|
TargetAnalysis,
|
|
TextAnalysis,
|
|
DeletionAnalysis,
|
|
PropsAnalysis,
|
|
ExtractedTopic,
|
|
TopicExtractionResult,
|
|
SelectionResult,
|
|
ToneLevel,
|
|
} from './types';
|
|
|
|
// Client
|
|
export { getOpenAI, getModel, getShortModelName } from './client';
|
|
|
|
// Config
|
|
export {
|
|
getCouncilConfig,
|
|
initializeAiConfig,
|
|
TONE_LEVELS,
|
|
INTENSITY_LEVELS,
|
|
INTENSITY_GUIDE,
|
|
INTENSITY_GUIDE_SHORT,
|
|
REVIEW_GUIDELINES,
|
|
TONE_INSTRUCTIONS,
|
|
SYSTEM_MESSAGES,
|
|
} from './config';
|
|
|
|
// Generators
|
|
export { generatePack, suggestPacks } from './generators/packs';
|
|
export { generateCategory, suggestCategories } from './generators/categories';
|
|
export { generateQuestions, generateQuestionsWithModel } from './generators/questions';
|
|
export { generateQuestionsWithCouncil } from './generators/council';
|
|
|
|
// Review
|
|
export { reviewGeneratedQuestions, selectBestGeneration } from './review';
|
|
|
|
// Analyzers
|
|
export { analyzeQuestionText } from './analyzers/text';
|
|
export { analyzeQuestionTargets } from './analyzers/targets';
|
|
export { analyzeQuestionDeletions } from './analyzers/deletions';
|
|
export { analyzeQuestionProps } from './analyzers/props';
|
|
|
|
// Tools
|
|
export { polishContent } from './tools/polish';
|
|
export { extractTopicsFromPack } from './tools/topics';
|