Class swarmauri_core.sst.IPredict.IPredict
swarmauri_core.sst.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/sst/IPredict.py
9 10 11 12 13 14 |
|
apredict
abstractmethod
async
apredict(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/sst/IPredict.py
16 17 18 19 20 21 |
|
stream
abstractmethod
stream(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/sst/IPredict.py
23 24 25 26 27 28 |
|
astream
abstractmethod
async
astream(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/sst/IPredict.py
30 31 32 33 34 35 |
|
batch
abstractmethod
batch(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/sst/IPredict.py
37 38 39 40 41 42 |
|
abatch
abstractmethod
async
abatch(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/sst/IPredict.py
44 45 46 47 48 49 |
|