The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
[Doc] Improve api doc for DeepSeek (#31655)
ZhangShenao9d4d25816224
diff --git a/libs/partners/deepseek/langchain_deepseek/chat_models.py b/libs/partners/deepseek/langchain_deepseek/chat_models.pyindex 155b192c19..38cb095e90 100644--- a/libs/partners/deepseek/langchain_deepseek/chat_models.py+++ b/libs/partners/deepseek/langchain_deepseek/chat_models.py@@ -339,7 +339,7 @@ class ChatDeepSeek(BaseChatOpenAI):method: The method for steering model generation, one of:- "function_calling":- Uses DeekSeek's `tool-calling features <https://api-docs.deepseek.com/guides/function_calling>`_.+ Uses DeepSeek's `tool-calling features <https://api-docs.deepseek.com/guides/function_calling>`_.- "json_mode":Uses DeepSeek's `JSON mode feature <https://api-docs.deepseek.com/guides/json_mode>`_.@@ -355,6 +355,13 @@ class ChatDeepSeek(BaseChatOpenAI):will be caught and returned as well. The final output is always a dictwith keys "raw", "parsed", and "parsing_error".+ strict:+ Whether to enable strict schema adherence when generating the function+ call. This parameter is included for compatibility with other chat+ models, and if specified will be passed to the Chat Completions API+ in accordance with the OpenAI API specification. However, the DeepSeek+ API may ignore the parameter.+kwargs: Additional keyword args aren't supported.Returns: