Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
YoanSallami committed Jun 13, 2024
1 parent 4de9499 commit 51cfc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/tools/custom-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class GreetTool(BaseTool):
# The tool always returns a dspy.Prediction with the tools's input and output to give to the system the
# possibility to enhance its reasoning by calling a tool multiple times.
return dspy.Prediction(
name = pred.answer
name = pred.name
message = message
)
else:
Expand Down

0 comments on commit 51cfc21

Please sign in to comment.