add support for PerfXCloud (#1883)

### What problem does this PR solve?

#1853  add support for PerfXCloud

### 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-12 10:11:50 +08:00
committed by GitHub
parent fdd5b1b8cf
commit 9a6dc89156
6 changed files with 184 additions and 4 deletions

View File

@ -38,7 +38,8 @@ EmbeddingModel = {
"NVIDIA": NvidiaEmbed,
"LM-Studio": LmStudioEmbed,
"OpenAI-API-Compatible": OpenAI_APIEmbed,
"cohere": CoHereEmbed
"cohere": CoHereEmbed,
"PerfXCloud": PerfXCloudEmbed,
}
@ -84,7 +85,8 @@ ChatModel = {
"LM-Studio": LmStudioChat,
"OpenAI-API-Compatible": OpenAI_APIChat,
"cohere": CoHereChat,
"LeptonAI": LeptonAIChat
"LeptonAI": LeptonAIChat,
"PerfXCloud": PerfXCloudChat
}