Class PgVectorStoreProperties
java.lang.Object
org.springframework.ai.autoconfigure.vectorstore.pgvector.PgVectorStoreProperties
@ConfigurationProperties("spring.ai.vectorstore.pgvector")
public class PgVectorStoreProperties
extends Object
- Author:
- Christian Tzolov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
setDimensions
(int dimensions) void
setDistanceType
(PgVectorStore.PgDistanceType distanceType) void
setIndexType
(PgVectorStore.PgIndexType createIndexMethod) void
setRemoveExistingVectorStoreTable
(boolean removeExistingVectorStoreTable)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
PgVectorStoreProperties
public PgVectorStoreProperties()
-
-
Method Details
-
getDimensions
public int getDimensions() -
setDimensions
public void setDimensions(int dimensions) -
getIndexType
-
setIndexType
-
getDistanceType
-
setDistanceType
-
isRemoveExistingVectorStoreTable
public boolean isRemoveExistingVectorStoreTable() -
setRemoveExistingVectorStoreTable
public void setRemoveExistingVectorStoreTable(boolean removeExistingVectorStoreTable)
-