feat: support Google PaLM2 (close #105)

This commit is contained in:
JustSong
2023-07-23 00:32:47 +08:00
parent fcc1e2d568
commit 8f721d67a5
6 changed files with 222 additions and 33 deletions

View File

@@ -306,6 +306,15 @@ func init() {
Root: "ERNIE-Bot-turbo",
Parent: nil,
},
{
Id: "PaLM-2",
Object: "model",
Created: 1677649963,
OwnedBy: "google",
Permission: permission,
Root: "PaLM-2",
Parent: nil,
},
}
openAIModelsMap = make(map[string]OpenAIModels)
for _, model := range openAIModels {