add support for Replicate (#1980)

### What problem does this PR solve?

#1853  add support for Replicate

### Type of change


- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: Zhedong Cen <cenzhedong2@126.com>
This commit is contained in:
黄腾
2024-08-19 10:36:57 +08:00
committed by GitHub
parent be5a67895e
commit 79426fc41f
10 changed files with 94 additions and 12 deletions

View File

@ -42,7 +42,8 @@ EmbeddingModel = {
"TogetherAI": TogetherAIEmbed,
"PerfXCloud": PerfXCloudEmbed,
"Upstage": UpstageEmbed,
"SILICONFLOW": SILICONFLOWEmbed
"SILICONFLOW": SILICONFLOWEmbed,
"Replicate": ReplicateEmbed
}
@ -96,7 +97,8 @@ ChatModel = {
"Upstage":UpstageChat,
"novita.ai": NovitaAIChat,
"SILICONFLOW": SILICONFLOWChat,
"01.AI": YiChat
"01.AI": YiChat,
"Replicate": ReplicateChat
}