Skip to content

emreisik95/sherlock

 
 

Repository files navigation

ChatGPT-API Demo

It is act like Sherlock Holmes and you can chat with him. It is created with using awesome-chatgpt-prompts and ChatGPT-API. You can change character name and character from in .env file.

Run Locally

  1. Setup & Install dependencies

    First, you need Node.js installed.

    npm i
  2. Make a copy of .env.example, then rename it to .env

  3. Add your OpenAI API key to .env

    OPENAI_API_KEY=sk-xxx...
    
  4. If you want to change character, you can change it in .env

    PUBLIC_CHARACTER=Sherlock Holmes
    PUBLIC_CHARACTER_FROM=BBC Sherlock
    
  5. Run the app

    npm run dev

Deploy With Vercel

Deploy with Vercel

License

MIT

About

A demo repo based on OpenAI API (gpt-3.5-turbo)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.7%
  • Astro 17.4%
  • JavaScript 5.9%
  • CSS 2.6%
  • Shell 2.4%