Add Perplexity as Chat Completion source

This commit is contained in:
Cohee
2024-04-20 00:09:38 +03:00
parent 366e2abb8b
commit 2a2a63c52c
11 changed files with 132 additions and 9 deletions

View File

@ -163,6 +163,7 @@ const CHAT_COMPLETION_SOURCES = {
MISTRALAI: 'mistralai',
CUSTOM: 'custom',
COHERE: 'cohere',
PERPLEXITY: 'perplexity',
};
const UPLOADS_PATH = './uploads';