The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
feat: Add ERNIE-Bot-8K model support for ErnieBotChat. (#13716)
Wang Weife9341a29caa
diff --git a/libs/langchain/langchain/chat_models/ernie.py b/libs/langchain/langchain/chat_models/ernie.pyindex e23002cd36..5b36548619 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-8K": "ernie_bot_8k","ERNIE-Bot-4": "completions_pro","BLOOMZ-7B": "bloomz_7b1","Llama-2-7b-chat": "llama_2_7b",