Skip to main content

像配置静态网站一样,一键构建与部署 AI 动态服务 (RAG 底座)

Project description

OneBase Logo

OneBase AI

像配置静态网站一样,一键构建与部署 AI 动态服务 (RAG 底座)

PyPI Version License 中文 English

🌟 项目简介

OneBase 是一个开箱即用的现代化 RAG(检索增强生成)框架脚手架。它将复杂的向量数据库配置、文件解析、大模型调度以及前端 UI 渲染封装在极简的命令之中。无论你是想快速搭建一个专属的个人知识库助手,还是想为企业部署一套基于私有数据的问答系统,OneBase 都能让你在几分钟内完成从“0”到“上线”的全过程。

✨ 核心特性

  • 🛠️ 一键初始化与构建:一条命令生成配置,自动扫描文档并切片入库。
  • 🧠 主流大模型全覆盖:无缝对接 OpenAI, Claude, DeepSeek, Gemini, 以及智谱、通义千问等国内外主流 LLM。
  • 📚 强大的 RAG 检索:基于 langchain 和 pgvector,提供高精度的语义搜索。
  • 💬 多轮对话与持久化记忆:内置 PostgreSQL 会话记录,刷新页面也不丢失对话上下文。
  • 📄 可视化文件预览:类似 VSCode 的左侧目录树,支持点击实时预览 Markdown 文件,并在聊天中高亮引用代码。
  • 📎 实时文档上传:前端界面直接拖拽上传 PDF/TXT/MD,即刻学习,即刻提问。
  • 🐳 全栈容器化部署:后端 FastAPI + 前端 Vue 3,自动生成 docker-compose.yml,一键部署到任何服务器。

📚 产品文档

查看产品文档

🤝 参与贡献

欢迎提交 Issue 和 Pull Request!如果你有任何关于支持新模型、改进前端 UI 或优化 RAG 检索效果的想法,请随时发起讨论。

📄 许可证

本项目基于 MIT License 开源。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onebase_ai-0.1.5.tar.gz (33.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onebase_ai-0.1.5-py3-none-any.whl (35.7 MB view details)

Uploaded Python 3

File details

Details for the file onebase_ai-0.1.5.tar.gz.

File metadata

  • Download URL: onebase_ai-0.1.5.tar.gz
  • Upload date:
  • Size: 33.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for onebase_ai-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f40aa4df83ef0b7048b1ccd539fd97d989cdfc9135422e74b6d781f59828b615
MD5 7352ffcc0f66f6005dd9e68f121fb769
BLAKE2b-256 52e4a087fd8e10df7affca6f1bbd29ce01708b96632b0a1b96dede5a6d1c0773

See more details on using hashes here.

Provenance

The following attestation bundles were made for onebase_ai-0.1.5.tar.gz:

Publisher: publish.yml on pirate-608/OneBase-AI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file onebase_ai-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: onebase_ai-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 35.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for onebase_ai-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 04d87828b5ba4cb61e39b8e1b5bf8e979a6f2a82ca059deeb1ff90e4769dde85
MD5 84fd30d0d1f5d4be436fc2eebb7dc038
BLAKE2b-256 a6e017c699167c3e9c5668ea9ea8b59da641cabc3a38249e33a422c52759b2dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for onebase_ai-0.1.5-py3-none-any.whl:

Publisher: publish.yml on pirate-608/OneBase-AI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page