百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

hyperDB

> 编程语言
开源

用于与 LLM 代理程序一起使用的超快速本地向量数据库。现已接受 SAFE,上限为 1.35 亿美元。

1.4K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

用于与 LLM 代理程序一起使用的超快速本地向量数据库。现已接受 SAFE,上限为 1.35 亿美元。

HyperDB

A hyper-fast local vector database for use with LLM Agents. Not entirely a joke.

Want to invest? Now accepting SAFEs ($135M cap minimum.)

Join the HyperDBiscord

Advantages

  • Simple interface compatible with all large language model agents.
  • Highly optimized C++ backend vector store with HW accelerated operations via MKL BLAS.
  • Enables users to index documents with advanced features such as ids and metadata.

Installation

Install the package from PyPI:

bash
pip install hyperdb-python

Optional dependency for locally embedding

If you want to use Hugging Face models with this package, you need to install the sentence-transformers package:

bash
pip install sentence-transformers

Usage

Here's an example of using HyperDB to store and query documents with information about all 151 original pokemon in an instant:

python
import json
from hyperdb import HyperDB

# Load documents from the JSONL file
documents = []

with open("demo/pokemon.jsonl", "r") as f:
    for line in f:
        documents.append(json.loads(line))

# Instantiate HyperDB with the list of documents
db = HyperDB(documents, key="info.description")

# Save the HyperDB instance to a file
db.save("demo/pokemon_hyperdb.pickle.gz")

# Load the HyperDB instance from the save file
db.load("demo/pokemon_hyperdb.pickle.gz")

# Query the HyperDB instance with a text input
results = db.query("Likes to sleep.", top_k=5)

Returns

…

*Benchmark Credit: Benim Kıçım

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言