├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── README.md ├── config.example.json ├── deploy └── geek.service ├── geekdemo ├── go.mod ├── go.sum ├── main.go ├── middleware ├── jwt.go └── openai.go ├── model ├── BasicUser.go ├── CicdLog.go ├── Geek.go ├── dto │ └── common.go └── init.go ├── myai ├── data │ ├── interview_01.txt │ ├── interview_02.txt │ ├── interview_3.txt │ ├── interview_4.txt │ └── interview_5.txt ├── fine-tuning │ ├── test.jsonl │ └── test_prepared.jsonl ├── main.py ├── test1.m4a └── whisper_m4a.ipynb ├── routes ├── chatApi.go ├── claudeApi.go ├── common.go ├── geekApi.go ├── logApi.go ├── routes.go └── userApi.go ├── service ├── cdlog │ └── cdlog.go ├── claude │ ├── message.go │ └── qdrant.go ├── geek │ └── geek.go ├── gpt │ ├── embedding.go │ ├── finetune.go │ ├── gpt.go │ ├── gpt4v.go │ └── qdrant.go └── user │ └── user.go ├── swagger.png ├── test.m4a ├── test.mp3 └── utils ├── config.go └── https.go /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | main 3 | geekdemo 4 | __debug_bin.exe 5 | config.json 6 | /docs 7 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/README.md -------------------------------------------------------------------------------- /config.example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/config.example.json -------------------------------------------------------------------------------- /deploy/geek.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/deploy/geek.service -------------------------------------------------------------------------------- /geekdemo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/geekdemo -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/main.go -------------------------------------------------------------------------------- /middleware/jwt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/middleware/jwt.go -------------------------------------------------------------------------------- /middleware/openai.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/middleware/openai.go -------------------------------------------------------------------------------- /model/BasicUser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/model/BasicUser.go -------------------------------------------------------------------------------- /model/CicdLog.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/model/CicdLog.go -------------------------------------------------------------------------------- /model/Geek.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/model/Geek.go -------------------------------------------------------------------------------- /model/dto/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/model/dto/common.go -------------------------------------------------------------------------------- /model/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/model/init.go -------------------------------------------------------------------------------- /myai/data/interview_01.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/data/interview_01.txt -------------------------------------------------------------------------------- /myai/data/interview_02.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/data/interview_02.txt -------------------------------------------------------------------------------- /myai/data/interview_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/data/interview_3.txt -------------------------------------------------------------------------------- /myai/data/interview_4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/data/interview_4.txt -------------------------------------------------------------------------------- /myai/data/interview_5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/data/interview_5.txt -------------------------------------------------------------------------------- /myai/fine-tuning/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/fine-tuning/test.jsonl -------------------------------------------------------------------------------- /myai/fine-tuning/test_prepared.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/fine-tuning/test_prepared.jsonl -------------------------------------------------------------------------------- /myai/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/main.py -------------------------------------------------------------------------------- /myai/test1.m4a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/test1.m4a -------------------------------------------------------------------------------- /myai/whisper_m4a.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/myai/whisper_m4a.ipynb -------------------------------------------------------------------------------- /routes/chatApi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/routes/chatApi.go -------------------------------------------------------------------------------- /routes/claudeApi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/routes/claudeApi.go -------------------------------------------------------------------------------- /routes/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/routes/common.go -------------------------------------------------------------------------------- /routes/geekApi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/routes/geekApi.go -------------------------------------------------------------------------------- /routes/logApi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/routes/logApi.go -------------------------------------------------------------------------------- /routes/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/routes/routes.go -------------------------------------------------------------------------------- /routes/userApi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/routes/userApi.go -------------------------------------------------------------------------------- /service/cdlog/cdlog.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/service/cdlog/cdlog.go -------------------------------------------------------------------------------- /service/claude/message.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/service/claude/message.go -------------------------------------------------------------------------------- /service/claude/qdrant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/service/claude/qdrant.go -------------------------------------------------------------------------------- /service/geek/geek.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/service/geek/geek.go -------------------------------------------------------------------------------- /service/gpt/embedding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/service/gpt/embedding.go -------------------------------------------------------------------------------- /service/gpt/finetune.go: -------------------------------------------------------------------------------- 1 | package service 2 | -------------------------------------------------------------------------------- /service/gpt/gpt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/service/gpt/gpt.go -------------------------------------------------------------------------------- /service/gpt/gpt4v.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/service/gpt/gpt4v.go -------------------------------------------------------------------------------- /service/gpt/qdrant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/service/gpt/qdrant.go -------------------------------------------------------------------------------- /service/user/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/service/user/user.go -------------------------------------------------------------------------------- /swagger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/swagger.png -------------------------------------------------------------------------------- /test.m4a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/test.m4a -------------------------------------------------------------------------------- /test.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/test.mp3 -------------------------------------------------------------------------------- /utils/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/utils/config.go -------------------------------------------------------------------------------- /utils/https.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aehyok/go-openai/HEAD/utils/https.go --------------------------------------------------------------------------------