mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-28 09:28:48 +00:00
[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:
parent
22e6d90937
commit
9d4d258162
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user