chat simplifier
1.0.0
英語| 中文
このプロジェクトは、AIを使用してチャットコンテンツを簡素化します。

このプロジェクトでは、CHAT GPT API(GPT-3.5-ターボ)と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 Key,separate with , when there are multiple | いいえ | (得る) |
| next_public_use_user_key | ユーザーが入力したAPIキーを使用するかどうか | No, default value is true | true or false |
| next_public_secret | プロジェクトの秘密の文字列。 API呼び出しの署名を生成するために使用します | いいえ | null |
vercelを使用して例を展開します。
TwtterbioとJimmy LVに触発されました。