Class swarmauri_core.ocrs.IPredict.IPredict
swarmauri_core.ocrs.IPredict.IPredict
Bases: ABC
Interface focusing on the basic properties and settings essential for defining models.
predict
abstractmethod
predict(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/ocrs/IPredict.py
10 11 12 13 14 15 |
|
apredict
abstractmethod
async
apredict(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/ocrs/IPredict.py
17 18 19 20 21 22 |
|
stream
abstractmethod
stream(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/ocrs/IPredict.py
24 25 26 27 28 29 |
|
astream
abstractmethod
async
astream(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/ocrs/IPredict.py
31 32 33 34 35 36 |
|
batch
abstractmethod
batch(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/ocrs/IPredict.py
38 39 40 41 42 43 |
|
abatch
abstractmethod
async
abatch(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/ocrs/IPredict.py
45 46 47 48 49 50 |
|