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