Solobrad commited on
Commit
39dab7f
·
verified ·
1 Parent(s): 5ee9792

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +3 -3
agent.py CHANGED
@@ -1,13 +1,13 @@
1
- from llama_index.core.tools import FunctionTool
2
 
3
  from llama_index.llms.huggingface_api import HuggingFaceInferenceAPI
4
 
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.core.agent.workflow import AgentWorkflow
12
 
13
  llm = HuggingFaceInferenceAPI(model_name="Qwen/Qwen2.5-VL-32B-Instruct")
 
 
1
 
2
  from llama_index.llms.huggingface_api import HuggingFaceInferenceAPI
3
 
 
4
  from llama_index.embeddings.huggingface import HuggingFaceEmbedding
5
  from langchain_community.document_loaders import WikipediaLoader
6
+ from llama_index.core.schema import Metadata
7
  from llama_index.core.schema import Document
8
+ from llama_index.core.tools import FunctionTool
9
  from langchain_core.tools import tool
10
+ from langchain_community.tools.tavily_search import TavilySearchResults
11
  from llama_index.core.agent.workflow import AgentWorkflow
12
 
13
  llm = HuggingFaceInferenceAPI(model_name="Qwen/Qwen2.5-VL-32B-Instruct")