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