# ai_proxy **Repository Path**: redmapleleaf/ai_proxy ## Basic Information - **Project Name**: ai_proxy - **Description**: ai_proxy - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-25 - **Last Updated**: 2023-12-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 概念 cclient是消费端 server 是中转 sclient是服务客户端 cclient可以随时发起访问,然后由 server 存储内容,然后由 sclient 读取内容 ### 数据库 ``` CREATE DATABASE ai_proxy; USE ai_proxy; CREATE TABLE ai_tasks ( id INT PRIMARY KEY AUTO_INCREMENT, name VARCHAR(255) NOT NULL, createtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP, targettime TIMESTAMP, endtime TIMESTAMP, status VARCHAR(50), prompt TEXT NOT NULL, response TEXT NOT NULL ); ``` ### 启动 server dbpassword=your_password pm2 start index.js