DSPy: The framework for programming—not prompting—language models
Python
docs(adapters): fix the from_dict_list docstring parameter name (#10415)
陈志谦ee1e369e4e4d
diff --git a/dspy/adapters/types/tool.py b/dspy/adapters/types/tool.pyindex aaa31da31..f8124024c 100644--- a/dspy/adapters/types/tool.py+++ b/dspy/adapters/types/tool.py@@ -365,7 +365,7 @@ class ToolCalls(Type):"""Convert a list of dictionaries to a ToolCalls instance.Args:- dict_list: A list of dictionaries, where each dictionary should have 'name' and 'args' keys.+ tool_calls_dicts: A list of dictionaries, where each dictionary should have 'name' and 'args' keys.Returns:A ToolCalls instance.