Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
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: