链载Ai

标题: 基于 GPT-4o 的超强电脑助手来了! [打印本页]

作者: 链载Ai    时间: 昨天 10:32
标题: 基于 GPT-4o 的超强电脑助手来了!

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

GPT Computer Assistant 主要功能

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

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 (https://www.lianzai.com/) Powered by Discuz! X3.5