Interface AiModelClientFactory
-
- All Superinterfaces:
Factory
- All Known Implementing Classes:
DummyModelClientFactory,OpenAiCompatibleModelClientFactory
@Experimental public interface AiModelClientFactory extends Factory
AFactorythat createsAiModelClientinstances. The factory identifier maps to thetypefield of a pipeline model definition.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.cdc.common.factories.Factory
Factory.Context
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AiModelClientcreateClient(ModelContext context)Creates a newAiModelClientfrom the given context.-
Methods inherited from interface org.apache.flink.cdc.common.factories.Factory
identifier, optionalOptions, requiredOptions
-
-
-
-
Method Detail
-
createClient
AiModelClient createClient(ModelContext context)
Creates a newAiModelClientfrom the given context. The returned client is serialized with the transform operator and opened on task managers.
-
-