<h1 align="center">
<a href="https://www.vizly.fyi/notebook">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://yellow-cdn.veclightyear.com/835a84d5/cc353016-5f71-43b1-9128-d646d2f2b8e5.png"/>
<img height="64" src="https://yellow-cdn.veclightyear.com/835a84d5/cc353016-5f71-43b1-9128-d646d2f2b8e5.png"/>
</picture>
</a>
</h1>
<p align="center">
AI驱动的Jupyter笔记本
</p>
<p align="center">
<a href="https://www.vizly.fyi/notebook"><img src="https://img.shields.io/badge/网站-blue?logo=googlechrome&logoColor=orange"/></a>
<a href="https://cal.com/ali-shobeiri/30min"><img src="https://img.shields.io/badge/预约通话-blue" /></a>
<a href="mailto:ali@vizlylabs.com"><img src="https://img.shields.io/badge/联系我们-brightgreen" /></a>
<a href="https://discord.gg/ZuHq9hDs2y"><img src="https://img.shields.io/badge/加入Discord-7289DA?logo=discord&logoColor=white" /></a>
<a href="https://github.com/squaredtechnologies/vizly-notebook/blob/main/LICENSE"><img src="https://img.shields.io/github/license/squaredtechnologies/vizly-notebook"/></a>
<a href="https://github.com/squaredtechnologies/vizly-notebook"><img src="https://img.shields.io/github/stars/squaredtechnologies/vizly-notebook" /></a>
</p>
Vizly Notebook是一款Jupyter替代品,它将AI副驾驶集成到您的Jupyter笔记本编辑体验中。
最重要的是,Vizly Notebook可以在本地运行,并且可以与Ollama或您自己的API密钥免费使用。开始使用:
pip install vizly-notebook
要启动vizly-notebook,运行以下命令
vizly-notebook
或
jupyter vizly-notebook
或
jupyter thread
主要特性
1. 熟悉的Jupyter笔记本编辑体验

2. 自然语言代码编辑

3. 生成单元格以回答自然语言问题

4. 在上下文感知的聊天侧边栏中提问

5. 自动解释或修复错误
<img width="1112" alt="图片" src="https://github.com/squaredtechnologies/vizly-notebook/assets/18422723/93a16931-4236-4ab0-b5b5-673100af2ca0">
演示
https://github.com/squaredtechnologies/vizly-notebook/assets/18422723/b0ef0d7d-bae5-48ad-b293-217b940385fb

功能路线图
以下是我们希望在未来几个月内推出的一些功能。如果您有任何建议或想要添加某个功能,请随时提出问题或通过电子邮件或Discord联系我们。
云端
最终,我们希望将Vizly Notebook集成到一个云平台中,该平台可以支持协作功能以及将笔记本托管为Web应用程序。如果这听起来对您有吸引力,我们正在寻找企业设计合作伙伴来合作并为其定制解决方案。如果您感兴趣,请通过电子邮件联系我们或加入我们的等待列表。
开发说明
要在开发模式下运行该仓库,您需要运行两个终端命令。一个运行Jupyter Server,另一个运行NextJS前端。
首先,运行:
yarn install
然后在一个终端中运行:
sh ./run_dev.sh
在另一个终端中运行:
yarn dev
导航到localhost:3000/vizly-notebook,您应该能看到本地版本的Vizly Notebook运行。
如果您想使用AI功能进行开发,请导航到proxy文件夹并运行:
yarn install
然后:
yarn dev --port 5001
使用Ollama与Vizly Notebook
您可以使用Ollama获得完全离线的AI体验。首先,使用上述命令安装并运行vizly-notebook。
运行vizly-notebook后,在左下角选择设置图标:

接下来,选择模型设置:

您将看到以下内容:

导航到Ollama并输入您的模型详情:

使用Ctrl / Cmd + K并尝试运行查询,看看效果如何!
为什么我们构建Vizly Notebook
我们最初在构建Vizly时产生了这个想法,Vizly是一个让非技术用户从数据中提问的工具。虽然Vizly在执行数据转换方面很强大,但作为工程师,我们常常感觉自然语言不能给我们足够的自由来编辑生成的代码或进一步自行探索数据。这就是我们开始Thread的灵感来源。