Class ImageEmbeddingConfig.RuntimeConfig
java.lang.Object
org.apache.tika.inference.ImageEmbeddingConfig
org.apache.tika.inference.ImageEmbeddingConfig.RuntimeConfig
- All Implemented Interfaces:
Serializable
- Enclosing class:
ImageEmbeddingConfig
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class ImageEmbeddingConfig
ImageEmbeddingConfig.RuntimeConfig -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RuntimeConfig
public RuntimeConfig()
-
-
Method Details
-
setBaseUrl
- Overrides:
setBaseUrlin classImageEmbeddingConfig- Throws:
TikaConfigException
-
setApiKey
- Overrides:
setApiKeyin classImageEmbeddingConfig- Throws:
TikaConfigException
-
setModel
- Overrides:
setModelin classImageEmbeddingConfig
-