This release is a pre-release and may not be stable for production use.
llama-index-vector-stores-houyidb
HouyiDB 的 LlamaIndex BasePydanticVectorStore adapter。
from llama_index.core.schema import TextNode
from llama_index.core.vector_stores import VectorStoreQuery
from llama_index.vector_stores.houyidb import HouyiVectorStore
store = HouyiVectorStore(collection_name="docs", base_url="http://127.0.0.1:7000")
nodes = [TextNode(text="apple is a fruit", embedding=emb, metadata={"category": "fruit"})]
store.add(nodes)
result = store.query(VectorStoreQuery(query_embedding=q, similarity_top_k=3))
store.delete(ref_doc_id="<source document id>")
语义映射
| LlamaIndex | HouyiDB |
|---|---|
| node 正文 | payload[text_key](默认 "text") |
metadata + _node_content |
payload 其余键(嵌套值走 JSON 文本列) |
node_id(str) |
u64(houyidb.stable_id 确定性哈希) |
ref_doc_id |
独立标量列,支撑 delete(ref_doc_id) |
MetadataFilters |
filters(eq/gt/gte/lt/lte/in,AND 交集) |
| score | 余弦相似度(越大越相似) |
embedding 由 LlamaIndex 管线计算(node 自带),HouyiDB 只存取向量。
已知限制
- 仅支持 AND 交集过滤(
FilterCondition.OR抛ValueError);操作符仅 eq/gt/gte/lt/lte/in。 delete(ref_doc_id)走服务端按条件删除(标量页求值),add后立即删除也可靠命中尚在异步构图队列中的 node。- node metadata 不得含保留键
label。 - collection 的 payload 存储 v1 易失(进程重启后 node 内容丢失,向量索引不受影响)。
Metadata
Release files for llama-index-vector-stores-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 | |
|---|---|---|---|---|
| llama_index_vector_stores_houyidb-0.2.0b5.tar.gz | 7.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_vector_stores_houyidb-0.2.0b5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.7 kB
Release files / llama_index_vector_stores_houyidb-0.2.0b5.tar.gz
| Download URL | llama_index_vector_stores_houyidb-0.2.0b5.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bd92e6e0e380838daf0cbeb883d42b55c1c7f4f79a16bddfd86e1cbf1f4c07f
|
|
BLAKE2b-256 checksum How to use checksums |
0a3e6bed44f6555e0316b5073fd3f33c37c29ab2f828cf8007cc5313c9f20ad8
|
| 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 / llama_index_vector_stores_houyidb-0.2.0b5-py3-none-any.whl
| Download URL | llama_index_vector_stores_houyidb-0.2.0b5-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf14394a139edbd586d0b8f3ae2166e5ff1b0c40be42910c0cc8246e98fda807
|
|
BLAKE2b-256 checksum How to use checksums |
1ee19acff6520a0d3c51fb1bc3236eae63df4f4a2a56f58e531be18d0a8acc3d
|
| 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 llama-index-vector-stores-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 llama_index_vector_stores_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.