An intelligent shell with AI chat capabilities
Project description
smart_shell
基于python库prompt_toolkit
实现的一款命令行终端, 再保持现有shell功能的背景下,额外支持以下功能
- 终端支持chat命令, 可以在命令行和大模型聊天
- 终端支持chat读取命令行上下文, 支持读取历史shell命令的输入、输出结果
- 在pipeline管道中, 支持chat命令读取管道命令的输出,输出
安装
pip intall in-chat-shell
进入shell
in-chat-shell
功能点1
在命令行中输入chat
命令,进入聊天模式,可以和大模型聊天
> chat 你是什么模型
功能点2
在命令行中输入chat
命令,进入聊天模式,可以和大模型聊天
chat 刚才git执行,为啥报错
功能点3
在pipline管道中, 支持chat命令读取管道命令的输出,输出
> ls -ls | chat 转换为markdown格式
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
in_chat_shell-0.1.7.tar.gz
(12.1 kB
view details)
File details
Details for the file in_chat_shell-0.1.7.tar.gz
.
File metadata
- Download URL: in_chat_shell-0.1.7.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dce84ba34c10ac07417583babdc3b31d1f7d7cd943529ae8fa23cfe010722193 |
|
MD5 | e91b3101cac1dcdc6a719cfb16eccb90 |
|
BLAKE2b-256 | 5505a866924d53c93dab0c5ce8c8ecfb8f1b27a368ffcd75a250d4dffb381da9 |