Former-commit-id: 2a02a44513
group-chat
Kye 1 year ago
parent adc0f24f10
commit 8a513b8f16

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry] [tool.poetry]
name = "swarms" name = "swarms"
version = "1.6.2" version = "1.6.3"
description = "Swarms - Pytorch" description = "Swarms - Pytorch"
license = "MIT" license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"] authors = ["Kye Gomez <kye@apac.ai>"]

@ -21,6 +21,8 @@ shapeless
agent-protocol agent-protocol
chromadb chromadb
exxa exxa
open-interpreter
mkdocs mkdocs
mkdocs-material mkdocs-material

@ -140,4 +140,11 @@ query_website_tool = WebpageQATool(qa_chain=load_qa_with_sources_chain(llm))
# # @tool # # @tool
# code_intepret = CodeInterpreter() # code_intepret = CodeInterpreter()
import interpreter
@tool
def compile(task: str):
task = interpreter.chat(task)
interpreter.chat()

@ -1,6 +1,6 @@
import interpreter import interpreter
def compile(task): def compile(task: str):
task = interpreter.chat(task) task = interpreter.chat(task)
interpreter.chat() interpreter.chat()

@ -12,6 +12,7 @@ from swarms.tools.autogpt import (
process_csv, process_csv,
# web_search, # web_search,
query_website_tool, query_website_tool,
compile
) )
from swarms.utils.decorators import error_decorator, log_decorator, timing_decorator from swarms.utils.decorators import error_decorator, log_decorator, timing_decorator
@ -78,6 +79,7 @@ class Worker:
#email #email
#pdf #pdf
# Tool(name="Goal Decomposition Tool", func=todo_chain.run, description="Use Case: Decompose ambitious goals into as many explicit and well defined tasks for an AI agent to follow. Rules and Regulations, don't use this tool too often only in the beginning when the user grants you a mission."), # Tool(name="Goal Decomposition Tool", func=todo_chain.run, description="Use Case: Decompose ambitious goals into as many explicit and well defined tasks for an AI agent to follow. Rules and Regulations, don't use this tool too often only in the beginning when the user grants you a mission."),
compile
] ]
if external_tools is not None: if external_tools is not None:
self.tools.extend(external_tools) self.tools.extend(external_tools)

Loading…
Cancel
Save