chat simplifier
1.0.0
영어 | 中文
이 프로젝트는 AI를 사용하여 채팅 컨텐츠를 단순화합니다.

이 프로젝트는 Chat GPT API (GPT-3.5-Turbo)와 스트리밍과 함께 Vercel Edge 기능을 사용합니다. 양식 및 사용자 입력을 기반으로 프롬프트를 구성하고 Vercel Edge 함수를 통해 GPT-3 API로 전송 한 다음 응답을 응용 프로그램으로 다시 스트리밍합니다.
After cloning the repository, go to OpenAI to create an account and refer to the environment variable instructions to put your API key into a file named .env .
Then, run the application in the command line and it will be available at http://localhost:3000 .
npm run dev| 환경 변수 | 설명 | 필수의 | 선택적 값 |
|---|---|---|---|
| Openai_api_key | 여러가있을 때 OpenAi API 키, 분리되어 , | 아니요 | (얻다) |
| next_public_use_user_key | 사용자가 입력 한 API 키 사용 여부 | No, default value is true | true 또는 false |
| next_public_secret | 프로젝트의 비밀 문자열. API 통화에 대한 서명을 생성하는 데 사용됩니다 | 아니요 | null |
Vercel을 사용하여 예제 배포 :
Twtterbio와 Jimmy LV에서 영감을 얻었습니다.