Skip to content

Class swarmauri_core.vlms.IPredictVision.IPredictVision

swarmauri_core.vlms.IPredictVision.IPredictVision

Bases: ABC

Interface focusing on the basic properties and settings essential for defining models.

predict_vision abstractmethod

predict_vision(*args, **kwargs)

Generate predictions based on the input data provided to the model.

Source code in swarmauri_core/vlms/IPredictVision.py
 9
10
11
12
13
14
@abstractmethod
def predict_vision(self, *args, **kwargs) -> any:
    """
    Generate predictions based on the input data provided to the model.
    """
    pass

apredict_vision abstractmethod async

apredict_vision(*args, **kwargs)

Generate predictions based on the input data provided to the model.

Source code in swarmauri_core/vlms/IPredictVision.py
16
17
18
19
20
21
@abstractmethod
async def apredict_vision(self, *args, **kwargs) -> any:
    """
    Generate predictions based on the input data provided to the model.
    """
    pass

batch abstractmethod

batch(*args, **kwargs)

Generate predictions based on the input data provided to the model.

Source code in swarmauri_core/vlms/IPredictVision.py
23
24
25
26
27
28
@abstractmethod
def batch(self, *args, **kwargs) -> any:
    """
    Generate predictions based on the input data provided to the model.
    """
    pass

abatch abstractmethod async

abatch(*args, **kwargs)

Generate predictions based on the input data provided to the model.

Source code in swarmauri_core/vlms/IPredictVision.py
30
31
32
33
34
35
@abstractmethod
async def abatch(self, *args, **kwargs) -> any:
    """
    Generate predictions based on the input data provided to the model.
    """
    pass