File size: 619 Bytes
c55f25f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# ==============================================================================
# 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):

    @abstractmethod
    def run(self) -> None: ...

    @abstractmethod
    def get(self) -> Any: ...