Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinesmilelk committed Nov 21, 2024
1 parent 5444908 commit 77f908c
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 67 deletions.
80 changes: 49 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,12 @@ Language: English | [简体中文](./README_zh.md)

## Features

- Provides comprehensive Notebook functionality with a rich set of auxiliary tools, allowing for quick adoption based on existing setups.
- Supports kernel-level extensibility, enabling customization and further development at all layers.
- Defines workflows for large models, with built-in capabilities for model interaction and AI-powered assistance.
- 🚀 Provides comprehensive Notebook functionality with a rich set of auxiliary tools, allowing for quick adoption based on existing setups.
- 🌱 Supports kernel-level extensibility, enabling customization and further development at all layers.
- 🔮 Defines workflows for large models, with built-in capabilities for model interaction and AI-powered assistance.

<p> </p>
<p align="center">
🌟🌟🌟 If you like this project, feel free to give us a star! 🌟🌟🌟
</p>
<p> </p>


![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro_en.png)
![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro_homepage.png)

---

Expand Down Expand Up @@ -74,26 +68,43 @@ For more details, please refer to [quick start](./apps/docs/docs/quickstart/inde

### AI Capability

- Error Fixing

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/error_debug.gif)

- Chat
- Contextual Chat in Cells

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_chat.gif)

- General AI Chat
<table align="center">
<tr>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/ai_completion.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/ai_completion.gif" alt="Image 1" width="150" height="100">
</a>
<p>AI Comletion</p>
</td>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/error_debug.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/error_debug.gif" alt="Image 2" width="150" height="100">
</a>
<p>Error Fixing</p>
</td>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_chat.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_chat.gif" alt="Image 3" width="150" height="100">
</a>
<p>AI Chat</p>
</td>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_explain.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_explain.gif" alt="Image 4" width="150" height="100">
</a>
<p>Code Explanation</p>
</td>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_opitimization.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_opitimization.gif" alt="Image 5" width="150" height="100">
</a>
<p>Code Optimization</p>
</td>
</tr>
</table>

Click to enlarge

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/ai_chat.gif)

- Code Explanation

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_explain.gif)

- Code Optimization

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_opitimization.gif)

### Prompt Cell

Expand All @@ -105,8 +116,11 @@ For more details, please refer to [quick start](./apps/docs/docs/quickstart/inde

For more details, please refer to [prompt cell manual](./apps/docs/docs/manual/prompt-cell.md)

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/prompt_cell.gif)
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/prompt_cell.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/prompt_cell.gif" alt="prompt cell" width="150" height="100">
</a>

Click to enlarge

### Sql Cell

Expand All @@ -115,7 +129,11 @@ For more details, please refer to [prompt cell manual](./apps/docs/docs/manual/p

For more details, please refer to [sql cell manual](./apps/docs/docs/manual/sql-cell.md)

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/sql_cell.gif)
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/sql_cell.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/sql_cell.gif" alt="sql cell" width="150" height="100">
</a>

Click to enlarge

## Technical Architecture

Expand Down
83 changes: 47 additions & 36 deletions README_zh.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
语言: 中文 | [English](./README.md)

<p align="center"><img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro-text.svg" width="120" /></p>
<p align="center"><img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro-text.svg" width="160" /></p>
<p align="center"><strong>libro:灵活定制、轻松集成的 Notebook 产品方案</strong></p>

<p align="center">
Expand All @@ -9,24 +9,16 @@
<a href="https://www.npmjs.com/package/@difizen/libro-core"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@difizen/libro-core?logo=npm&style=for-the-badge"></a>
<a href="https://github.com/difizen/libro/pulls"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-Welcome-brightgreen.svg?style=for-the-badge"></a>
<a href="https://libro.difizen.net"><img alt="website" src="https://img.shields.io/static/v1?label=&labelColor=505050&message=Homepage&color=0076D6&style=for-the-badge&logo=google-chrome&logoColor=f5f5f5"></a>

<a href="https://discord.gg/GEx6pa3GaG"><img alt="discord" src="https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white"></a>

</p>

## 特性

- 提供完整的 Notebook 能力和丰富的周边功能,基于现有组合快速上手。
- 提供内核级别的扩展能力,所有层次的内容均允许二次开发定制。
- 定义大模型工作流,内置大模型交互和辅助开发能力。

<p> </p>
<p align="center">
🌟🌟🌟 如果您也喜欢这个项目,欢迎为我们点亮 🌟🌟🌟
</p>
<p> </p>
- 🚀 提供完整的 Notebook 能力和丰富的周边功能,基于现有组合快速上手。
- 🌱 提供内核级别的扩展能力,所有层次的内容均允许二次开发定制。
- 🔮 定义大模型工作流,内置大模型交互和辅助开发能力。

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro.png)
![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro_homepage_zh.png)

---

Expand Down Expand Up @@ -77,26 +69,41 @@ libro

### AI 能力

- 错误修复

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/error_debug_zh.gif)

- AI 对话
- 基于 Cell 上下文对话

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_chat_zh.gif)
<table align="center">
<tr>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/ai_completion_zh.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/ai_completion_zh.gif" alt="AI 代码补全" width="150" height="100">
</a>
<p>AI 代码补全</p>
</td>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/error_debug_zh.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/error_debug_zh.gif" alt="错误修复" width="150" height="100">
</a>
<p>错误修复</p>
</td>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_chat_zh.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_chat_zh.gif" alt="AI 对话" width="150" height="100">
</a>
<p>AI 对话</p>
</td>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_explain_zh.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_explain_zh.gif" alt="代码解释" width="150" height="100">
</a>
<p>代码解释</p>
</td>
<td align="center">
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_opitimization_zh.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_opitimization_zh.gif" alt="代码优化" width="150" height="100">
</a>
<p>代码优化</p>
</td>
</tr>
</table>

- 通用对话

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/ai_chat_zh.gif)

- 代码解释

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_explain_zh.gif)

- 代码优化

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_opitimization_zh.gif)

### Prompt Cell

Expand All @@ -108,18 +115,22 @@ libro
- 支持选择聊天标识,使得选择该聊天标识的 Prompt Cell 都在一个聊天上下文中。
- 支持 Prompt Cell 保存为一个变量,该变量即为 langchain 的 AIMessage。

详情请阅读[prompt cell 指南](./apps/docs/docs/manual/prompt-cell.md)
详情请阅读 [prompt cell 指南](./apps/docs/docs/manual/prompt-cell.md)

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/prompt_cell_zh.gif)
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/prompt_cell_zh.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/prompt_cell_zh.gif" alt="prompt cell" width="150" height="100">
</a>

### Sql Cell

- 支持与 sql 的执行交互能力。
- 连接 sql 数据库即可在 notebook 中写 sql 代码。

详情请阅读[sql cell 指南](./apps/docs/docs/manual/sql-cell.md)
详情请阅读 [sql cell 指南](./apps/docs/docs/manual/sql-cell.md)

![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/sql_cell_zh.gif)
<a href="https://raw.githubusercontent.com/wiki/difizen/libro/assets/sql_cell.gif" target="_blank">
<img src="https://raw.githubusercontent.com/wiki/difizen/libro/assets/sql_cell_zh.gif" alt="sql cell" width="150" height="100">
</a>

## 架构

Expand Down

0 comments on commit 77f908c

Please sign in to comment.