feat: initial commit

This commit is contained in:
Zhiqiang Li
2023-03-24 15:12:01 +08:00
commit e025a0f9e0
13 changed files with 409 additions and 0 deletions

17
openai/vars.go Normal file
View File

@@ -0,0 +1,17 @@
package openai
import "github.com/imroc/req/v3"
const (
AuthHeaderKey = "api-key"
)
var (
AzureOpenAIEndpoint = ""
AzureOpenAIAPIVer = ""
AzureOpenAIDeploy = ""
ChatCompletionsUrl = ""
client = req.C()
)