On this page

Utils::AiTargetParameter Class

class Utils::AiTargetParameter

The AiTargetParameter class is an option of an AiTarget that the user sets for a request, such as the model. More...

Header: #include <aiassistance.h>

Public Types

enum Category { Model, Effort, Mode, Other }

Public Variables

Utils::AiTargetParameter::Category category
QList<Utils::AiParameterChoice> choices
QString defaultValue
QString displayName
QString id

Detailed Description

Member Type Documentation

enum AiTargetParameter::Category

This enum describes what a parameter is about.

ConstantValueDescription
Utils::AiTargetParameter::Model0The model that runs the request.
Utils::AiTargetParameter::Effort1How much effort, such as thinking, goes into the request.
Utils::AiTargetParameter::Mode2The mode that the target runs the request in.
Utils::AiTargetParameter::Other3Anything else.

Member Variable Documentation

Utils::AiTargetParameter::Category AiTargetParameter::category

What the parameter is about.

QList<Utils::AiParameterChoice> AiTargetParameter::choices

This variable holds the values that the user can choose.

QString AiTargetParameter::defaultValue

This variable holds the value of the choice that is used unless the user picks another.

QString AiTargetParameter::displayName

This variable holds the name that the user sees.

QString AiTargetParameter::id

Identifies the parameter in an AiTargetSelection.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.