Overview
T3AF is a shared foundation layer:AI Prompts (T3AI)
Management UI for T3AI global and sidebar prompts lives in T3AF → AI Prompts. Built-in defaults are defined inns_t3ai (PromptContractRegistry); the database stores custom overrides only.
See PromptManagementProvidersAndFeatures.md and PromptsSystemReference.md in this directory for routes, UI behaviour, and class reference.
Main components
- Request orchestration:
AiServiceInterfaceandAiService - Provider adapters:
AdapterRegistryandAdapterInterfaceimplementations - Statistics processing:
AiStatisticsServiceandOpenAiOrganizationUsageService - Engine configuration filtering:
AiEngineConfiguration - Utility and environment helpers:
AiUniverseUtilityHelper - HTTP auth helper:
HttpAuthUtility
Configuration model
Runtime behavior is mostly driven by extension configuration keys fromext_conf_template.txt.
This includes:
- provider keys and models
- default engine selection
- token/temperature values
- basic auth settings
Caching
The extension registers cachenst3af_statistics in
ext_localconf.php.
Statistics service stores processed data in this cache to reduce repeated
usage API calls.
Constraints
- No native frontend plugin and no Fluid frontend output in this package.
- Primary role is reusable service infrastructure.