与 OpenAI、Anthropic Claude 和 Google Gemini 等远程 API 进行交互。
限制与风险
项目文档中未记录 GPU 要求,使用本地模型前需自行确认硬件条件。
如何开始
安装难度为简单;基本使用只需设置 API 密钥。首次成功路径:pip install llm,然后 llm keys set openai,最后执行 llm "Ten fun names for a pet pelican"。
核验依据
GitHub 项目简介: Access large language models from the command-line
README: A CLI tool and Python library for interacting with **OpenAI**, **Anthropic’s Claude**, **Google’s Gemini**, **Meta’s Llama** and dozens of other Large Language Models, both via re…