Giter VIP home page Giter VIP logo

gpt-workshop's Introduction

GPT Workshop Starter Code

Hello and welcome! In this repo you will be able to find the starter (and completed) code for the GPT Workshop.

To get started, please fork the repo using the button in the top right corner. Once you have your own copy of it you will need to clone the repo so that you can edit the code on your local machine.

I have made videos with instructions for walking you through the entire process of completing the workshop. From setting up your OpenAI account to deploying your assistant application with Vercel. They can be found in the tutorial folder. I recommend that you watch them in order as you progress through the workshop.

Where to write code

All files that require edits are in the /pages/api/assistants directory. Specifically they are listed as follows:

  • assistants/[id]/index.ts
  • assistants/threads/index.ts
  • assistants/threads/[thread_id]/index.ts
  • assistants/threads/[thread_id]/messages.ts
  • assistants/threads/[thread_id]/runs/index.ts
  • assistants/threads/[thread_id]/runs/[id]/index.ts
  • assistants/threads/[thread_id]/runs/[id]/cancel.ts

Each file as TODO items listed in it. Once you have completed them all you should be able to test your assistant with yarn dev then opening localhost:3000 in your browser.

Couple things to note:

  • The front-end used for this workshop is forked from Chatbot-UI written by McKay Wrigley. Feel free to show him some support!
  • A working implementation of the finished product can be found and tested at this link. Feel free to try it out yourself
  • This repo was created to facilitate a live workshop that happened on December 21th 2023, but you should be able to complete it asynchronously using the recorded videos. If you have any questions about what to do please feel free to ping me on Twitter @_broskitweets

That's it

That's all from me for now. For any other inquiries ping me on twitter @_broskitweets.

Hope you enjoy the workshop! Good luck, have fun :)

gpt-workshop's People

Contributors

adiestel avatar alanpog avatar anthonypuppo avatar aweshchoudhary avatar bcullman avatar borborborja avatar broskicodes avatar ch4r4f avatar chanzhaoyu avatar dasunnimantha avatar dotneet avatar ernestobarrera avatar huuphongnguyen avatar hyena459 avatar itbm avatar jdban avatar liby avatar matriq avatar mckaywrigley avatar nauxliu avatar oznav2 avatar regisrex avatar riande avatar ryanhex53 avatar shemarlindie avatar sonnylazuardi avatar spctechdev avatar srsholmes avatar syedmuzamilm avatar thomasleveil avatar

Stargazers

 avatar

Watchers

 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.