# bigmodelapi **Repository Path**: zheyiw/bigmodelapi ## Basic Information - **Project Name**: bigmodelapi - **Description**: 大模型应用API,封装了大模型的调用,暴露出几个具体应用的API 包括多轮对话,翻译。。。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-25 - **Last Updated**: 2025-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 项目说明 把文件放在:/usr/bigmodelapi 目录,这个很重要 ## 1. 环境准备 请先安装 OpenAI SDK: ```bash pip3 install openai fastapi uvicorn ``` ## 手动启动命令: ```bash uvicorn main:app --host 0.0.0.0 --port 8000 uvicorn main:app --host localhost --port 8000 ``` ## 2. 启动服务 ```bash sudo cp /usr/bigmodelapi/bigmodelapi.service /etc/systemd/system/ systemctl start bigmodelapi systemctl enable bigmodelapi systemctl stop bigmodelapi ```