├── .gitignore ├── .idea ├── .gitignore ├── ChatGPT-AI.iml ├── misc.xml ├── modules.xml ├── sonarlint │ ├── issuestore │ │ ├── 0 │ │ │ ├── 6 │ │ │ │ └── 0607f785dfa3c3861b3239f6723eb276d8056461 │ │ │ └── 8 │ │ │ │ └── 08b7908864ba86d1227d79e46a01e73a9cf691fc │ │ ├── 1 │ │ │ └── 6 │ │ │ │ └── 16d30de439ac25ae937bc3580521a321a94cfd7b │ │ ├── 7 │ │ │ ├── 2 │ │ │ │ └── 7298af12de641402617affa52c7d123f79bbc7d8 │ │ │ └── d │ │ │ │ └── 7d4f96929e567caa3390d0acbb432eeeb3dd0c6d │ │ ├── 8 │ │ │ ├── 1 │ │ │ │ └── 816a83ed71f4f2c7feeeb2997ec85a3d8b5dd9dd │ │ │ ├── 9 │ │ │ │ └── 89113936e59829cbc71dc669d60f6329debccc8c │ │ │ └── e │ │ │ │ └── 8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d │ │ ├── c │ │ │ └── 6 │ │ │ │ └── c615147a096b922fba2201f0b86c00bfb5f88fdb │ │ ├── d │ │ │ └── 9 │ │ │ │ └── d90a87a58d1015173e8b29c0ba1e4cf208c203cf │ │ └── index.pb │ └── securityhotspotstore │ │ ├── 0 │ │ ├── 6 │ │ │ └── 0607f785dfa3c3861b3239f6723eb276d8056461 │ │ └── 8 │ │ │ └── 08b7908864ba86d1227d79e46a01e73a9cf691fc │ │ ├── 1 │ │ └── 6 │ │ │ └── 16d30de439ac25ae937bc3580521a321a94cfd7b │ │ ├── 7 │ │ ├── 2 │ │ │ └── 7298af12de641402617affa52c7d123f79bbc7d8 │ │ └── d │ │ │ └── 7d4f96929e567caa3390d0acbb432eeeb3dd0c6d │ │ ├── 8 │ │ ├── 1 │ │ │ └── 816a83ed71f4f2c7feeeb2997ec85a3d8b5dd9dd │ │ ├── 9 │ │ │ └── 89113936e59829cbc71dc669d60f6329debccc8c │ │ └── e │ │ │ └── 8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d │ │ ├── c │ │ └── 6 │ │ │ └── c615147a096b922fba2201f0b86c00bfb5f88fdb │ │ ├── d │ │ └── 9 │ │ │ └── d90a87a58d1015173e8b29c0ba1e4cf208c203cf │ │ └── index.pb └── vcs.xml ├── README.md ├── config └── application.yaml ├── controller ├── BaseRestController.go ├── CompletionsController.go └── IndexController.go ├── demo.png ├── go.mod ├── go.sum ├── html └── index.html ├── main.go ├── middleware ├── AuthMiddleware.go ├── CORSMiddleware.go └── RecoveryMiddleware.go ├── response └── response.go └── routes.go /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/ChatGPT-AI.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/.idea/ChatGPT-AI.iml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/0/6/0607f785dfa3c3861b3239f6723eb276d8056461: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/0/8/08b7908864ba86d1227d79e46a01e73a9cf691fc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/1/6/16d30de439ac25ae937bc3580521a321a94cfd7b: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/7/2/7298af12de641402617affa52c7d123f79bbc7d8: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/7/d/7d4f96929e567caa3390d0acbb432eeeb3dd0c6d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/8/1/816a83ed71f4f2c7feeeb2997ec85a3d8b5dd9dd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/8/9/89113936e59829cbc71dc669d60f6329debccc8c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/c/6/c615147a096b922fba2201f0b86c00bfb5f88fdb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/d/9/d90a87a58d1015173e8b29c0ba1e4cf208c203cf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/index.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/.idea/sonarlint/issuestore/index.pb -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/0/6/0607f785dfa3c3861b3239f6723eb276d8056461: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/0/8/08b7908864ba86d1227d79e46a01e73a9cf691fc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/1/6/16d30de439ac25ae937bc3580521a321a94cfd7b: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/7/2/7298af12de641402617affa52c7d123f79bbc7d8: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/7/d/7d4f96929e567caa3390d0acbb432eeeb3dd0c6d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/8/1/816a83ed71f4f2c7feeeb2997ec85a3d8b5dd9dd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/8/9/89113936e59829cbc71dc669d60f6329debccc8c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/c/6/c615147a096b922fba2201f0b86c00bfb5f88fdb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/d/9/d90a87a58d1015173e8b29c0ba1e4cf208c203cf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/sonarlint/securityhotspotstore/index.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/.idea/sonarlint/securityhotspotstore/index.pb -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/README.md -------------------------------------------------------------------------------- /config/application.yaml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8080 3 | -------------------------------------------------------------------------------- /controller/BaseRestController.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/controller/BaseRestController.go -------------------------------------------------------------------------------- /controller/CompletionsController.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/controller/CompletionsController.go -------------------------------------------------------------------------------- /controller/IndexController.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/controller/IndexController.go -------------------------------------------------------------------------------- /demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/demo.png -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/go.sum -------------------------------------------------------------------------------- /html/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/html/index.html -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/main.go -------------------------------------------------------------------------------- /middleware/AuthMiddleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/middleware/AuthMiddleware.go -------------------------------------------------------------------------------- /middleware/CORSMiddleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/middleware/CORSMiddleware.go -------------------------------------------------------------------------------- /middleware/RecoveryMiddleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/middleware/RecoveryMiddleware.go -------------------------------------------------------------------------------- /response/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/response/response.go -------------------------------------------------------------------------------- /routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilabx/ChatGPT-AI/HEAD/routes.go --------------------------------------------------------------------------------