Merge pull request #23 from Swiftyos/add-gpt-4-turbo
feat(providers): add gpt-4-turbo provider
This commit is contained in:
commit
ab6cda690f
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue