企业🤖AI智能体构建引擎
,智能编排和调试,一键部署,支持知识库和私有化部署方案
广告
**1. 单一职责** **2. 依赖倒置** **3. 迪米特(最少知道)** **4. 接口隔离** **5. 里氏替换** **6. 开发封闭**
序言
预览
设计原则
创建型模式
+单例模式(Singleton Pattern)
建造者模式(Builder Pattern)
+工厂模式(Factory Pattern)
结构型模式
代理模式(Proxy Pattern)
+适配器模式(Adapter Pattern)
装饰器模式(Decorator Pattern)
行为型模式
观察者模式(Observer Pattern)
+策略模式(Strategy Pattern)
+责任链模式(Chain of Responsibility Pattern)
总结