Class PostgresMlAutoConfiguration

java.lang.Object
org.springframework.ai.autoconfigure.postgresml.PostgresMlAutoConfiguration

@AutoConfiguration(after=org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration.class) @ConditionalOnClass(PostgresMlEmbeddingClient.class) @EnableConfigurationProperties(PostgresMlEmbeddingProperties.class) public class PostgresMlAutoConfiguration extends Object
Auto-configuration class for PostgresMlEmbeddingClient.
Author:
Utkarsh Srivastava, Christian Tzolov
  • Constructor Details

    • PostgresMlAutoConfiguration

      public PostgresMlAutoConfiguration()
  • Method Details

    • postgresMlEmbeddingClient

      @Bean @ConditionalOnMissingBean @ConditionalOnProperty(prefix="spring.ai.postgresml.embedding", name="enabled", havingValue="true", matchIfMissing=true) public PostgresMlEmbeddingClient postgresMlEmbeddingClient(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, PostgresMlEmbeddingProperties embeddingProperties)