Skip to content

Instantly share code, notes, and snippets.

@zerothabhishek
Last active July 5, 2024 13:07
Show Gist options
  • Select an option

  • Save zerothabhishek/3f9ff5d5ca83c734241095c88875e2d2 to your computer and use it in GitHub Desktop.

Select an option

Save zerothabhishek/3f9ff5d5ca83c734241095c88875e2d2 to your computer and use it in GitHub Desktop.

Revisions

  1. zerothabhishek revised this gist Jul 5, 2024. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion workshop-prep.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,10 @@ Please bring your own laptops.
    Tech/Tools to be used: Nextjs, Supabase, OpenAI
    Discussions: [Discord](https://discord.gg/UFNHnG7a)

    ## What we'll build

    An RAG application which can ingest and search through a given documentation and answers questions. The app will be a chat UI that will use the [Marvel Universe wiki](https://marvelcinematicuniverse.fandom.com/wiki/Marvel_Cinematic_Universe_Wiki) as data source.


    ## Things to install and setup

    @@ -35,6 +39,6 @@ In case you're unable to pay for OpenAI, please sign-up for [TuneStudio](https:/
    The TuneAI team has agreed to share free credits with the participants



    ---

    Facing issues: ask us on [Discord](https://discord.gg/UFNHnG7a)
  2. zerothabhishek revised this gist Jul 5, 2024. 1 changed file with 4 additions and 6 deletions.
    10 changes: 4 additions & 6 deletions workshop-prep.md
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,8 @@ Discussions: [Discord](https://discord.gg/UFNHnG7a)
    Node.Js (>= v18) : [Installation](https://nodejs.org/en/download/package-manager)
    Next.js: [Installation](https://nextjs.org/docs/getting-started/installation)

    If you're using Windows, a WSL setup too may be needed.


    #### 2. Get a free account on Supabase

    @@ -29,14 +31,10 @@ We need to make calls to the OpenAI APIs in some steps
    - Create project
    - Generate API keys

    In case you're unable to pay for OpenAI, please sign-up for [TuneStudio](https://studio.tune.app/signup).
    The TuneAI team has agreed to share free credits with the participants


    #### 4. Install Ollama with llama3 (Optional)

    Follow the instuctions [here](https://github.com/ollama/ollama?tab=readme-ov-file#macos)
    This step involves downloading an AI model too. Prefer installing a small sized model like llama3
    Running an AI model locally will need good processing power in the laptop. Hence this step is optional.



    Facing issues: ask us on [Discord](https://discord.gg/UFNHnG7a)
  3. zerothabhishek revised this gist Jul 5, 2024. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions workshop-prep.md
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,12 @@

    The workshop: https://lu.ma/6lrnyo1b

    Tech/Tools to be used: Nextjs, Supabase, OpenAI
    The workshop: https://lu.ma/6lrnyo1b
    Please bring your own laptops.

    Tech/Tools to be used: Nextjs, Supabase, OpenAI
    Discussions: [Discord](https://discord.gg/UFNHnG7a)


    ## Steps to follow
    ## Things to install and setup

    #### 1. Install Node.js and Next.js

  4. zerothabhishek revised this gist Jul 5, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion workshop-prep.md
    Original file line number Diff line number Diff line change
    @@ -39,4 +39,4 @@ Running an AI model locally will need good processing power in the laptop. Hence




    Facing issues: ask us on [Discord](https://discord.gg/UFNHnG7a)
  5. zerothabhishek revised this gist Jul 5, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion workshop-prep.md
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ Discussions: [Discord](https://discord.gg/UFNHnG7a)

    #### 1. Install Node.js and Next.js

    Node.Js (>= v18) : [Installation](https://nodejs.org/en/download/package-manager)
    Node.Js (>= v18) : [Installation](https://nodejs.org/en/download/package-manager)
    Next.js: [Installation](https://nextjs.org/docs/getting-started/installation)


  6. zerothabhishek created this gist Jul 5, 2024.
    42 changes: 42 additions & 0 deletions workshop-prep.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,42 @@

    The workshop: https://lu.ma/6lrnyo1b

    Tech/Tools to be used: Nextjs, Supabase, OpenAI

    Discussions: [Discord](https://discord.gg/UFNHnG7a)


    ## Steps to follow

    #### 1. Install Node.js and Next.js

    Node.Js (>= v18) : [Installation](https://nodejs.org/en/download/package-manager)
    Next.js: [Installation](https://nextjs.org/docs/getting-started/installation)


    #### 2. Get a free account on Supabase

    Link: supabase.com

    - We need a Postgresql database with the extension `pgvector` installed.
    - Create account on supabase.com gives us a free Postgresql instance with pg_vector
    - Or install the db locally with the extension

    #### 3. Get OpenAI keys

    We need to make calls to the OpenAI APIs in some steps
    - [Make payment](https://platform.openai.com/settings/organization/billing/overview)
    - Create project
    - Generate API keys



    #### 4. Install Ollama with llama3 (Optional)

    Follow the instuctions [here](https://github.com/ollama/ollama?tab=readme-ov-file#macos)
    This step involves downloading an AI model too. Prefer installing a small sized model like llama3
    Running an AI model locally will need good processing power in the laptop. Hence this step is optional.