feat: support Tencent's model (close #519)

This commit is contained in:
JustSong
2023-10-03 14:19:03 +08:00
parent d663de3e3a
commit b4b4acc288
10 changed files with 375 additions and 26 deletions

View File

@@ -423,6 +423,15 @@ func init() {
Root: "semantic_similarity_s1_v1",
Parent: nil,
},
{
Id: "hunyuan",
Object: "model",
Created: 1677649963,
OwnedBy: "tencent",
Permission: permission,
Root: "hunyuan",
Parent: nil,
},
}
openAIModelsMap = make(map[string]OpenAIModels)
for _, model := range openAIModels {