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:
committed by
GitHub
parent
98509f886c
commit
0a3fc4b228
@@ -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:
|
||||
|
Reference in New Issue
Block a user