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()
void
setMetadataMode
(MetadataMode metadataMode)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_CACHE_DIRECTORY
-
-
Constructor Details
-
TransformersEmbeddingClientProperties
public TransformersEmbeddingClientProperties()
-
-
Method Details
-
getCache
-
getOnnx
-
getTokenizer
-
getMetadataMode
-
setMetadataMode
-