https://github.com/brishikiran/bio-generator-gpt
https://github.com/brishikiran/bio-generator-gpt
mistralai nextjs openai tailwindcss
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/brishikiran/bio-generator-gpt
- Owner: brishikiran
- License: mit
- Created: 2024-03-10T23:56:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-10T23:58:45.000Z (about 1 year ago)
- Last Synced: 2025-01-18T20:37:06.280Z (3 months ago)
- Topics: mistralai, nextjs, openai, tailwindcss
- Language: TypeScript
- Homepage: https://bio-generator-gpt-rust.vercel.app
- Size: 1.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Bio Generator GPT
This project generates bios for you using AI.
## How it works
This project uses both [Mixtral](https://mistral.ai/news/mixtral-of-experts/) and [GPT-3.5](https://openai.com/api/) with streaming to generate a Twitter bio. It constructs a prompt based on the form and user input, sends it either to the Mixtral API through [Together.ai](https://www.together.ai/) or the GPT-3.5 API through OpenAI, then streams the response back to the application.
## Running Locally
1. Create an account at [OpenAI](https://beta.openai.com/account/api-keys) and add your API key under `OPENAI_API_KEY` in your `.env`
2. Create an account at [Together.ai](https://www.together.ai/) and add your API key under `TOGETHER_API_KEY`
3. Run the application with `npm run dev` and it will be available at `http://localhost:3000`.