From 7cd57f3125ce60ed0d61bed1edf86409b1be7906 Mon Sep 17 00:00:00 2001 From: JustSong Date: Thu, 14 Mar 2024 23:36:10 +0800 Subject: [PATCH] chore: update ratio for baidu embedding --- common/model-ratio.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/model-ratio.go b/common/model-ratio.go index 044f4f80..4a1a0013 100644 --- a/common/model-ratio.go +++ b/common/model-ratio.go @@ -78,6 +78,9 @@ var ModelRatio = map[string]float64{ "ERNIE-Bot-4": 0.12 * RMB, // ¥0.12 / 1k tokens "ERNIE-Bot-8k": 0.024 * RMB, "Embedding-V1": 0.1429, // ¥0.002 / 1k tokens + "bge-large-zh": 0.002 * RMB, + "bge-large-en": 0.002 * RMB, + "bge-large-8k": 0.002 * RMB, "PaLM-2": 1, "gemini-pro": 1, // $0.00025 / 1k characters -> $0.001 / 1k tokens "gemini-pro-vision": 1, // $0.00025 / 1k characters -> $0.001 / 1k tokens