Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
aiprovider_ollama\aimodel\ollama_base Interface Reference
Inheritance diagram for aiprovider_ollama\aimodel\ollama_base:
aiprovider_ollama\aimodel\llama33

Public Member Functions

 model_type ()
 Get model type.
 

Public Attributes

int const MODEL_TYPE_IMAGE = 2
 MODEL_TYPE_IMAGE Image model type.
 
int const MODEL_TYPE_TEXT = 1
 MODEL_TYPE_TEXT Text model type.
 

Member Function Documentation

◆ model_type()

aiprovider_ollama\aimodel\ollama_base::model_type ( )

Get model type.

Return values
intModel type.

Implemented in aiprovider_ollama\aimodel\llama33.


The documentation for this interface was generated from the following file: