removed some tools from LLMChain
Browse files
models.py
CHANGED
@@ -74,8 +74,7 @@ def load_chained_agent(verbose=True, model_name="text-davinci-003"):
|
|
74 |
llm = createLLM(model_name)
|
75 |
toolkit = [DuckDuckGoSearchRun()]
|
76 |
toolkit += load_tools(["serpapi", "open-meteo-api", "news-api",
|
77 |
-
"python_repl", "wolfram-alpha",
|
78 |
-
"pal-math", "pal-colored-objects"],
|
79 |
llm=llm,
|
80 |
serpapi_api_key=os.getenv('SERPAPI_API_KEY'),
|
81 |
news_api_key=os.getenv('NEWS_API_KEY'),
|
|
|
74 |
llm = createLLM(model_name)
|
75 |
toolkit = [DuckDuckGoSearchRun()]
|
76 |
toolkit += load_tools(["serpapi", "open-meteo-api", "news-api",
|
77 |
+
"python_repl", "wolfram-alpha"],
|
|
|
78 |
llm=llm,
|
79 |
serpapi_api_key=os.getenv('SERPAPI_API_KEY'),
|
80 |
news_api_key=os.getenv('NEWS_API_KEY'),
|