Mining design spec RAG search (simple version)
Project description
spec-db-simple
Mining design spec RAG search (simple version)
安装
pip install -e spec_vector_db_simple_pkg/
使用
Python API
from spec_db_simple import search_specification
results = search_specification("采矿设计规范")
for r in results:
print(r["source"], r["distance"], r["content"][:100])
CLI
spec-search "采矿设计规范"
环境变量
DASHSCOPE_API_KEY: DashScope API Key(必需)SPEC_DB_PATH: 数据库路径(可选,默认使用包内数据库)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spec_db_simple-0.1.1-py3-none-any.whl.
File metadata
- Download URL: spec_db_simple-0.1.1-py3-none-any.whl
- Upload date:
- Size: 48.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7034ede4749f984c024264e3d612337f1182a222027dcd6e5307772eddcfbe2
|
|
| MD5 |
1cac6583b1995e4fe61de4a21bb77859
|
|
| BLAKE2b-256 |
8851dde3ca5ad84d24df4fb2ce740334d9fdadf4e57997d9a7806609fcfa707f
|