feat: add audio processing helper functions and update Dockerfile

inspired by https://github.com/Laisky/one-api/pull/21
This commit is contained in:
Laisky.Cai
2025-01-08 02:35:38 +00:00
parent ddcd1295ff
commit c1a0471e73
4 changed files with 129 additions and 40 deletions

View File

@@ -338,6 +338,8 @@ var CompletionRatio = map[string]float64{
// aws llama3
"llama3-8b-8192(33)": 0.0006 / 0.0003,
"llama3-70b-8192(33)": 0.0035 / 0.00265,
// whisper
"whisper-1": 0, // only count input tokens
}
var (