LlamaIndex Embeddings Integration: Alibabacloud_Aisearch
Installation
pip install llama-index-embeddings-alibabacloud-aisearch
Usage
For further details, please visit text-embedding-api-details.
You can specify the endpoint and aisearch_api_key in the constructor, or set the environment variables AISEARCH_ENDPOINT and AISEARCH_API_KEY.
from llama_index.embeddings.alibabacloud_aisearch import (
AlibabaCloudAISearchEmbedding,
)
embed_model = AlibabaCloudAISearchEmbedding()
embedding = embed_model.get_query_embedding("llama-index")
print(len(embedding))
# embeddings = embed_model.get_text_embedding_batch(
# ["科学技术是第一生产力", "opensearch产品文档"], show_progress=True
# )
Metadata
Release files for llama-index-embeddings-alibabacloud-aisearch 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_embeddings_alibabacloud_aisearch-0.5.0.tar.gz | 4.6 kB | Without provenance | Details for llama_index_embeddings_alibabacloud_aisearch-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_embeddings_alibabacloud_aisearch-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_embeddings_alibabacloud_aisearch-0.5.0-py3-none-any.whl |
Total release size: 9.0 kB
Release files / llama_index_embeddings_alibabacloud_aisearch-0.5.0.tar.gz
| Download URL | llama_index_embeddings_alibabacloud_aisearch-0.5.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dcf9a596fdd8b213c2e973c174c64841afacd90f37cfefa85a32a2594731e20
|
|
BLAKE2b-256 checksum How to use checksums |
9cb01491014147e8000975a2b7b704c2ae0c0788f900921447263c41cef1b9db
|
| 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_embeddings_alibabacloud_aisearch-0.5.0-py3-none-any.whl
| Download URL | llama_index_embeddings_alibabacloud_aisearch-0.5.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7215f2ca7a17db1f5ca0dda02e737b60228c7cda6e3e33f658c355c451ea40c1
|
|
BLAKE2b-256 checksum How to use checksums |
893ca37e349cb7eb2b13e963163475cdb8a34204da38a9fd3edf3afa75a5a6fe
|
| 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-embeddings-alibabacloud-aisearch 0.5.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.