feat: implement openai integration (#1245)

* feat: implement openai integration

* chore: update
This commit is contained in:
boojack
2023-03-04 18:22:10 +08:00
committed by GitHub
parent dd625d8edc
commit df04e852bf
14 changed files with 487 additions and 32 deletions

5
api/openai.go Normal file
View File

@ -0,0 +1,5 @@
package api
type OpenAICompletionRequest struct {
Prompt string `json:"prompt"`
}