Mohammad Haghir commited on
Commit ·
21d9d9d
1
Parent(s): 5f1c9ec
file handling
Browse files- agent_utils.py +1 -0
agent_utils.py
CHANGED
|
@@ -68,6 +68,7 @@ def tavily_ret(query: str, max_results: int = 3) -> str:
|
|
| 68 |
|
| 69 |
|
| 70 |
def handle_file_tool(input: dict) -> str:
|
|
|
|
| 71 |
question = input.get("question", "")
|
| 72 |
file_url = input.get("file", "")
|
| 73 |
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
def handle_file_tool(input: dict) -> str:
|
| 71 |
+
"""processes file attached to a question"""
|
| 72 |
question = input.get("question", "")
|
| 73 |
file_url = input.get("file", "")
|
| 74 |
|