Download backend/agents/answer_agent.py from Prerna43/ai: direct link, hf CLI and curl.
- Browser
- Download file 174 Bytes
-
https://huggingface.co/spaces/Prerna43/ai/resolve/main/backend/agents/answer_agent.py
- Command line
-
hf download hf://spaces/Prerna43/ai/backend/agents/answer_agent.py
-
curl -L -o answer_agent.py https://huggingface.co/spaces/Prerna43/ai/resolve/main/backend/agents/answer_agent.py
174 Bytes
| from backend.services.query_service import query_service | |
| def answer(repo_id: str, question: str, top_k: int = 8): | |
| return query_service.answer(repo_id, question, top_k) | |