mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
- vertex chat - google - some pip openai - percent and openai - all percent - more - pip - fmt - docs: google vertex partner docs - fmt - docs: more pip installs
23 lines
530 B
Plaintext
23 lines
530 B
Plaintext
# Postgres Embedding
|
|
|
|
> [pg_embedding](https://github.com/neondatabase/pg_embedding) is an open-source package for
|
|
> vector similarity search using `Postgres` and the `Hierarchical Navigable Small Worlds`
|
|
> algorithm for approximate nearest neighbor search.
|
|
|
|
## Installation and Setup
|
|
|
|
We need to install several python packages.
|
|
|
|
```bash
|
|
pip install psycopg2-binary
|
|
```
|
|
|
|
## Vector Store
|
|
|
|
See a [usage example](/docs/integrations/vectorstores/pgembedding).
|
|
|
|
```python
|
|
from langchain_community.vectorstores import PGEmbedding
|
|
```
|
|
|