开源推荐
morning
GitHub 热门项目:gptscript
摘要
GitHub项目:gptscript 仓库地址:https://github。
gptscript
the
https
with
License
2026-05-15
1 阅读
GitHub Trending
GitHub 项目:gptscript
仓库地址:https://github.com/gptscript-ai/gptscript
星级:3283 | 作者:gptscript-ai
项目描述:构建与您的系统交互的人工智能助手
===================================================
自述文件内容:
# GPT 脚本

GPTScript 是一个允许大型语言模型 (LLM) 操作并与各种系统交互的框架。这些系统的范围从本地可执行文件到具有 OpenAPI 架构、SDK 库或任何基于 RAG 的解决方案的复杂应用程序。 GPTScript 旨在轻松地将任何系统(无论是本地系统还是远程系统)与您的 LLM 集成,只需几行提示即可。
以下是 GPTScript 的一些示例用例:
1. 与本地 CLI 聊天 - [尝试一下!](https://docs.gptscript.ai/examples/cli)
2. 与符合 OpenAPI 的端点聊天 - [尝试一下!](https://docs.gptscript.ai/examples/api)
3. 与本地文件和目录聊天 - [尝试一下!](https://docs.gptscript.ai/examples/local-files)
4. 运行自动化工作流程 - [尝试一下!](https://docs.gptscript.ai/examples/workflow)
### 开始使用
MacOS 和 Linux(自制):
````
酿造安装gpt脚本
gptscript github.com/gptscript-ai/llm-basics-demo
````
MacOS 和 Linux (install.sh):
````
卷曲 https://get.gptscript.ai/install.sh |嘘
````
窗户:
````
winget 安装 gptscript-ai.gptscript
gptscript github.com/gptscript-ai/llm-basics-demo
````
一些注意事项:
- 您需要一个 [OpenAI API 密钥](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key)
- 在 Windows 上,安装 gptscript 后,您可能需要重新启动终端才能使更改生效
- 上面的脚本是一个简单的基于聊天的助手。您可以向它提问,它会尽力回答。
## 社区
加入我们的 Discord:[](https://discord.gg/9sSf4UyAMC)
## 许可证
版权所有 (c) 2024 [Acorn Labs, Inc.](http://acorn.io)
根据 Apache 许可证 2.0 版(“许可证”)获得许可;
除非遵守许可证,否则您不得使用此文件。
您可以在以下位置获取许可证副本:
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
除非适用法律要求或书面同意,否则软件
根据许可证分发是在“按原样”基础上分发的,
不提供任何明示或暗示的保证或条件。
请参阅许可证以了解特定语言的管理权限和
许可证下的限制。