The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Add ERNIE-Bot-4 model support for ErnieBotChat. (#11969)
Wang Weie26559f51247
diff --git a/libs/langchain/langchain/chat_models/ernie.py b/libs/langchain/langchain/chat_models/ernie.pyindex dd7c37ed96..bebfb37494 100644--- a/libs/langchain/langchain/chat_models/ernie.py+++ b/libs/langchain/langchain/chat_models/ernie.py@@ -107,6 +107,7 @@ class ErnieBotChat(BaseChatModel):model_paths = {"ERNIE-Bot-turbo": "eb-instant","ERNIE-Bot": "completions",+ "ERNIE-Bot-4": "completions_pro","BLOOMZ-7B": "bloomz_7b1","Llama-2-7b-chat": "llama_2_7b","Llama-2-13b-chat": "llama_2_13b",