Class PostgresMlEmbeddingAutoConfiguration
java.lang.Object
org.springframework.ai.model.postgresml.autoconfigure.PostgresMlEmbeddingAutoConfiguration
@AutoConfiguration(after=org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration.class)
@ConditionalOnClass(PostgresMlEmbeddingModel.class)
@ConditionalOnProperty(name="spring.ai.model.embedding",
havingValue="postgresml",
matchIfMissing=true)
@EnableConfigurationProperties(PostgresMlEmbeddingProperties.class)
public class PostgresMlEmbeddingAutoConfiguration
extends Object
Auto-configuration class for PostgresMlEmbeddingModel.
- Author:
- Utkarsh Srivastava, Christian Tzolov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpostgresMlEmbeddingModel
(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, PostgresMlEmbeddingProperties embeddingProperties)
-
Constructor Details
-
PostgresMlEmbeddingAutoConfiguration
public PostgresMlEmbeddingAutoConfiguration()
-
-
Method Details
-
postgresMlEmbeddingModel
@Bean @ConditionalOnMissingBean public PostgresMlEmbeddingModel postgresMlEmbeddingModel(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, PostgresMlEmbeddingProperties embeddingProperties)
-