返回顶部
热门问答 更多热门问答
技术文章 更多技术文章

基于 GPT-4o 的超强电脑助手来了!

[复制链接]
链载Ai 显示全部楼层 发表于 昨天 10:32 |阅读模式 打印 上一主题 下一主题

GPT Computer Assistant是一个基于 GPT-4o 的智能电脑助手,支持 Windows,macOS 和 Linux 平台。它的目标是作为 Windows 平台上 Copilot 的替代品。

GPT Computer Assistant 主要功能

目前 GPT Computer Assistant 支持以下功能:

  • 屏幕读取
  • 点击屏幕上的文本或图标
  • 移动屏幕上的文本或图片
  • 输入文本
  • 触发任何按键
  • 录制麦克风
  • 录制系统音频
  • 打开和关闭应用
  • 打开 URL 地址
  • 操作剪贴板
  • 使用搜索引擎
  • 编写和运行 Python 脚本
  • 编写和运行 Shell 脚本
  • 知识管理

GPT Computer Assistant 应用场景

做会议记录

日程安排

辅助阅读

编写代码并复制到剪贴板

GPT Computer Assistant 快速上手

安装 GPT Computer Assistant 前,需要确保本地 Python 的版本高于 3.9。

创建 Agent

pip3install'gpt-computer-assistant[base]'
pip3install'gpt-computer-assistant[agentic]'
fromgpt_computer_assistantimportAgent,start

manager=Agent(
role='rojectManager',
goal='understandsprojectneedsandassistcoder',
backstory="""You'reamanageratalargecompany.""",
)

coder=Agent(
role='SeniorPythonCoder',
goal='writingpythonscriptsandcopyingtoclipboard',
backstory="""You'reapythondeveloperatalargecompany.""",
)


start()

添加自定义工具

fromgpt_computer_assistantimportTool,start

@Tool
defsum_tool(first_number:int,second_number:int)->str:
"""Usefulforwhenyouneedtosumtwonumberstogether."""
returnfirst_number+second_number

start()

开放 API

GPT Computer Assistant 支持 API 的形式运行,以满足远程操作的场景。

pip3install'gpt-computer-assistant[base]'
pip3install'gpt-computer-assistant[api]'
computerassistant--api
fromgpt_computer_assistant.remoteimportremote

output=remote.input("Hi,howareyoutoday?",screen=False,talk=False)
print(output)

remote.just_screenshot()

remote.talk("TTStest")

#OtherFunctionalities
remote.reset_memory()
remote.profile("default")

remote.enable_predefined_agents()
remote.disable_predefined_agents()

remote.enable_online_tools()
remote.disable_online_tools()

https://github.com/onuratakan/gpt-computer-assistant


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

链载AI是专业的生成式人工智能教程平台。提供Stable Diffusion、Midjourney AI绘画教程,Suno AI音乐生成指南,以及Runway、Pika等AI视频制作与动画生成实战案例。从提示词编写到参数调整,手把手助您从入门到精通。
  • 官方手机版

  • 微信公众号

  • 商务合作

  • Powered by Discuz! X3.5 | Copyright © 2025-2025. | 链载Ai
  • 桂ICP备2024021734号 | 营业执照 | |广西笔趣文化传媒有限公司|| QQ