LaphaeL aicmd
1.0.0
aicmd
启动locales
文件~/.config
文件夹LaphaeL-aicmd
/help
时打印的帮助文档警告
使用以下命令安装诗歌: pip install poetry
添加环境变量:
echo ' export PATH="$HOME/.local/bin:$PATH" ' >> ~ /.bashrc
source ~ /.bashrc
启动诗歌并安装依赖项:
cd /path/to/this/project/on/your/computer
poetry shell
poetry install
每次运行程序之前,需要使用poetry shell
启动poetry
pip install -q -U google-generativeai
pip install openai
pip install toml
nano ~/.bashrc
alias aicmd="python3 /path/to/this/program/LaphaeL-aicmd/main.py"
source ~/.bashrc
aicmd
启动程序打开~/.config/LaphaeLaicmd/data/AI_settings.toml
文件(程序第一次运行后生成)
[prompt](text)
和[custom_instruct](text)
以修改提示[info](select_ai)
修改AI类型(默认为ChatGPT,也支持Gemini)[info_your-select-ai](api_key)
设置 API key (必须填写)[info_your-select-ai](model)
以更改 AI 模型(默认为 gpt-4o) [Y/n]
(按Enter键也执行) 提示
尝试输入help me install Chrome
; create a folder on the desktop
; help me solve this problem
; what is my graphics card model?
/
或/help
或/帮助
/exit
或/退出
/content
或/内容
/clear
或/清空
/cmd example
如果您遇到任何问题,请通过 GitHub issues 告知我们:点我进入 github issues 页面