Skip to main content

Overview

T3AF is a shared foundation layer:
Parallel support:

AI Prompts (T3AI)

Management UI for T3AI global and sidebar prompts lives in T3AF → AI Prompts. Built-in defaults are defined in ns_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: AiServiceInterface and AiService
  • Provider adapters: AdapterRegistry and AdapterInterface implementations
  • Statistics processing: AiStatisticsService and OpenAiOrganizationUsageService
  • Engine configuration filtering: AiEngineConfiguration
  • Utility and environment helpers: AiUniverseUtilityHelper
  • HTTP auth helper: HttpAuthUtility

Configuration model

Runtime behavior is mostly driven by extension configuration keys from ext_conf_template.txt. This includes:
  • provider keys and models
  • default engine selection
  • token/temperature values
  • basic auth settings

Caching

The extension registers cache nst3af_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.