Skip to content

h1zqeel/My-GPT

Repository files navigation

My-GPT

NodeJS TypeScript Next JS TailwindCSS Redux ChatGPT Postgres Redis Vercel

Wanna Help me Improve This Project ?

email me at: hizqeeljaved2013@gmail.com

To access the Application

https://my-gpt.is-an.app

Description of the Application:

  • A Simple LLM Client For OpenAI (GPT), Google based LLMs (PaLM & Gemini), Anthropic LLMs (Claude)
  • Create a LLM BOT with your own System Message that can use one of the following models:
    • GPT 3.5 Turbo
    • GPT 3.5 Turbo 16k
    • GPT 4
    • GPT 4 32k
    • GPT 4 (1106) Turbo Preview
    • GPT 4 (0125) Turbo Preview
    • Google PaLM 2
    • Google Gemini Pro
    • Claude 2
    • Claude 2.1
    • Claude 3 Sonnet
    • Claude 3 Opus
  • To be able to create GPT-4 Chats you need to add a API Key that has Permission to use GPT-4 Models
  • To access Google LLMs you need to add Google AI API Key
  • To access Claude Chats you need to add Anthropic API Key
  • Generate your API Keys
    • Open AI API Key here
    • Google AI API Key here
    • Anthropic API Key here

Local Setup

Set the following data in .env

DATABASE_URL (Neon Postgres DB URL)
TOKEN_NAME (string)
AUTH_SECRET (32 Chars)
AUTH_KEY (43 Chars)
KV_URL (Redis Store URL)
KV_TOKEN (Redis Store Token)
GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET

Install Dependencies

yarn

Drizzle Setup + Migrations

    yarn generate
    yarn migrate

Start the Dev Server

yarn dev

Build + Run Build

yarn build
yarn start

Releases

No releases published

Packages

No packages published

Languages