forked from iimeta/fastapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.MD
More file actions
78 lines (58 loc) · 3.46 KB
/
Copy pathREADME.MD
File metadata and controls
78 lines (58 loc) · 3.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<div align=center>
<img src="https://iim.ai/public/images/logo.png?t=20231207" width="128"/>
# 智元 Fast API
[](https://github.com/iimeta/fastapi/releases)
[](https://github.com/iimeta/fastapi/blob/main/LICENSE)
[](https://goreportcard.com/report/github.com/iimeta/fastapi)
</div>
`智元 Fast API` 是一站式API管理系统,将各类大模型API进行统一格式、统一规范、统一管理,使其在功能、性能和用户体验上达到极致。
## 功能介绍
- 支持 OpenAI 全模型
## 项目预览
- 用户端: https://demo.fastapi.ai/login
- 账号/密码: demo@fastapi.ai/123456
- 管理端: https://demo.fastapi.ai/admin
- 账号/密码: admin/admin123
## 项目截图
### 管理端






### 用户端





### 部署视频
https://www.fastapi.ai/public/video/install.mp4
## Docker部署
### [传送门](https://github.com/iimeta/fastapi/tree/docker)
## API接口
### 同OpenAI接口
```bash
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 |
## 作者
<img src="https://iim.ai/public/images/Author.png?t=20231207" width="320" alt="作者"/>
## 交流群
<img src="https://iim.ai/public/images/WeChatGroup.jpg?t=20240429" width="320" alt="交流群"/>
