mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix(OpenAI Chat Model Node, Ollama Chat Model Node): Change default model to a more up-to-date option (#11293)
This commit is contained in:
parent
a13e142ee2
commit
0be04c6348
|
@ -79,7 +79,7 @@ export class EmbeddingsOpenAi implements INodeType {
|
|||
},
|
||||
],
|
||||
group: ['transform'],
|
||||
version: 1,
|
||||
version: [1, 1.1],
|
||||
description: 'Use Embeddings OpenAI',
|
||||
defaults: {
|
||||
name: 'Embeddings OpenAI',
|
||||
|
|
|
@ -128,7 +128,7 @@ export class LmChatOpenAi implements INodeType {
|
|||
property: 'model',
|
||||
},
|
||||
},
|
||||
default: 'gpt-3.5-turbo',
|
||||
default: 'gpt-4o-mini',
|
||||
},
|
||||
{
|
||||
displayName:
|
||||
|
|
|
@ -17,7 +17,7 @@ export const ollamaModel: INodeProperties = {
|
|||
displayName: 'Model',
|
||||
name: 'model',
|
||||
type: 'options',
|
||||
default: 'llama2',
|
||||
default: 'llama3.2',
|
||||
description:
|
||||
'The model which will generate the completion. To download models, visit <a href="https://ollama.ai/library">Ollama Models Library</a>.',
|
||||
typeOptions: {
|
||||
|
|
|
@ -26,7 +26,7 @@ type RunDetail = {
|
|||
options: SerializedSecret | SerializedNotImplemented | SerializedFields;
|
||||
};
|
||||
|
||||
const TIKTOKEN_ESTIMATE_MODEL = 'gpt-3.5-turbo';
|
||||
const TIKTOKEN_ESTIMATE_MODEL = 'gpt-4o';
|
||||
export class N8nLlmTracing extends BaseCallbackHandler {
|
||||
name = 'N8nLlmTracing';
|
||||
|
||||
|
|
Loading…
Reference in a new issue