feat: support /v1/completions (close #115)

This commit is contained in:
JustSong committed 2023-06-08 14:54:02 +08:00
1 parent 2ab8dac764
commit 33cb8e4b8c
4 files changed
+100 -15

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ var ModelRatio = map[string]float64{
"gpt-4-0314": 15,
"gpt-4-32k": 30,
"gpt-4-32k-0314": 30,
"gpt-3.5-turbo": 1,
"gpt-3.5-turbo": 1, // $0.002 / 1K tokens
"gpt-3.5-turbo-0301": 1,
"text-ada-001": 0.2,
"text-babbage-001": 0.25,