Class InferenceConfig.RuntimeConfig

java.lang.Object
org.apache.tika.inference.InferenceConfig
org.apache.tika.inference.InferenceConfig.RuntimeConfig
All Implemented Interfaces:
Serializable
Enclosing class:
InferenceConfig

public static class InferenceConfig.RuntimeConfig extends InferenceConfig
Runtime-only config that prevents modification of security-sensitive and cost-sensitive fields (baseUrl, apiKey, model) at parse time.

These fields must be set at initialization via the config file. If a runtime ParseContext JSON config attempts to set them, the overridden setters throw TikaConfigException.

See Also: