接口的使用
io.agentscope.core.model.ModelRegistry.ContextModelFactory
-
io.agentscope.core.model中ModelRegistry.ContextModelFactory的使用
修饰符和类型方法说明static voidModelRegistry.registerFactory(String modelNameRegex, ModelRegistry.ContextModelFactory factory) Registers a context-aware factory matched against the fullmodelIdstring usingPattern.matches(java.lang.String, java.lang.CharSequence).