feat: RAG init

This commit is contained in:
Petr Mironychev
2025-01-26 17:51:01 +01:00
parent 1fa6a225a4
commit 5a426b4d9f
14 changed files with 726 additions and 4 deletions

View File

@ -198,6 +198,7 @@ ChatRootView {
}
attachFiles.onClicked: root.showAttachFilesDialog()
linkFiles.onClicked: root.showLinkFilesDialog()
testRag.onClicked: root.testRAG()
}
}

View File

@ -30,6 +30,7 @@ Rectangle {
property alias syncOpenFiles: syncOpenFilesId
property alias attachFiles: attachFilesId
property alias linkFiles: linkFilesId
property alias testRag: testRagId
color: palette.window.hslLightness > 0.5 ?
Qt.darker(palette.window, 1.1) :
@ -91,6 +92,12 @@ Rectangle {
ToolTip.text: qsTr("Automatically synchronize currently opened files with the model context")
}
QoAButton {
id: testRagId
text: qsTr("Test RAG")
}
Item {
Layout.fillWidth: true
}