llm not defined webqapage

pull/160/head
Kye 2 years ago
parent 26c13a7d0e
commit d2a814e570

@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup( setup(
name = 'swarms', name = 'swarms',
packages = find_packages(exclude=[]), packages = find_packages(exclude=[]),
version = '0.7.4', version = '0.7.5',
license='MIT', license='MIT',
description = 'Swarms - Pytorch', description = 'Swarms - Pytorch',
author = 'Kye Gomez', author = 'Kye Gomez',

@ -1,3 +1,3 @@
# from swarms.agents.workers import multimodal_agent_tool # from swarms.agents.workers import multimodal_agent_tool
from swarms.tools.main import process_csv, WebpageQATool, ReadFileTool, WriteFileTool, BaseTool, DuckDuckGoSearchRun from swarms.tools.main import process_csv, ReadFileTool, WriteFileTool, BaseTool, DuckDuckGoSearchRun
# Terminal, CodeWriter, CodeEditor # Terminal, CodeWriter, CodeEditor

@ -1552,7 +1552,7 @@ class WebpageQATool(BaseTool):
raise NotImplementedError raise NotImplementedError
query_website_tool = WebpageQATool(qa_chain=load_qa_with_sources_chain(llm)) # query_website_tool = WebpageQATool(qa_chain=load_qa_with_sources_chain(llm))
# !pip install duckduckgo_search # !pip install duckduckgo_search
web_search = DuckDuckGoSearchRun() web_search = DuckDuckGoSearchRun()

Loading…
Cancel
Save