/iim-fastapi

智元 Fast API 是一站式API管理系统,将各类大模型API进行统一格式、统一规范、统一管理,使其在功能、性能和用户体验上达到极致。

Primary LanguageGoMIT LicenseMIT

智元 Fast API

Release License Go Report Card

智元 Fast API 是一站式API管理系统,将各类大模型API进行统一格式、统一规范、统一管理,使其在功能、性能和用户体验上达到极致。

功能介绍

  • 支持 OpenAI 全模型

项目预览

项目截图

管理端

dashboard model key modelagent user chat

用户端

dashboard mymodel app appkey chat

部署视频

https://www.fastapi.ai/public/video/install.mp4

Docker部署

API接口

同OpenAI接口

curl --location 'https://api.fastapi.ai/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer sk-FastAPI1YzE0kXf0zNb0ldX1nBLDm1Bh0SoSK0G0PzR1tNxW' \
--data '{
    "model": "gpt-3.5-turbo-16k",
    "stream": true,
    "messages": [
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "hi"}
    ]
}'

开源地址

仓库 前端 后端 API
主库 https://github.com/iimeta/fastapi-web https://github.com/iimeta/fastapi-admin https://github.com/iimeta/fastapi
码云 https://gitee.com/iimeta/fastapi-web https://gitee.com/iimeta/fastapi-admin https://gitee.com/iimeta/fastapi

作者

作者

交流群

交流群

Star History Chart