🛠
AI工具

Verba — RAG 知识库工具中文文档

基于 Python · 开源免费,本地部署,数据完全自主可控
英文名:Verba
⭐ 7.7k Stars 🍴 847 Forks 💻 Python 📄 BSD-3-Clause 🏷 AI 9.1分
9.1AI 综合评分
rag
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,Verba — RAG 知识库工具中文文档 获评「强烈推荐」。已获得 7.7k 颗 GitHub Star,这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 9.1 分,适合有一定技术背景的用户使用。

📚 深度解析
Verba — RAG 知识库工具中文文档 是一款基于 Python 的开源工具,在 GitHub 上收获 8k+ Star,是rag领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
Verba — RAG 知识库工具中文文档 依赖 Python 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Python 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 Verba — RAG 知识库工具中文文档 的版本更新,及时通知重要功能变化。
📋 工具概览

Verba — RAG 知识库工具中文文档 是一款基于 Python 开发的开源工具,专注于 rag 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 7.7k
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
持续维护,定期更新
开源协议
BSD-3-Clause
AI 综合评分
9.1 分
工具类型
AI工具
Forks
847
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

Verba — RAG 知识库工具中文文档 是一款基于 Python 开发的开源工具,专注于 rag 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:pip 安装(推荐)
pip install verba

# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install verba

# 方式三:从源码安装(获取最新功能)
git clone https://github.com/weaviate/Verba
cd Verba
pip install -e .

# 验证安装
python -c "import verba; print('安装成功')"
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
verba --help

# 基本用法
verba input_file -o output_file

# Python 代码中调用
import verba

# 示例
result = verba.process("input")
print(result)
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# verba 配置文件示例(config.yml)
app:
  name: "verba"
  debug: false
  log_level: "INFO"

# 运行时指定配置文件
verba --config config.yml

# 或通过环境变量配置
export VERBA_API_KEY="your-key"
export VERBA_OUTPUT_DIR="./output"
📑 README 深度解析 真实文档 完整度 52/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Verba

Feature Lists

🤖 Model SupportImplementedDescription
Ollama (e.g. Llama3)Local Embedding and Generation Models powered by Ollama
HuggingFace (e.g. MiniLMEmbedder)Local Embedding Models powered by HuggingFace
Cohere (e.g. Command R+)Embedding and Generation Models by Cohere
Anthrophic (e.g. Claude Sonnet)Embedding and Generation Models by Anthrophic
OpenAI (e.g. GPT4)Embedding and Generation Models by OpenAI
Groq (e.g. Llama3)Generation Models by Groq (LPU inference)
Novita AI (e.g. Llama3.3)Generation Models by Novita AI
Upstage (e.g. Solar)Embedding and Generation Models by Upstage
🤖 Embedding SupportImplementedDescription
WeaviateEmbedding Models powered by Weaviate
OllamaLocal Embedding Models powered by Ollama
SentenceTransformersEmbedding Models powered by HuggingFace
CohereEmbedding Models by Cohere
VoyageAIEmbedding Models by VoyageAI
OpenAIEmbedding Models by OpenAI
UpstageEmbedding Models by Upstage
📁 Data SupportImplementedDescription
[UnstructuredIO](https://docs.unstructured.io/welcome)Import Data through Unstructured
[Firecrawl](https://www.firecrawl.dev/)Scrape and Crawl URL through Firecrawl
[UpstageDocumentParse](https://upstage.ai/)Parse Documents through Upstage Document AI
PDF IngestionImport PDF into Verba
GitHub & GitLabImport Files from Github and GitLab
CSV/XLSX IngestionImport Table Data into Verba
.DOCXImport .docx files
Multi-Modal (using [AssemblyAI](https://assemblyai.com))Import and Transcribe Audio through AssemblyAI
✨ RAG FeaturesImplementedDescription
Hybrid SearchSemantic Search combined with Keyword Search
Autocomplete SuggestionVerba suggests autocompletion
FilteringApply Filters (e.g. documents, document types etc.) before performing RAG
Customizable MetadataFree control over Metadata
Async IngestionIngest data asynchronously to speed up the process
Advanced Queryingplanned ⏱️Task Delegation Based on LLM Evaluation
Rerankingplanned ⏱️Rerank results based on context for improved results
RAG Evaluationplanned ⏱️Interface for Evaluating RAG pipelines
Agentic RAGout of scope ❌Agentic RAG pipelines
Graph RAGout of scope ❌Graph-based RAG pipelines
🗡️ Chunking TechniquesImplementedDescription
TokenChunk by Token powered by [spaCy](https://spacy.io/)
SentenceChunk by Sentence powered by [spaCy](https://spacy.io/)
SemanticChunk and group by semantic sentence similarity
RecursiveRecursively chunk data based on rules
HTMLChunk HTML files
MarkdownChunk Markdown files
CodeChunk Code files
JSONChunk JSON files
🆒 Cool BonusImplementedDescription
Docker SupportVerba is deployable via Docker
Customizable FrontendVerba's frontend is fully-customizable via the frontend
Vector ViewerVisualize your data in 3D
Multi-User Collaborationout of scope ❌Multi-User Collaboration in Verba
🤝 RAG LibrariesImplementedDescription
LangChainImplement LangChain RAG pipelines
Haystackplanned ⏱️Implement Haystack RAG pipelines
LlamaIndexplanned ⏱️Implement LlamaIndex RAG pipelines
Something is missing? Feel free to create a new issue or discussion with your idea!

Showcase of Verba

---

Getting Started with Verba

You have three deployment options for Verba:

  • Install via pip
pip install goldenverba
  • Build from Source
git clone https://github.com/weaviate/Verba

pip install -e .
  • Use Docker for Deployment

Prerequisites: If you're not using Docker, ensure that you have Python >=3.10.0,<3.13.0 installed on your system.

git clone https://github.com/weaviate/Verba

docker compose --env-file <your-env-file> up -d --build

If you're unfamiliar with Python and Virtual Environments, please read the python tutorial guidelines.

How to deploy with pip

Python >=3.10.0

  1. (Very Important) Initialize a new Python Environment
python3 -m virtualenv venv
source venv/bin/activate
  1. Install Verba
pip install goldenverba
  1. Launch Verba
verba start
You can specify the --port and --host via flags
  1. Access Verba
Visit localhost:8000
  1. (Optional)Create .env file and add environment variables

How to build from Source

  1. Clone the Verba repos
git clone https://github.com/weaviate/Verba.git
  1. Initialize a new Python Environment
python3 -m virtualenv venv
source venv/bin/activate
  1. Install Verba
pip install -e .
  1. Launch Verba
verba start
You can specify the --port and --host via flags
  1. Access Verba
Visit localhost:8000
  1. (Optional) Create .env file and add environment variables

How to install Verba with Docker

Docker is a set of platform-as-a-service products that use OS-level virtualization to deliver software in packages called containers. To get started with deploying Verba using Docker, follow the steps below. If you need more detailed instructions on Docker usage, check out the Docker Curriculum.

You can use docker pull semitechnologies/verba to pull the latest Verba Docker Image. Please note, that by pulling directly from Docker Hub you're only able to install the vanilla Verba version that does not include packages e.g HuggingFace. If you want to use Docker and HuggingFace please follow the steps below.

To build the image yourself, you can clone the Verba repository and run docker build -t verba . inside the Verba directory.

0. Clone the Verba repos Ensure you have Git installed on your system. Then, open a terminal or command prompt and run the following command to clone the Verba repository:

git clone https://github.com/weaviate/Verba.git

1. Set necessary environment variables Make sure to set your required environment variables in the .env file. You can read more about how to set them up in the API Keys Section

2. Adjust the docker-compose file You can use the docker-compose.yml to add required environment variables under the verba service and can also adjust the Weaviate Docker settings to enable Authentification or change other settings of your database instance. You can read more about the Weaviate configuration in our docker-compose documentation. You can also uncomment the ollama service to use Ollama within the same docker compose.

Please make sure to only add environment variables that you really need.

2. Deploy using Docker With Docker installed and the Verba repository cloned, navigate to the directory containing the Docker Compose file in your terminal or command prompt. Run the following command to start the Verba application in detached mode, which allows it to run in the background:


docker compose up -d

docker compose --env-file goldenverba/.env up -d --build

This command will download the necessary Docker images, create containers, and start Verba. Remember, Docker must be installed on your system to use this method. For installation instructions and more details about Docker, visit the official Docker documentation.

  1. Access Verba
  • You can access your local Weaviate instance at localhost:8080
  • You can access the Verba frontend at localhost:8000

If you want your Docker Instance to install a specific version of Verba you can edit the Dockerfile and change the installation line.

RUN pip install -e '.'

Select your Deployment

The first screen you'll see is the deployment screen. Here you can select between Local, Docker, Weaviate Cloud, or Custom deployment. The Local deployment is using Weaviate Embedded under the hood, which initializes a Weaviate instance behind the scenes. The Docker deployment is using a separate Weaviate instance that is running inside the same Docker network. The Weaviate Cloud deployment is using a Weaviate instance that is hosted on Weaviate Cloud Services (WCS). The Custom deployment allows you to specify your own Weaviate instance URL, PORT, and API key.

You can skip this part by setting the DEFAULT_DEPLOYMENT environment variable to Local, Docker, Weaviate, or Custom.

API Keys and Environment Variables

You can set all API keys in the Verba frontend, but to make your life easier, we can also prepare a .env file in which Verba will automatically look for the keys. Create a .env in the same directory you want to start Verba in. You can find an .env.example file in the goldenverba directory.

Make sure to only set environment variables you intend to use, environment variables with missing or incorrect values may lead to errors.

Below is a comprehensive list of the API keys and variables you may require:

Environment VariableValueDescription
WEAVIATE_URL_VERBAURL to your hosted Weaviate ClusterConnect to your [WCS](https://console.weaviate.cloud/) Cluster
WEAVIATE_API_KEY_VERBAAPI Credentials to your hosted Weaviate ClusterConnect to your [WCS](https://console.weaviate.cloud/) Cluster
ANTHROPIC_API_KEYYour Anthropic API KeyGet Access to [Anthropic](https://www.anthropic.com/) Models
OPENAI_API_KEYYour OpenAI KeyGet Access to [OpenAI](https://openai.com/) Models
OPENAI_EMBED_API_KEYYour OpenAI KeyUse a different endpoint for embeddings
OPENAI_BASE_URLURL to OpenAI instanceModels
OPENAI_EMBED_BASE_URLURL to OpenAI instanceUse a different endpoint for embeddings
OPENAI_MODELThe name of the model to be used when selecting OpenAI as a GeneratorDefault: the first model in the list returned by the endpoint
OPENAI_EMBED_MODELThe name of the OpenAI embedding model to be used when selecting OpenAI as an EmbedderDefault: text-embedding-3-small
OPENAI_CUSTOM_EMBEDtrue \falseAllow Verba to recognize custom embedding model names (not only OpenAI ones)
COHERE_API_KEYYour API KeyGet Access to [Cohere](https://cohere.com/) Models
GROQ_API_KEYYour Groq API KeyGet Access to [Groq](https://groq.com/) Models
NOVITA_API_KEYYour Novita API KeyGet Access to [Novita AI](https://novita.ai?utm_source=github_verba&utm_medium=github_readme&utm_campaign=github_link) Models
OLLAMA_URLURL to your Ollama instance (e.g. http://localhost:11434 )Get Access to [Ollama](https://ollama.com/) Models
UNSTRUCTURED_API_KEYYour API KeyGet Access to [Unstructured](https://docs.unstructured.io/welcome) Data Ingestion
UNSTRUCTURED_API_URLURL to Unstructured InstanceGet Access to [Unstructured](https://docs.unstructured.io/welcome) Data Ingestion
ASSEMBLYAI_API_KEYYour API KeyGet Access to [AssemblyAI](https://assemblyai.com) Data Ingestion
GITHUB_TOKENYour GitHub TokenGet Access to Data Ingestion via GitHub
GITLAB_TOKENYour GitLab TokenGet Access to Data Ingestion via GitLab
FIRECRAWL_API_KEYYour Firecrawl API KeyGet Access to Data Ingestion via Firecrawl
VOYAGE_API_KEYYour VoyageAI API KeyGet Access to Embedding Models via VoyageAI
EMBEDDING_SERVICE_URLURL to your Embedding Service InstanceGet Access to Embedding Models via [Weaviate Embedding Service](https://weaviate.io/developers/wcs/embeddings)
EMBEDDING_SERVICE_KEYYour Embedding Service KeyGet Access to Embedding Models via [Weaviate Embedding Service](https://weaviate.io/developers/wcs/embeddings)
UPSTAGE_API_KEYYour Upstage API KeyGet Access to [Upstage](https://upstage.ai/) Models
UPSTAGE_BASE_URLURL to Upstage instanceModels
DEFAULT_DEPLOYMENTLocal, Weaviate, Custom, DockerSet the default deployment mode
SYSYEM_MESSAGE_PROMPTPrompt text valueDefault value starts with: "You are Verba, a chatbot for..."
OLLAMA_MODELYour Ollama ModelSet the default Ollama model to use
OLLAMA_EMBED_MODELYour Ollama Embedding ModelSet the default Ollama embedding model to use

API Keys in Verba

FAQ

  • Can I use pre-existing data from my Weaviate instance?
  • No, unfortunatley not. Verba requires the data to be in a specific format to work. And as of now, this is only possible by importing data through the Verba UI.
  • Is Verba Multi-Lingual?
  • This depends on your choosen Embedding and Generation Model whether they support multi-lingual data.
  • Can I use my Ollama Server with the Verba Docker?
  • Yes, you can! Make sure the URL is set to: OLLAMA_URL=http://host.docker.internal:11434
  • If you're running on Linux, you might need to get the IP Gateway of the Ollama server: OLLAMA_URL="http://YOUR-IP-OF-OLLAMA:11434"
  • How to clear Weaviate Embedded Storage?
  • You'll find the stored data here: ~/.local/share/weaviate
  • How can I specify the port?
  • You can use the port and host flag verba start --port 9000 --host 0.0.0.0
  • Can multiple users use Verba at the same time? How about role based access?
  • Verba is designed and optimized for single user usage only. There are no plans on supporting multiple users or role based access in the near future.
  • Does Verba offer a API endpoint to use externally?
  • No, right now Verba does not offer any useful API endpoints to interact with the application. The current FastAPI setup is optimized for the internal communication between the frontend and backend. It is not recommended to use it as a API endpoint. There are plans to add user-friendly
  • How to connect to your custom OpenAI Server?
  • Set your custom OpenAI API Key and URL in the .env file, this will allow Verba to start up and retrieve the models from your custom OpenAI Server. OPENAI_BASE_URL is set to https://api.openai.com/v1 by default.
  • You can also set a different endpoint for your embeddings by configuring the OPENAI_EMBED_API_KEY and OPENAI_EMBED_BASE_URL environment variables and setting OPENAI_CUSTOM_EMBED=true. For more details, see OpenAI Embeddings.
  • How to upload custom JSON files to Verba?
  • Right now Verba does not support custom JSON structure. Instead the whole JSON will simply be dumped into the content field of the Verba document. You can read more about the Verba JSON Structure in the Technical Documentation here.
📚 实用指南(长尾问题)
适合谁
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
最佳实践
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • 本地部署优先选 GGUF 量化模型,节省显存并保持响应速度
  • 分块大小建议 256-512 tokens,向量库优选 pgvector 或 Qdrant
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • embedding 模型与查询模型不一致导致检索失效
  • 显存不足直接 OOM — 优先降低 context 或换更小的量化模型
  • Python 依赖冲突:建议用 venv / uv 隔离环境
部署方案
  • Docker:Verba 提供官方镜像,docker compose up 一键启动
  • CLI:直接 npm install -g / pip install,命令行调用
  • 本地部署:CPU 8GB 起,GPU 推荐 16GB+ 显存
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
Verba 中文教程Verba 安装报错怎么办Verba Docker 部署Verba Agent 工作流Verba 与同类工具对比Verba 最佳实践Verba 适合谁用
⚡ 核心功能
👥 适合人群
AI 技术爱好者研究人员和学生开发者和工程师技术创业者
🎯 使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
⚖️ 优点与不足
✅ 优点
  • +GitHub 7.7k Star,社区高度认可
  • +BSD-3-Clause 协议,可免费商用
  • +AI Skill Hub 精选推荐
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ BSD 3-Clause — 宽松协议,可商用修改分发,禁止使用原作者名称进行背书宣传。

🔗 相关工具推荐
❓ 常见问题 FAQ
Verba 是一款Python开发的AI辅助工具。Retrieval Augmented Generation (RAG) chatbot powered by Weaviate
💡 AI Skill Hub 点评

AI Skill Hub 点评:Verba — RAG 知识库工具中文文档 的核心功能完整,质量优秀。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

📚 深入学习 Verba — RAG 知识库工具中文文档
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 Verba
原始描述 Retrieval Augmented Generation (RAG) chatbot powered by Weaviate
Topics rag
GitHub https://github.com/weaviate/Verba
License BSD-3-Clause
语言 Python
🔗 原始来源
🐙 GitHub 仓库  https://github.com/weaviate/Verba

收录时间:2026-05-22 · 更新时间:2026-05-22 · License:BSD-3-Clause · AI Skill Hub 不对第三方内容的准确性作法律背书。