# PgvectorDocumentStore

Use Cloud SQL for PostgreSQL hosted on Google Cloud through the PgvectorDocumentStore.

## Basic Information

- Used with the following retrievers:
  - `PgvectorEmbeddingRetriever`
  - `PgvectorKeywordRetriever`
- Needs the `CloudSQLAuthProxy` component to be present in a pipeline to set up the connection with the database.
- Type: `haystack_integrations.document_stores.pgvector.document_store.PgvectorDocumentStore`

## Overview

<CloudSqlPostgresInfo />

<CloudSqlLimitations />

<CloudSqlPipelineCodeSample />

## Init Parameters

Check the [PgvectorDocumentStore API reference](https://docs.haystack.deepset.ai/reference/integrations-pgvector#pgvectordocumentstore) in Haystack documentation.
