Skip to main content

Analytic DB Vector Store

A LlamaIndex vector store using Analytic DB as the backend.

Usage

Pre-requisite:

pip install llama-index-vector-stores-analyticdb

A minimal example:

from llama_index.vector_stores.analyticdb import AnalyticDBVectorStore

vector_store = AnalyticDBVectorStore.from_params(
    access_key_id="your-ak",  # Your alibaba cloud ram access key id
    access_key_secret="your-sk",  # Your alibaba cloud ram access key secret
    region_id="cn-hangzhou",  #  Region id of the AnalyticDB instance
    instance_id="gp-ab123456",  # Your AnalyticDB instance id
    account="testaccount",  # Account of the AnalyticDB instance
    account_password="testpassword",  # Account password of the AnalyticDB instance
    namespace="llama",  # Schema name of the AnalyticDB instance
    collection="llama",  # Table name of the AnalyticDB instance
    namespace_password="llamapassword",  # Namespace corresponding password of the AnalyticDB instance
    metrics="cosine",  # Similarity algorithm, e.g. "cosine", "l2", "ip"
    embedding_dimension=1536,  # Embedding dimension of the embeddings model used
)

More references

AnalyticDB for PostgreSQL is a massively parallel processing (MPP) data warehousing service that is designed to analyze large volumes of data online.

A more detailed usage guide can be found at this document.

Metadata

Release files for llama-index-vector-stores-analyticdb 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-vector-stores-analyticdb 0.6.0
File Size Uploaded Provenance Actions
llama_index_vector_stores_analyticdb-0.6.0.tar.gz 6.6 kB Without provenance Details for llama_index_vector_stores_analyticdb-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-vector-stores-analyticdb 0.6.0
File Interpreter ABI Platform Actions
llama_index_vector_stores_analyticdb-0.6.0-py3-none-any.whl Python 3 none any Details for llama_index_vector_stores_analyticdb-0.6.0-py3-none-any.whl

Total release size: 13.1 kB

Release files / llama_index_vector_stores_analyticdb-0.6.0.tar.gz

Download URL llama_index_vector_stores_analyticdb-0.6.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c3a6910f0e1797eaea057e37bfa3accb36c5e97a6f4e8d32d8b6380be0ae9695
BLAKE2b-256 checksum
How to use checksums
cea3b38da999023f7c21f61d2c1662506e55760e42759beddd67108fa7c1c8ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / llama_index_vector_stores_analyticdb-0.6.0-py3-none-any.whl

Download URL llama_index_vector_stores_analyticdb-0.6.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6aa8ca8ec58d135d94b1d68632f2e3e3c558fff43a1cd944b793d73ec07f39f
BLAKE2b-256 checksum
How to use checksums
8c58b13982b1af4bf385d30ff0c6d23676447cab0050e50b8acdbb1a5e28195d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for llama-index-vector-stores-analyticdb 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page