From c91966bac1451f484cacfab079c0163e88ab2669 Mon Sep 17 00:00:00 2001 From: Kye Date: Sat, 22 Jul 2023 15:16:08 -0400 Subject: [PATCH] math tool Former-commit-id: 8961c6b1b19491f55c42cf0d2cb7fc2ec76048d6 --- setup.py | 2 +- swarms/swarms.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 007408ff..dba95e89 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name = 'swarms', packages = find_packages(exclude=[]), - version = '1.0.5', + version = '1.0.6', license='MIT', description = 'Swarms - Pytorch', author = 'Kye Gomez', diff --git a/swarms/swarms.py b/swarms/swarms.py index 2c8a477c..3cf4cdbd 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -138,10 +138,10 @@ class Swarms: #math tool llm_math_chain = LLMMathChain.from_llm(llm=llm, verbose=True) math_tool = Tool( - name="Calculator", - func=llm_math_chain.run, - description="useful for when you need to answer questions about math" - ), + name="Calculator", + func=llm_math_chain.run, + description="useful for when you need to answer questions about math" + ) tools = [ Tool(name="TODO", func=todo_chain.run, description="useful for when you need to come up with todo lists. Input: an objective to create a todo list for your objective. Note create a todo list then assign a ranking from 0.0 to 1.0 to each task, then sort the tasks based on the tasks most likely to achieve the objective. The Output: a todo list for that objective with rankings for each step from 0.1 Please be very clear what the objective is!"),