feat: support xunfei's llm (close #206)

This commit is contained in:
JustSong
2023-07-29 21:55:57 +08:00
parent 3e81d8af45
commit 8a866078b2
9 changed files with 363 additions and 43 deletions

View File

@@ -49,6 +49,7 @@ var ModelRatio = map[string]float64{
"chatglm_lite": 0.1429, // ¥0.002 / 1k tokens
"qwen-v1": 0.8572, // TBD: https://help.aliyun.com/document_detail/2399482.html?spm=a2c4g.2399482.0.0.1ad347feilAgag
"qwen-plus-v1": 0.5715, // Same as above
"SparkDesk": 0.8572, // TBD
}
func ModelRatio2JSONString() string {