|
int const | MODEL_TYPE_IMAGE = 2 |
| MODEL_TYPE_IMAGE Image model type.
|
|
int const | MODEL_TYPE_TEXT = 1 |
| MODEL_TYPE_TEXT Text model type.
|
|
◆ add_model_settings()
aiprovider_ollama\aimodel\llama33::add_model_settings |
( |
MoodleQuickForm | $mform | ) |
|
◆ get_model_display_name()
aiprovider_ollama\aimodel\llama33::get_model_display_name |
( |
| ) |
|
Get the display name of the model.
This name is used to display the model in the UI.
- Return values
-
string | The display name of the model. |
Reimplemented from core_ai\aimodel\base.
◆ get_model_name()
aiprovider_ollama\aimodel\llama33::get_model_name |
( |
| ) |
|
Get the name of the model.
This name is used to identify the model. The system will use this model name to make the request to the AI services.
- Return values
-
string | The name of the model. |
Reimplemented from core_ai\aimodel\base.
◆ get_model_settings()
aiprovider_ollama\aimodel\llama33::get_model_settings |
( |
| ) |
|
Get all settings that can be configured for a model.
- Return values
-
string[] | Array of settings. |
Reimplemented from core_ai\aimodel\base.
◆ has_model_settings()
core_ai\aimodel\base::has_model_settings |
( |
| ) |
|
|
inherited |
◆ model_type()
aiprovider_ollama\aimodel\llama33::model_type |
( |
| ) |
|
The documentation for this class was generated from the following file:
- ai/provider/ollama/classes/aimodel/llama33.php