close
Skip to content

BroKun/libro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

614 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Language: English | 简体中文

Image

A Notebook Product Solution with Flexible Customization and Easy Integration

Code: CI MIT License NPM Downloads PRs Welcome website discord

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.

image


Table of Contents


Quick Start

Install

pip install libro

Note

The Python version used is 3.10-3.12. Higher versions of Python may encounter issues with unsupported dependencies.

Run

Enter command libro in the terminal to start the web server, then the browser will automatically launch Libro.

libro

image

For more details, please refer to quick start

New Features

AI Capability

Image 1

AI Comletion

Image 2

Error Fixing

Image 3

AI Chat

Image 4

Code Explanation

Image 5

Code Optimization

Click to enlarge

Prompt Cell

  • Enhances the ability to interact directly with large models, supporting text conversations, multimodal expressions, and more.
  • Improves interaction capabilities for common output types, such as providing options to copy or run code when outputting it.
  • Built-in OpenAI models are available, and you can also extend models in the following ways:
    • Define variables for LLMs, agents, and other dialogue objects based on Langchain, which can be directly used in Prompt Cells.
    • Extend your own models based on libro-ai.

For more details, please refer to prompt cell manual

prompt cell

Click to enlarge

Sql Cell

  • Supports interaction capabilities for executing SQL commands.
  • Connect to SQL databases to write SQL code directly in the notebook.

For more details, please refer to sql cell manual

sql cell

Click to enlarge

Technical Architecture

image

Future Plans

  • AI Capability Integration
  • Support for Prompt Notebook
  • Execution of libro in the Browser

More

Reporting Issues

😊 We recommend submitting your questions through github issue, and we typically respond within two days.

Contributing

🤝 Please refer to CONTRIBUTING.md

Contributors

💪 Thanks to all contributors

List of Contributors

Contact Us

💬 Chat with us on Discord

🤗 Join our DingTalk Q&A group

✏️ Start a GitHub Discussion

🐦 Follow us on Twitter

📧 Subscribe to our Medium

About

AI Notebook

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 95.2%
  • Less 3.4%
  • CSS 1.1%
  • Other 0.3%