quivr README

项目的 README,来自 github.com/The-Vibe-Company/quivr。合并为一个 markdown 文件:README.md。

Quivr

License: MIT

Quivr is an open-source engine that turns incoming documents and images into search and alerts. Send content through the HTTP API or connect a source and let Quivr collect it. Plugins read file formats, prepare content for search and check new documents against your alert rules.

Search runs when you ask. Alerts check new content as it becomes searchable.

A flow from source connectors through normalizers and embedding to a shared index for search and alerts.

Launch Quivr

For a local checkout, use Linux x86-64 or macOS on Apple Silicon. Install Git, Make, Docker with Compose v2, the Go version in go.mod, Python 3.12 with venv, curl and jq. On macOS, enable x86-64 emulation for the embedding container in Docker Desktop.

git clone https://github.com/The-Vibe-Company/quivr.git
cd quivr
make dev
eval "$(make -s env)"

Run your first search to add an article and find a passage. Run make down to stop the stack and keep its data. For published images and cloud deployment, see Launch Quivr.

Documentation

Tab Start here
Overview Tour the engine and see what happens to content as it arrives.
Get started Start Quivr and run a search.
Guides Add content, connect a source or watch a topic.
Plugins Choose plugins for your installation.
Operate Install, secure and maintain Quivr.
Build a plugin Extend Quivr with your own plugin.
Reference Look up settings, commands and API fields.

Contributing

Start with the contributor guide and repository instructions. See SECURITY.md to report a vulnerability privately.

Quivr is developed by The Vibe Company and released under the MIT License.

quivr (The-Vibe-Company/quivr)

正在搜索数据库…

39.7K ·GitHub
这是什么?Quivr 是一个开源引擎,能把你的文件和内容流变成搜索和监控工具——一个可以随时提问的「第二大脑」,其核心是一套由生成式 AI 驱动、理念明确的 RAG。
我是把它作为库加到自己的代码里,还是直接用一个做好的应用?本质上是一个开发者工具:你把 quivr-core 作为 Python 包安装,然后加到自己的项目里。Quivr.com 这个托管的「第二大脑」服务就是基于同一个核心构建的。
我怎么先把第一个版本跑起来?用 pip 安装 quivr-core(需要 Python 3.10 或更高版本),然后用 5 行代码创建一个 RAG。想更精细地控制,可以在 YAML 文件里定义工作流,创建一个 Brain,再启动聊天。
我需要 OpenAI 的 API 密钥吗,还是可以在本地跑模型?不绑定任何一家服务商:它可以用 Anthropic、OpenAI 和 Mistral 的 API,也可以通过 Ollama 使用本地模型。API 密钥放在你的环境变量里。
过了快速上手之后,哪些地方会变复杂?5 行代码的方式只能实现一个基础的 RAG:想要更丰富的功能,就得自己编写 YAML 工作流配置文件;而且除非用 Ollama 走本地路线,否则你必须把 API 密钥放到环境变量里。
这是给最终用户用的,还是给开发者用的?给开发者用的:它的口号是「RAG 我们来搞定,你专心做你的产品」——你是把 quivr-core 嵌入自己的应用,而不是自己从零搭建检索。
它支持导入哪些文件格式?几乎什么都可以:PDF、TXT、Markdown 等等,还支持添加你自己的解析器,并且集成了 Megaparse 用于文件导入。
这个 RAG 的「理念明确」是什么意思?团队只维护一个开箱即用、又快又高效的 RAG,所以你完全不用操心检索那些底层活儿——而且他们会持续改进它,不断添加新功能。
我能调整检索的行为吗?可以:你的 Brain 跑起来之后,只要改 YAML 配置文件就能测试不同的检索策略,还可以进一步加上联网搜索和工具。
Megaparse 是什么?一个解析集成:你可以用 Megaparse 导入你的文件,然后把解析出来的内容交给 Quivr 的 RAG 使用。
大小
171.3 MB
星标
39.7K
时长
3年
提交 · 90 天