github

gregsadetsky / sagittarius

  • пятница, 15 декабря 2023 г. в 00:00:06
https://github.com/gregsadetsky/sagittarius

A Remake of the Google Gemini Fake Demo, Except Using GPT-4 and It's Real



A Remake of the Google Gemini Fake Demo, Except Using GPT-4 and It's Real

Original video here.

Heads-to-heads comparison of Gemini Pro and GPT-4.

how to build

  • clone this repo, cd into it
  • duplicate .env.example and name the copy .env
  • fill out the VITE_OPENAI_KEY= value with your OpenAI api key. you must have access to the gpt-4-vision-preview model
  • you can also try out the Gemini API if you have a key -- fill out VITE_GEMINI_KEY in the same .env
  • then, run:
  • npm install
  • npm run dev
  • the demo will be running at http://localhost:5173

note: the in-browser speech recognition works best in Google Chrome