Ver código fonte

Feat: add support for OpenAi gpt 4.1 series (#7540)

### What problem does this PR solve?

Adds support for the GPT-4.1 series from OpenAI.

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
tags/v0.19.0
Andrea 5 meses atrás
pai
commit
e39ceb2bd1
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 23 adições e 5 exclusões
  1. 23
    5
      conf/llm_factories.json

+ 23
- 5
conf/llm_factories.json Ver arquivo

@@ -6,6 +6,27 @@
"tags": "LLM,TEXT EMBEDDING,TTS,TEXT RE-RANK,SPEECH2TEXT,MODERATION",
"status": "1",
"llm": [
{
"llm_name": "gpt-4.1",
"tags": "LLM,CHAT,1M,IMAGE2TEXT",
"max_tokens": 1047576,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "gpt-4.1-mini",
"tags": "LLM,CHAT,1M,IMAGE2TEXT",
"max_tokens": 1047576,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "gpt-4.1-nano",
"tags": "LLM,CHAT,1M,IMAGE2TEXT",
"max_tokens": 1047576,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "gpt-4.5-preview",
"tags": "LLM,CHAT,128K",
@@ -569,7 +590,6 @@
"max_tokens": 64000,
"model_type": "chat",
"is_tools": true
},
{
"llm_name": "deepseek-reasoner",
@@ -1296,7 +1316,7 @@
"llm_name": "ibm/granite-guardian-3.0-8b",
"tags": "LLM,CHAT,128k",
"max_tokens": 131072,
"model_type": "chat"
"model_type": "chat"
},
{
"llm_name": "igenius / colosseum-355b_instruct_16k",
@@ -1829,8 +1849,6 @@
"max_tokens": 512,
"model_type": "embedding"
},


{
"llm_name": "adept/fuyu-8b",
"tags": "IMAGE2TEXT,1K",
@@ -3277,4 +3295,4 @@
"llm": []
}
]
}
}

Carregando…
Cancelar
Salvar