[Doc] Improve api doc for DeepSeek (#31655)

- Add param in api doc
- Fix word spelling

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
ZhangShenao 2025-06-21 03:47:54 +08:00 committed by GitHub
parent 22e6d90937
commit 9d4d258162
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 dict
with 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: