Package com.tnsai.eval.hooks
Interface EvalHandle.Factory
- Enclosing interface:
EvalHandle
public static interface EvalHandle.Factory
Factory for creating EvalHandle instances.
Discovered via ServiceLoader from tnsai-quality.
-
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a new eval handle.static EvalHandle.Factorydiscover()Discovers a Factory via ServiceLoader.
-
Method Details
-
create
EvalHandle create()Creates a new eval handle.- Returns:
- new handle instance
-
discover
Discovers a Factory via ServiceLoader.- Returns:
- discovered factory, or null if tnsai-quality is not on classpath
-