Class PgVectorEmbeddingStoreFactory
java.lang.Object
io.micronaut.langchain4j.pgvector.PgVectorEmbeddingStoreFactory
Factory for PgVector embedding store.
-
Constructor Summary
ConstructorsConstructorDescriptionPgVectorEmbeddingStoreFactory(@Nullable io.micronaut.jdbc.DataSourceResolver dataSourceResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStorepgVectorEmbeddingStore(PgVectorEmbeddingStoreConfig configuration)
-
Constructor Details
-
PgVectorEmbeddingStoreFactory
public PgVectorEmbeddingStoreFactory() -
PgVectorEmbeddingStoreFactory
@Inject public PgVectorEmbeddingStoreFactory(@Nullable io.micronaut.jdbc.DataSourceResolver dataSourceResolver)
-
-
Method Details
-
pgVectorEmbeddingStore
@EachBean(PgVectorEmbeddingStoreConfig.class) @Context @Bean(typed=dev.langchain4j.store.embedding.EmbeddingStore.class) protected dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore pgVectorEmbeddingStore(PgVectorEmbeddingStoreConfig configuration)
-