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.4.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.4-py3-none-any.whl (35.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onebase_ai-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 89eed5531a8b13675e8e29ec0f8eeacf2ff268670b3986717c3cee7f7e59876f
MD5 1b4ef2e68f57667c97688bb6ad1b3d01
BLAKE2b-256 b190f2016b23226c6810b991e8c86c11c8819e1c9daa2ef2d0600927058ee340

See more details on using hashes here.

Provenance

The following attestation bundles were made for onebase_ai-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: onebase_ai-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d3c3da17a105d0b008c07ef0e4cf4eae77e90c266c458d3ae2e7b1dc268f246c
MD5 c075a86954f5e622f029953d79f296b5
BLAKE2b-256 40f2db735fbad69558a58c864d34554a7d4a75b00ceea2456beeef06288a6709

See more details on using hashes here.

Provenance

The following attestation bundles were made for onebase_ai-0.1.4-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