Download backend/core/executor.py from Prerna43/bi_agent: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/Prerna43/bi_agent/resolve/main/backend/core/executor.py
- Command line
-
hf download hf://spaces/Prerna43/bi_agent/backend/core/executor.py
-
curl -L -o executor.py https://huggingface.co/spaces/Prerna43/bi_agent/resolve/main/backend/core/executor.py
300 Bytes
| from __future__ import annotations | |
| from backend.core.orchestrator import Orchestrator | |
| class Executor: | |
| def __init__(self, orchestrator: Orchestrator) -> None: | |
| self.orchestrator = orchestrator | |
| def execute(self, question: str) -> dict: | |
| return self.orchestrator.run(question) | |