Giter VIP home page Giter VIP logo

gpt-assistant's Introduction

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'"
Gif example
"Book me a table for 3 at 8pm for indian food" "What dog breed is best for me"
Gif example Gif example 2

Setup

Requirements

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



Made with love by Builder.io

gpt-assistant's People

Contributors

steve8708 avatar willbrock avatar hamatoyogi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.