Skip to content

armgit / dspy

Public Imported from GitHub
0

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.py
index 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.