Spaces:
Runtime error
Runtime error
tools.py
CHANGED
|
@@ -19,6 +19,9 @@ import json
|
|
| 19 |
from langchain_community.document_loaders import UnstructuredExcelLoader
|
| 20 |
from langchain_tavily import TavilySearch
|
| 21 |
from langchain.schema import Document
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
def excel_search(excel_path: str ) -> str:
|
| 24 |
"""Given the path to an excel file, return the excel file contents as raw text.
|
|
|
|
| 19 |
from langchain_community.document_loaders import UnstructuredExcelLoader
|
| 20 |
from langchain_tavily import TavilySearch
|
| 21 |
from langchain.schema import Document
|
| 22 |
+
from langchain_community.document_loaders import YoutubeLoader
|
| 23 |
+
from langchain_community.document_loaders import AssemblyAIAudioTranscriptLoader
|
| 24 |
+
|
| 25 |
|
| 26 |
def excel_search(excel_path: str ) -> str:
|
| 27 |
"""Given the path to an excel file, return the excel file contents as raw text.
|