Skip to content

Commit

Permalink
add docstring missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
lspinheiro committed Jan 11, 2025
1 parent 10e6777 commit 3034f8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class GlobalSearchTool(BaseTool[GlobalSearchToolArgs, GlobalSearchToolReturn]):
import asyncio
from autogen_ext.models.openai import OpenAIChatCompletionClient
from autogen_agentchat.messages import TextMessage
from autogen_ext.tools.graphrag import GlobalSearchTool
from autogen_agentchat.agents import AssistantAgent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class LocalSearchTool(BaseTool[LocalSearchToolArgs, LocalSearchToolReturn]):
import asyncio
from autogen_ext.models.openai import OpenAIChatCompletionClient
from autogen_agentchat.messages import TextMessage
from autogen_ext.tools.graphrag import LocalSearchTool
from autogen_agentchat.agents import AssistantAgent
Expand Down
1 change: 1 addition & 0 deletions python/samples/agentchat_graphrag/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ async def main(model_config: Dict[str, Any]) -> None:
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Run a GraphRAG search with an agent.")
parser.add_argument("--verbose", action="store_true", help="Enable verbose logging.")
# See agentchat_chainlit/model_config_template.json for model_config.json
parser.add_argument(
"--model-config", type=str, help="Path to the model configuration file.", default="model_config.json"
)
Expand Down

0 comments on commit 3034f8a

Please sign in to comment.