Create hf_interface.py
Browse files- llm/hf_interface.py +8 -0
llm/hf_interface.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from abc import ABC, abstractmethod
|
2 |
+
|
3 |
+
|
4 |
+
class HFInterface(ABC):
|
5 |
+
@abstractmethod
|
6 |
+
def execution(self):
|
7 |
+
"""Method execution LLM model based on HuggingFace or Langchain"""
|
8 |
+
pass
|