# chatGPT-api **Repository Path**: DieHunter/chatGPT-api ## Basic Information - **Project Name**: chatGPT-api - **Description**: 基于chatGPT模块实现一个api - **Primary Language**: JavaScript - **License**: EPL-1.0 - **Default Branch**: master - **Homepage**: https://blog.csdn.net/time_____/article/details/128224527 - **GVP Project**: No ## Statistics - **Stars**: 12 - **Forks**: 4 - **Created**: 2022-12-07 - **Last Updated**: 2023-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: JavaScript, Nodejs, chatGPT ## README # openai-demo #### 介绍 前端调用openAI的demo 支持3.5版本turbo模型 #### 软件架构 html+js #### 安装教程 1. pnpm install 2. npm install 3. yarn install #### 使用说明 1. 在main.js文件中配置__apiKey,获取途径是openAI面板中(https://platform.openai.com/account/api-keys) 2. 在openAI官网也有教程,需要自取:https://platform.openai.com/docs/api-reference/chat 3. 将项目部署到服务器,或用vscode的live-server 4. 输入要发送的消息,点击发送 #### 参与贡献 1. Fork 本仓库 2. Star 本仓库