Skip to main content

embeddings-zh

Embeddings with Chatopera Synonyms for chatbot, RAG. Support Simplified Chinese and Traditional Chinese.

https://github.com/chatopera/embeddings-zh

Model: https://github.com/chatopera/Synonyms

pip install -U embeddings-zh

Usage:

from embeddings_zh import EmbeddingsZh

emb = EmbeddingsZh()
vector1 = emb.embed_documents([texts]) # e.g. emb.embed_documents(["今天天气怎么样", "有什么推荐"])
vector2 emb.embed_query(texts) # e.g. emb.embed_documents("有什么推荐")

Metadata

Release files for embeddings-zh 0.0.7

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

Source distribution (sdist)

Source distribution for embeddings-zh 0.0.7
File Size Uploaded Provenance Actions
embeddings_zh-0.0.7.tar.gz 4.5 kB Without provenance Details for embeddings_zh-0.0.7.tar.gz

Release files / embeddings_zh-0.0.7.tar.gz

Download URL embeddings_zh-0.0.7.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
53e4751094fb29ed6f599847bab6368454a49697c65f8967c26ac5627593e8c0
BLAKE2b-256 checksum
How to use checksums
4500672c1d8d3aba76ed8b5347aefc683e26a0ad0253cfaaefc137489747a98e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for embeddings-zh 0.0.7

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