Update tools.py
Browse files
tools.py
CHANGED
|
@@ -28,7 +28,7 @@ def make_tools(llm: BaseLanguageModel, api_keys: dict = {}, verbose=True, image
|
|
| 28 |
)
|
| 29 |
|
| 30 |
all_tools += [
|
| 31 |
-
|
| 32 |
|
| 33 |
rag(openai_api_key),
|
| 34 |
codewriter(llm=llm ,openai_api_key= openai_api_key),
|
|
@@ -63,11 +63,12 @@ def make_tools(llm: BaseLanguageModel, api_keys: dict = {}, verbose=True, image
|
|
| 63 |
all_tools += [WebSearch(serp_api_key)
|
| 64 |
]
|
| 65 |
if image_path is not None:
|
| 66 |
-
all_tools += [Imageanalysis(image_path
|
|
|
|
| 67 |
]
|
| 68 |
if file_path is not None:
|
| 69 |
-
all_tools += [pdfreader(file_path
|
| 70 |
-
]
|
| 71 |
|
| 72 |
return all_tools
|
| 73 |
|
|
|
|
| 28 |
)
|
| 29 |
|
| 30 |
all_tools += [
|
| 31 |
+
browseruse(openai_api_key),
|
| 32 |
|
| 33 |
rag(openai_api_key),
|
| 34 |
codewriter(llm=llm ,openai_api_key= openai_api_key),
|
|
|
|
| 63 |
all_tools += [WebSearch(serp_api_key)
|
| 64 |
]
|
| 65 |
if image_path is not None:
|
| 66 |
+
all_tools += [Imageanalysis(image_path),
|
| 67 |
+
|
| 68 |
]
|
| 69 |
if file_path is not None:
|
| 70 |
+
all_tools += [pdfreader(file_path),
|
| 71 |
+
]
|
| 72 |
|
| 73 |
return all_tools
|
| 74 |
|