Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
aiprovider_openai\aimodel\openai_base Interface Reference
Inheritance diagram for aiprovider_openai\aimodel\openai_base:
aiprovider_openai\aimodel\dalle3 aiprovider_openai\aimodel\gpt4o aiprovider_openai\aimodel\o1

Public Member Functions

 model_type ()
 Get model types.
 

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_openai\aimodel\openai_base::model_type ( )

Get model types.

Return values
arrayList of model types.

Implemented in aiprovider_openai\aimodel\dalle3, aiprovider_openai\aimodel\gpt4o, and aiprovider_openai\aimodel\o1.


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