Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.phidata.com/llms.txt

Use this file to discover all available pages before exploring further.

PgVectorDb Params

ParameterTypeDefaultDescription
collectionstr-Name of the collection to store vector data
schemaOptional[str]"ai"Database schema name
db_urlOptional[str]NoneDatabase connection URL
db_engineOptional[Engine]NoneSQLAlchemy database engine
embedderOptional[Embedder]NoneEmbedder instance for creating embeddings (defaults to OpenAIEmbedder if not provided)
distanceDistanceDistance.cosineDistance metric for vector comparisons
indexOptional[Union[Ivfflat, HNSW]]HNSW()Vector index configuration