Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Support OpenAI gpt-4o and gpt-4o-mini for img2text (#4300)

petertcaccd3a6c7ee3
diff --git a/conf/llm_factories.json b/conf/llm_factories.json
index acd06ba679..2e04d94f1a 100644
--- a/conf/llm_factories.json
+++ b/conf/llm_factories.json
@@ -73,9 +73,15 @@
"model_type": "chat"
},
{
- "llm_name": "gpt-4-vision-preview",
+ "llm_name": "gpt-4o-2024-08-06",
"tags": "LLM,CHAT,IMAGE2TEXT",
- "max_tokens": 765,
+ "max_tokens": 128000,
+ "model_type": "image2text"
+ },
+ {
+ "llm_name": "gpt-4o-mini-2024-07-18",
+ "tags": "LLM,CHAT,IMAGE2TEXT",
+ "max_tokens": 128000,
"model_type": "image2text"
},
{