feat: support baidu's embedding model (close #324)

This commit is contained in:
JustSong committed 2023-07-29 12:15:07 +08:00
1 parent 073446c0b6
commit 84f92ffa8e
5 files changed
+129 -4

No files matched your search

+9
View File
@@ -288,6 +288,15 @@ func init() {
Root: "ERNIE-Bot-turbo",
Parent: nil,
},
{
Id: "Embedding-V1",
Object: "model",
Created: 1677649963,
OwnedBy: "baidu",
Permission: permission,
Root: "Embedding-V1",
Parent: nil,
},
{
Id: "PaLM-2",
Object: "model",