1"""AgentOS Prompt Management — v1.2.7 / v1.3.12.

2

3- PromptTemplate: 参数化模板，变量注入 + 版本管理。

4- PromptRegistry: 全局注册中心，按名称/标签检索。

5- PromptOptimizer: DSPy-inspired 自动提示词优化。

6- FewShotSelector: 智能 few-shot 示例选择与格式化。

7"""

8

9 from agentos.prompts.manager import PromptTemplate, PromptRegistry

10 from agentos.prompts.optimizer import (

11 PromptOptimizer,

12 OptimizerConfig,

13 OptimizationStrategy,

14 OptimizationResult,

15 PromptCandidate,

16)

17 from agentos.prompts.few_shot import (

18 FewShotSelector,

19 Example,

20 SelectionStrategy,

21 build_examples,

22)

23

24__all__ = [

25 "PromptTemplate",

26 "PromptRegistry",

27 "PromptOptimizer",

28 "OptimizerConfig",

29 "OptimizationStrategy",

30 "OptimizationResult",

31 "PromptCandidate",

32 "FewShotSelector",

33 "Example",

34 "SelectionStrategy",

35 "build_examples",

36]