Skip to main content

LlamaIndex Vector_Stores Integration: Alibaba Cloud MySQL

Alibaba Cloud MySQL supports vector search functionality. This package provides a vector store implementation that allows you to use Alibaba Cloud MySQL as a vector database in LlamaIndex.

Installation

pip install llama-index-vector-stores-alibabacloud-mysql

Usage

from llama_index.vector_stores.alibabacloud_mysql import (
    AlibabaCloudMySQLVectorStore,
)

vector_store = AlibabaCloudMySQLVectorStore(
    host="your-instance-endpoint.mysql.rds.aliyuncs.com",
    port=3306,
    user="llamaindex",
    password="password",
    database="vectordb",
)

Or using the from_params class method:

from llama_index.vector_stores.alibabacloud_mysql import (
    AlibabaCloudMySQLVectorStore,
)

vector_store = AlibabaCloudMySQLVectorStore.from_params(
    host="your-instance-endpoint.mysql.rds.aliyuncs.com",
    port=3306,
    user="llamaindex",
    password="password",
    database="vectordb",
)

Features

  • Full compatibility with Alibaba Cloud MySQL 8.0+
  • Support for vector indexing and fast similarity search
  • Filtering support with metadata queries
  • Easy integration with LlamaIndex
  • Uses mysql.connector for direct database connections
  • Enhanced validation for vector function support

Development

Running Integration Tests

A suite of integration tests is available to verify the Alibaba Cloud MySQL vector store integration. The test suite needs an Alibaba Cloud MySQL database with vector search support up and running. If not found, the tests are skipped.

pytest -v

Metadata

Release files for llama-index-vector-stores-alibabacloud-mysql 0.3.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-alibabacloud-mysql 0.3.0
File Size Uploaded Provenance Actions
llama_index_vector_stores_alibabacloud_mysql-0.3.0.tar.gz 8.4 kB Without provenance Details for llama_index_vector_stores_alibabacloud_mysql-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-vector-stores-alibabacloud-mysql 0.3.0
File Interpreter ABI Platform Actions
llama_index_vector_stores_alibabacloud_mysql-0.3.0-py3-none-any.whl Python 3 none any Details for llama_index_vector_stores_alibabacloud_mysql-0.3.0-py3-none-any.whl

Total release size: 17.2 kB

Release files / llama_index_vector_stores_alibabacloud_mysql-0.3.0.tar.gz

Download URL llama_index_vector_stores_alibabacloud_mysql-0.3.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
da19cf2a45c81756f5049b04b0abe5996b125e765126009defc14289210150ee
BLAKE2b-256 checksum
How to use checksums
2d633fdd80dcd1b5d6b913f4b24761ef7f66a1d48a1320660a5b86c433e35ca9
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_alibabacloud_mysql-0.3.0-py3-none-any.whl

Download URL llama_index_vector_stores_alibabacloud_mysql-0.3.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ccf855636999aefb2df6b2e93e67389548ec70f16dc4829a56e4d4628c5c355
BLAKE2b-256 checksum
How to use checksums
6e1d587f6911c198ea4f3f3c7c5160bdeb79920ca29805b427af7be0da30e75d
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-alibabacloud-mysql 0.3.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