conference-bio-generator

所属分类:生物医药技术
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-10-14 02:35:21
上 传 者sh-1993
说明:  会议生物发生器,,
(conference bio generator,,)

文件列表:
.env.example (14, 2023-10-13)
components/ (0, 2023-10-13)
components/DropDown.tsx (2589, 2023-10-13)
components/Footer.tsx (2743, 2023-10-13)
components/GitHub.tsx (1005, 2023-10-13)
components/Header.tsx (596, 2023-10-13)
components/LoadingDots.tsx (500, 2023-10-13)
components/ResizablePanel.tsx (567, 2023-10-13)
next.config.js (87, 2023-10-13)
package-lock.json (98088, 2023-10-13)
package.json (827, 2023-10-13)
pages/ (0, 2023-10-13)
pages/_app.tsx (292, 2023-10-13)
pages/_document.tsx (1387, 2023-10-13)
pages/api/ (0, 2023-10-13)
pages/api/generate.ts (770, 2023-10-13)
pages/index.tsx (7346, 2023-10-13)
pnpm-lock.yaml (34853, 2023-10-13)
postcss.config.js (82, 2023-10-13)
public/ (0, 2023-10-13)
public/analytics.png (167694, 2023-10-13)
public/favicon.ico (15086, 2023-10-13)
public/og-image.png (1573497, 2023-10-13)
public/screenshot.png (262765, 2023-10-13)
public/vercel.svg (1101, 2023-10-13)
public/vercelLogo.png (43758, 2023-10-13)
public/writingIcon.png (2470, 2023-10-13)
styles/ (0, 2023-10-13)
styles/globals.css (59, 2023-10-13)
styles/loading-dots.module.css (1024, 2023-10-13)
tailwind.config.js (395, 2023-10-13)
tsconfig.json (509, 2023-10-13)
utils/ (0, 2023-10-13)
utils/OpenAIStream.ts (2088, 2023-10-13)

# twitter-bio This project generates Twitter bios for you using AI. [![Twitter Bio Generator](https://github.com/PRAGNAN-1/conference-bio-generator/blob/master/./public/screenshot.png)](https://github.com/PRAGNAN-1/conference-bio-generator/blob/master/https://www.twitterbio.com) ## How it works This project uses the [OpenAI GPT-3 API](https://github.com/PRAGNAN-1/conference-bio-generator/blob/master/https://openai.com/api/) (specifically, text-davinci-003) and [Vercel Edge functions](https://github.com/PRAGNAN-1/conference-bio-generator/blob/master/https://vercel.com/features/edge-functions) with streaming. It constructs a prompt based on the form and user input, sends it to the GPT-3 API via a Vercel Edge function, then streams the response back to the application. Video and blog post coming soon on how to build apps with OpenAI and Vercel Edge functions! ## Running Locally After cloning the repo, go to [OpenAI](https://github.com/PRAGNAN-1/conference-bio-generator/blob/master/https://beta.openai.com/account/api-keys) to make an account and put your API key in a file called `.env`. Then, run the application in the command line and it will be available at `http://localhost:3000`. ```bash npm run dev ``` **Note:** You'll also need to add your OpenAI API key in an env variable somewhere.

近期下载者

相关文件


收藏者