Correct the use of abstractmethod (#80)

* Correct abstractmethod usage

* Update interface

* Specify minimal llama-index version [ignore cache]

* Update examples
This commit is contained in:
Nguyen Trung Duc (john)
2023-11-20 11:18:53 +07:00
committed by GitHub
parent 98509f886c
commit 0a3fc4b228
12 changed files with 33 additions and 37 deletions

View File

@@ -1,9 +1,9 @@
from abc import abstractmethod
from theflow.base import Compose
from theflow.base import Function
class BaseComponent(Compose):
class BaseComponent(Function):
"""A component is a class that can be used to compose a pipeline
Benefits of component: