Class TransformersEmbeddingClientProperties
java.lang.Object
org.springframework.ai.autoconfigure.transformers.TransformersEmbeddingClientProperties
@ConfigurationProperties("spring.ai.embedding.transformer")
public class TransformersEmbeddingClientProperties
extends Object
- Author:
- Christian Tzolov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
Configurations for theHuggingFaceTokenizer
used to convert sentences into tokens. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCache()
getOnnx()
boolean
void
setEnabled
(boolean enabled) void
setMetadataMode
(MetadataMode metadataMode)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_CACHE_DIRECTORY
-
-
Constructor Details
-
TransformersEmbeddingClientProperties
public TransformersEmbeddingClientProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getCache
-
getOnnx
-
getTokenizer
-
getMetadataMode
-
setMetadataMode
-