fastapi

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 6 Imported by: 0

README

智元 Fast API

Release License Go Report Card

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

支持模型

公司 模型 Completion Image
OpenAI / Azure gpt3.5、4.0系列
OpenAI / Azure DALL-E-2、DALL-E-3
百度 文心一言
科大讯飞 星火
阿里云 通义千问
智谱AI GLM系列
Google Gemini
DeepSeek deepseek-chat、deepseek-coder
360智脑 360gpt系列
Midjourney Midjourney-Proxy、Midjourney-Proxy-Plus

项目预览

部署支持

  • ✅ 集群部署
  • ✅ 多地部署
  • ✅ 跨区部署

Docker部署

传送门
部署视频

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

公益站点

项目截图

管理端

dashboard model key modelagent user chat

用户端

dashboard mymodel app appkey chat

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",
    "stream": true,
    "messages": [
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "hi"}
    ]
}'

开源地址

仓库 API Web Admin SDK
主库 fastapi fastapi-web fastapi-admin fastapi-sdk
码云 fastapi fastapi-web fastapi-admin fastapi-sdk

作者

作者

交流群

交流群

Star History Chart

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL