feat(providers): add gpt-4-turbo provider

This commit is contained in:
SwiftyOS 2024-04-29 10:49:15 +02:00
parent 9b5548e9f8
commit 639129848a
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ export const getAvailableProviders = async () => {
modelName: 'gpt-4', modelName: 'gpt-4',
temperature: 0.7, temperature: 0.7,
}), }),
'gpt-4-turbo': new ChatOpenAI({
openAIApiKey,
modelName: 'gpt-4-turbo',
temperature: 0.7,
}),
embeddings: new OpenAIEmbeddings({ embeddings: new OpenAIEmbeddings({
openAIApiKey, openAIApiKey,
modelName: 'text-embedding-3-large', modelName: 'text-embedding-3-large',