Source code for swarmauri.core.llms.IPredict

from abc import ABC, abstractmethod

[docs] class IPredict(ABC): """ Interface focusing on the basic properties and settings essential for defining models. """
[docs] @abstractmethod def predict(self, *args, **kwargs) -> any: """ Generate predictions based on the input data provided to the model. """ pass