mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
e1f4f9ac3e
Added missed pages for `integrations/providers` from `vectorstores`. Updated several `vectorstores` notebooks.
29 lines
735 B
Plaintext
29 lines
735 B
Plaintext
# Xata
|
|
|
|
> [Xata](https://xata.io) is a serverless data platform, based on `PostgreSQL`.
|
|
> It provides a Python SDK for interacting with your database, and a UI
|
|
> for managing your data.
|
|
> `Xata` has a native vector type, which can be added to any table, and
|
|
> supports similarity search. LangChain inserts vectors directly to `Xata`,
|
|
> and queries it for the nearest neighbors of a given vector, so that you can
|
|
> use all the LangChain Embeddings integrations with `Xata`.
|
|
|
|
|
|
## Installation and Setup
|
|
|
|
|
|
We need to install `xata` python package.
|
|
|
|
```bash
|
|
pip install xata==1.0.0a7
|
|
```
|
|
|
|
## Vector Store
|
|
|
|
See a [usage example](/docs/integrations/vectorstores/xata).
|
|
|
|
```python
|
|
from langchain.vectorstores import XataVectorStore
|
|
```
|
|
|