BuilderIO/gpt-assistant
关于
一项让自主 GPT 智能体访问浏览器并完成任务的实验
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文GPT Assistant
An experiment to give an autonomous GPT agent access to a browser and have it accomplish tasks.
Built with Qwik and Puppeteer.
You can see it in action below in these two video examples, with a description of how it works:
Examples
| "go to the qwik repo readme and add 'steve is awesome'" |
|---|
![]() |
| "Book me a table for 3 at 8pm for indian food" | "What dog breed is best for me" |
|---|---|
![]() |
![]() |
Setup
Requirements
- Node.js 14+
- OpenAI API key
- Postgres database
- Access to GPT-4
Clone the repo
git clone https://github.com/BuilderIO/gpt-assistant.git
cd gpt-assistant
Install dependencies
npm install
Create a .env file
Copy the .env.example file to .env
cp .env.template .env
Add your OpenAI API key
Retrieve your API key from OpenAI and add it to the .env file as OPENAI_KEY
Note: If you haven't already, you'll have to create an account and set up billing.
+ OPENAI_KEY=sk-...
Add a Postgres database URL
In .env add a Postgres database URL it as DATABASE_URL. YOu can easily set one up with supabase if needed.
+ DATABASE_URL=postgres://user:password@host:port/database
Generate the tables
You can prisma migrate to generate the tables in your database.
npx prisma migrate dev --name init
Run
# Run the dev server
npm run dev
Now, go enter a prompt for the assistant, and let it run!
Contributing
If you want to help fix a bug or implement a feature, don't hesitate to send a pull request!
Just know that these are the very early days of this project, documentation is sparse, and the code is a bit messy. We're working on it!
Community
Come join the Builder.io discord and chat with us over in the #gpt-assistant channel
探索相关项目
加载中…


