Update agent.py
Browse files
agent.py
CHANGED
@@ -42,7 +42,7 @@ from llama_index.readers.file import (
|
|
42 |
PandasExcelReader,
|
43 |
ImageReader,
|
44 |
)
|
45 |
-
from typing import List
|
46 |
from llama_index.core import VectorStoreIndex, Document, Settings
|
47 |
from llama_index.core.tools import QueryEngineTool
|
48 |
from llama_index.core.node_parser import SentenceWindowNodeParser, HierarchicalNodeParser
|
|
|
42 |
PandasExcelReader,
|
43 |
ImageReader,
|
44 |
)
|
45 |
+
from typing import List, Union
|
46 |
from llama_index.core import VectorStoreIndex, Document, Settings
|
47 |
from llama_index.core.tools import QueryEngineTool
|
48 |
from llama_index.core.node_parser import SentenceWindowNodeParser, HierarchicalNodeParser
|