Download rag/app/processors/processor.py from Zamax14/api_rag: direct link, hf CLI and curl.
- Browser
- Download file 619 Bytes
-
https://huggingface.co/spaces/Zamax14/api_rag/resolve/main/rag/app/processors/processor.py
- Command line
-
hf download hf://spaces/Zamax14/api_rag/rag/app/processors/processor.py
-
curl -L -o processor.py https://huggingface.co/spaces/Zamax14/api_rag/resolve/main/rag/app/processors/processor.py
619 Bytes
| # ============================================================================== | |
| # Project Name: RAG LLM | |
| # Script Name: processor.py | |
| # Authors: Abraham Sánchez, Ulises Moya, Alejandro Zarate | |
| # Description: | |
| # This Python application provides an API service that retrieves answers to | |
| # user queries based on the given context. | |
| # | |
| # License: MIT | |
| # ============================================================================== | |
| from abc import ABC, abstractmethod | |
| from typing import Any | |
| class Processor(ABC): | |
| def run(self) -> None: ... | |
| def get(self) -> Any: ... | |