diff --git a/client/web/discovery/package.json b/client/web/discovery/package.json index d349f16629..90dd015391 100644 --- a/client/web/discovery/package.json +++ b/client/web/discovery/package.json @@ -36,6 +36,7 @@ "vue": "2.7.16", "vue-native-websocket": "^2.0.15", "vue-router": "^3.4.9", + "vue-simple-markdown": "^1.1.5", "vue-split-panel": "^1.0.4", "vuex": "^3.6.2" }, diff --git a/client/web/discovery/src/components/Rag.vue b/client/web/discovery/src/components/Rag.vue new file mode 100644 index 0000000000..4cc67531fb --- /dev/null +++ b/client/web/discovery/src/components/Rag.vue @@ -0,0 +1,230 @@ + + + + + diff --git a/client/web/discovery/src/components/faIcons.js b/client/web/discovery/src/components/faIcons.js index d7abbd79b1..7453c51817 100644 --- a/client/web/discovery/src/components/faIcons.js +++ b/client/web/discovery/src/components/faIcons.js @@ -16,6 +16,8 @@ import { faEllipsisV, faCheck, faLocationCrosshairs, + faPaperPlane, + faRobot, } from '@fortawesome/free-solid-svg-icons' import { faQuestionCircle, @@ -49,4 +51,6 @@ library.add( faLocationCrosshairs, faEnvelope, faEnvelopeOpen, + faPaperPlane, + faRobot, ) diff --git a/client/web/discovery/src/components/rag/ChatInput.vue b/client/web/discovery/src/components/rag/ChatInput.vue new file mode 100644 index 0000000000..e9c219bf30 --- /dev/null +++ b/client/web/discovery/src/components/rag/ChatInput.vue @@ -0,0 +1,83 @@ +