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

@@ -41,6 +41,7 @@ var ModelRatio = map[string]float64{
"claude-2": 30,
"ERNIE-Bot": 1, // 0.012元/千tokens
"ERNIE-Bot-turbo": 0.67, // 0.008元/千tokens
"PaLM-2": 1,
}
func ModelRatio2JSONString() string {