Skip to content

聚合AIGC行业主流API,支持私有化部署、分级管理、算法调度、可视化监控等

Notifications You must be signed in to change notification settings

cs-magic/uni-api

Repository files navigation

Open API

img.png

providers

TODO

  • specific scenario-based prompt
  • user management on database
  • callable robuster api

Features

  • supported compress-content algo (2024-03-31)
  • supported zhipu / minimax API (2024-03-31)
  • supported agent call (2024-03-30)
  • supported openai / moonshot API (2024-03-28)

Configuration

config your .env like .env.sample

poetry shell
poetry install

Run

uvicorn main:app --reload

访问 http://localhost:8000/docs 查看各 API。

Deploy

proxy

pm2 start --name "openapi" 'http_proxy=http://localhost:7890 https_proxy=http://localhost:7890 uvicorn main:app --port 40330'

Tech

drivers

Bugfix

Wechaty - FileBox

文件发送问题,参考:wechaty/python-wechaty#356 (comment) ,代码见 packages/common_wechat/patches/filebox.py

NotGiven

如果不加这个的话,swagger 里会显示为 null

About

聚合AIGC行业主流API,支持私有化部署、分级管理、算法调度、可视化监控等

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published