Metadata-Version: 2.4
Name: llama-index-vector-stores-yugabytedb
Version: 0.6.0
Summary: llama-index vector_stores yugabytedb integration
Author-email: YugabyteDB <pypi@yugabyte.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: <4.0,>=3.10
Requires-Dist: asyncpg<1.0.0,>=0.29.0
Requires-Dist: llama-index-core<0.15,>=0.12.6
Requires-Dist: pgvector<1.0.0,>=0.3.6
Requires-Dist: psycopg2-yugabytedb>=2.9.3.5
Requires-Dist: sqlalchemy-yugabytedb>=1.0.0.1
Requires-Dist: sqlalchemy[asyncio]<2.1,>=1.4.49
Description-Content-Type: text/markdown

# YugabyteDB Vector Store

A LlamaIndex vector store using YugabyteDB as the backend.

## Usage

Pre-requisite:

```bash
pip install llama-index-vector-stores-yugabytedb
```

A minimal example:

```python
from llama_index.vector_stores.yugabytedb import YBVectorStore

vector_store = YBVectorStore.from_params(
    host="localhost",
    user="yugabyte",
    password="yugabyte",
    port=5433,
    load_balance="True",
    database="yugabyte",
    table_name="test_table",
    schema_name="test_schema",
    embed_dim=1536,
)
```

> **Note**: Please see the YugabyteDB psycopge2 driver documentation for more yugabytedb specific parameters [here](https://docs.yugabyte.com/preview/drivers-orms/python/yugabyte-psycopg2/#step-2-set-up-the-database-connection).
