feat: add chunking

This commit is contained in:
Petr Mironychev
2025-02-09 10:10:06 +01:00
parent 02101665ca
commit 5dfcf74128
9 changed files with 338 additions and 0 deletions

View File

@ -199,6 +199,7 @@ ChatRootView {
attachFiles.onClicked: root.showAttachFilesDialog()
linkFiles.onClicked: root.showLinkFilesDialog()
testRag.onClicked: root.testRAG(messageInput.text)
testChunks.onClicked: root.testChunking()
}
}

View File

@ -31,6 +31,7 @@ Rectangle {
property alias attachFiles: attachFilesId
property alias linkFiles: linkFilesId
property alias testRag: testRagId
property alias testChunks: testChunksId
color: palette.window.hslLightness > 0.5 ?
Qt.darker(palette.window, 1.1) :
@ -98,6 +99,12 @@ Rectangle {
text: qsTr("Test RAG")
}
QoAButton {
id: testChunksId
text: qsTr("Test Chunks")
}
Item {
Layout.fillWidth: true
}