forked from Shinonome/dots-hyprland
22 lines
605 B
QML
22 lines
605 B
QML
import QtQuick;
|
|
|
|
/**
|
|
* Represents a message in an AI conversation. (Kind of) follows the OpenAI API message structure.
|
|
*/
|
|
QtObject {
|
|
property string role
|
|
property string content
|
|
property string rawContent
|
|
property string model
|
|
property bool thinking: true
|
|
property bool done: false
|
|
property var annotations: []
|
|
property var annotationSources: []
|
|
property list<string> searchQueries: []
|
|
property string functionName
|
|
property var functionCall
|
|
property string functionResponse
|
|
property bool functionPending: false
|
|
property bool visibleToUser: true
|
|
}
|