Spaces:
Sleeping
Sleeping
add import
Browse files
app.py
CHANGED
|
@@ -8,6 +8,7 @@ import os
|
|
| 8 |
from dotenv import load_dotenv
|
| 9 |
from llama_index.llms.huggingface_api import HuggingFaceInferenceAPI
|
| 10 |
from llama_index.core.agent.workflow import AgentWorkflow, ToolCallResult, AgentStream
|
|
|
|
| 11 |
from llama_index.core.agent.workflow import FunctionAgent
|
| 12 |
from llama_index.core.tools.tool_spec.load_and_search import (
|
| 13 |
LoadAndSearchToolSpec,
|
|
|
|
| 8 |
from dotenv import load_dotenv
|
| 9 |
from llama_index.llms.huggingface_api import HuggingFaceInferenceAPI
|
| 10 |
from llama_index.core.agent.workflow import AgentWorkflow, ToolCallResult, AgentStream
|
| 11 |
+
from llama_index.core.workflow import Context
|
| 12 |
from llama_index.core.agent.workflow import FunctionAgent
|
| 13 |
from llama_index.core.tools.tool_spec.load_and_search import (
|
| 14 |
LoadAndSearchToolSpec,
|