Package org.apache.flink.table.ml
Interface ModelProvider.Context
-
- Enclosing interface:
- ModelProvider
@PublicEvolving public static interface ModelProvider.ContextContext for creating runtime providers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResolvedCatalogModelgetCatalogModel()Resolved catalog model.org.apache.flink.configuration.ReadableConfigruntimeConfig()Runtime config provided to provider.
-
-
-
Method Detail
-
getCatalogModel
ResolvedCatalogModel getCatalogModel()
Resolved catalog model.
-
runtimeConfig
org.apache.flink.configuration.ReadableConfig runtimeConfig()
Runtime config provided to provider. The config can be used by planner or model provider at runtime. For example, async options can be used by planner to choose async inference. Other config such as http timeout or retry can be used to configure model provider runtime http client when calling external model providers such as OpenAI.
-
-