Class swarmauri_core.tool_llms.IToolPredict.IToolPredict
swarmauri_core.tool_llms.IToolPredict.IToolPredict
Bases: ABC
Interface focusing on the basic properties and settings essential for defining models.
get_schema_converter
abstractmethod
get_schema_converter()
Source code in swarmauri_core/tool_llms/IToolPredict.py
13 14 15 | |
predict
abstractmethod
predict(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/tool_llms/IToolPredict.py
31 32 33 34 35 36 | |
apredict
abstractmethod
async
apredict(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/tool_llms/IToolPredict.py
38 39 40 41 42 43 | |
stream
abstractmethod
stream(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/tool_llms/IToolPredict.py
45 46 47 48 49 50 | |
astream
abstractmethod
async
astream(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/tool_llms/IToolPredict.py
52 53 54 55 56 57 | |
batch
abstractmethod
batch(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/tool_llms/IToolPredict.py
59 60 61 62 63 64 | |
abatch
abstractmethod
async
abatch(*args, **kwargs)
Generate predictions based on the input data provided to the model.
Source code in swarmauri_core/tool_llms/IToolPredict.py
66 67 68 69 70 71 | |