feat(providers): add gpt-4-turbo provider
This commit is contained in:
parent
9b5548e9f8
commit
639129848a
|
@ -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