Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weavefox/libro
A Notebook with Flexible Customization and Easy Integration.
https://github.com/weavefox/libro
agent ai artificial-intelligence data-science jupyter jupyter-notebook jupyter-notebooks libro machine-learning notebook python sql
Last synced: about 20 hours ago
JSON representation
A Notebook with Flexible Customization and Easy Integration.
- Host: GitHub
- URL: https://github.com/weavefox/libro
- Owner: weavefox
- License: mit
- Created: 2023-09-14T07:40:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-08T06:35:46.000Z (2 days ago)
- Last Synced: 2025-02-08T07:25:07.091Z (2 days ago)
- Topics: agent, ai, artificial-intelligence, data-science, jupyter, jupyter-notebook, jupyter-notebooks, libro, machine-learning, notebook, python, sql
- Language: Jupyter Notebook
- Homepage: https://libro.difizen.net
- Size: 33 MB
- Stars: 366
- Watchers: 4
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
libro:灵活定制、轻松集成的 Notebook 产品方案
## 特性
- 🚀 提供完整的 Notebook 能力和丰富的周边功能,基于现有组合快速上手。
- 🌱 提供内核级别的扩展能力,所有层次的内容均允许二次开发定制。
- 🔮 定义大模型工作流,内置大模型交互和辅助开发能力。![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro_homepage_zh.png)
---
## 目录
- [快速开始](#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B)
- [安装](#%E5%AE%89%E8%A3%85)
- [启动](#%E5%90%AF%E5%8A%A8)
- [新特性](#%E6%96%B0%E7%89%B9%E6%80%A7)
- [AI 能力](#ai-%E8%83%BD%E5%8A%9B)
- [Prompt Cell](#prompt-cell)
- [Sql Cell](#sql-cell)
- [架构](#%E6%9E%B6%E6%9E%84)
- [后续计划](#%E5%90%8E%E7%BB%AD%E8%AE%A1%E5%88%92)
- [更多](#%E6%9B%B4%E5%A4%9A)
- [提交issue](#%E6%8F%90%E4%BA%A4issue)
- [贡献代码](#%E8%B4%A1%E7%8C%AE%E4%BB%A3%E7%A0%81)---
## 快速开始
### 安装
```bash
pip install libro
```> [!NOTE]
> 使用的 Python 版本为 3.10-3.12,过高的 Python 版本可能存在依赖包不支持的问题。详情请阅读[快速开始](./apps/docs/docs/quickstart/index.md)。
### 启动
在终端中输入命令 `libro` 启动 Web 服务器,随后浏览器会自动打开 Libro。```bash
libro
```
![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro_launch.png)## 新特性
### AI 能力
AI 代码补全
![]()
错误修复
![]()
AI 对话
![]()
代码解释
![]()
代码优化
### Prompt Cell
- 增强直接与大模型交互的能力,支持文本对话,多模态表达等。
- 增强对于常见输出类型的交互能力,如在输出代码时给出复制、运行等操作能力。
- 内置了 OpenAI 系列模型,您还可以通过以下方式扩展模型~
- 基于 langchain 定义 llm、agent 等可对话对象的变量,他们可以直接用在 Prompt cell 中。
- 基于 libro-ai 扩展自己的模型。
- 支持选择聊天标识,使得选择该聊天标识的 Prompt Cell 都在一个聊天上下文中。
- 支持 Prompt Cell 保存为一个变量,该变量即为 langchain 的 AIMessage。详情请阅读 [prompt cell 指南](./apps/docs/docs/manual/prompt-cell.md)。
### Sql Cell
- 支持与 sql 的执行交互能力。
- 连接 sql 数据库即可在 notebook 中写 sql 代码。详情请阅读 [sql cell 指南](./apps/docs/docs/manual/sql-cell.md)。
## 架构
![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/technical_architecture_zh.png)
## 后续计划
- AI 特性接入
- Libro 在浏览器端执行
- 版本 Diff 接入## 更多
### 提交issue
😊 我们建议您使用[github issue](https://github.com/difizen/libro/issues) 提交您的疑问, 我们通常会在2日内回复。
### 贡献代码
🤝 请查阅 [CONTRIBUTING.md](./CONTRIBUTING_zh.md)