This release is a pre-release and may not be stable for production use.
langchain-houyidb
HouyiDB 的 LangChain VectorStore adapter。
from langchain_houyidb import HouyiVectorStore
store = HouyiVectorStore.from_texts(
["apple is a fruit", "laptop is electronics"],
embedding=MyEmbeddings(),
collection_name="docs",
base_url="http://127.0.0.1:7000",
)
docs = store.similarity_search("fruit", k=2)
docs = store.similarity_search(
"device", k=2,
filter={"category": "electronics", "price": {"$lt": 1000}},
)
store.delete(ids=["<add_texts 返回的 id>"])
语义映射
| LangChain | HouyiDB |
|---|---|
Document.page_content |
payload[text_key](默认 "text") |
Document.metadata |
payload 其余键 |
| str id | u64(houyidb.stable_id 确定性哈希) |
{"col": v} / {"col": {"$gt": v}} |
filters(eq/gt/gte/lt/lte/in,多键取交集) |
| score | 余弦相似度(越大越相似) |
embedding 由用户侧 Embeddings 计算,HouyiDB 只存取向量。
已知限制
- filter 操作符仅支持
$eq/$gt/$gte/$lt/$lte/$in(其余ValueError)。 - metadata 不得含保留键
label。 - collection 的 payload 存储 v1 易失(进程重启后 metadata 丢失,向量索引不受影响)。
Metadata
Release files for langchain-houyidb 0.2.0b5
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 | |
|---|---|---|---|---|
| langchain_houyidb-0.2.0b5.tar.gz | 5.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_houyidb-0.2.0b5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / langchain_houyidb-0.2.0b5.tar.gz
| Download URL | langchain_houyidb-0.2.0b5.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95ad1b84d826dfb69e01b520b930093b16cd134be3d6a21fc96aafcdceffdace
|
|
BLAKE2b-256 checksum How to use checksums |
23bda48302a3f22098c6a2fad20243a3cd690e093aaffeaa448be94ec64b8c77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / langchain_houyidb-0.2.0b5-py3-none-any.whl
| Download URL | langchain_houyidb-0.2.0b5-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2183e86b964e6c420fdf343cc0042dd9c1519715db048620aa669c5111b116bd
|
|
BLAKE2b-256 checksum How to use checksums |
dbbe2e404b6796f60a3f8b70bd88f42a787bda06e28782787b419dd88b3a65a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for langchain-houyidb 0.2.0b5
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for langchain_houyidb-0.2.0b5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA 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.