Skip to content

wuhyapc/aurora

 
 

Repository files navigation

Deploy

编译部署

go build -o aurora
chmod +x ./aurora
./aurora

Docker部署

docker run -d --name aurora -p 8080:8080 ghcr.io/aurora-develop/aurora:latest

Usage

curl --location 'http://127.0.0.1:8080/v1/chat/completions' \
--header 'Content-Type: application/json' \
--data '{
     "model": "gpt-3.5-turbo",
     "messages": [{"role": "user", "content": "Say this is a test!"}],
     "stream": true
   }'

贡献

https://github.com/xqdoo00o/ChatGPT-to-API

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.2%
  • Dockerfile 0.8%