Merge pull request #27 from tkunstek/main

Fix typo preventing use of tool by Ollama models
This commit is contained in:
João Moura
2024-01-21 11:29:06 -03:00
committed by GitHub

View File

@@ -3,7 +3,7 @@ from langchain.tools import tool
class CalculatorTools():
@tool("Make a calcualtion")
@tool("Make a calculation")
def calculate(operation):
"""Useful to perform any mathematical calculations,
like sum, minus, multiplication, division, etc.