Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -5,7 +5,7 @@ from llama_index.llms.huggingface_api import HuggingFaceInferenceAPI
|
|
| 5 |
|
| 6 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
| 7 |
from langchain_community.document_loaders import WikipediaLoader
|
| 8 |
-
from llama_index.schema import Document
|
| 9 |
from langchain_community.tools.tavily_search import TavilySearchResults
|
| 10 |
from langchain_core.tools import tool
|
| 11 |
from llama_index.agents import AgentWorkflow
|
|
|
|
| 5 |
|
| 6 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
| 7 |
from langchain_community.document_loaders import WikipediaLoader
|
| 8 |
+
from llama_index.core.schema import Document
|
| 9 |
from langchain_community.tools.tavily_search import TavilySearchResults
|
| 10 |
from langchain_core.tools import tool
|
| 11 |
from llama_index.agents import AgentWorkflow
|