From 2563e920449477ce39185474ade85d24aba4cea9 Mon Sep 17 00:00:00 2001
From: Abolfazl Shahbazi <12436063+ashahba@users.noreply.github.com>
Date: Fri, 8 Nov 2024 10:55:47 -0800
Subject: [PATCH 1/2] Fix missing end of file chars
Signed-off-by: Abolfazl Shahbazi <12436063+ashahba@users.noreply.github.com>
---
.github/code_spell_ignore.txt | 2 +-
.github/license_template.txt | 2 +-
.gitignore | 2 +-
.prettierignore | 2 +-
AudioQnA/ui/docker/Dockerfile | 2 +-
AudioQnA/ui/svelte/src/app.postcss | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/1.svg | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/2.svg | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/3.svg | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/4.svg | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/5.svg | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/stop-recording.svg | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/upload.svg | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/voice.svg | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOff.svg | 2 +-
AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOn.svg | 2 +-
AvatarChatbot/.gitignore | 2 +-
ChatQnA/ui/docker/Dockerfile | 2 +-
ChatQnA/ui/docker/Dockerfile.react | 2 +-
ChatQnA/ui/react/.env | 2 +-
ChatQnA/ui/react/.env.production | 2 +-
ChatQnA/ui/react/nginx.conf | 2 +-
ChatQnA/ui/react/public/vite.svg | 2 +-
ChatQnA/ui/react/src/assets/react.svg | 2 +-
ChatQnA/ui/react/src/components/Conversation/DataSource.tsx | 2 +-
ChatQnA/ui/react/src/components/UserInfoModal/UserInfoModal.tsx | 2 +-
ChatQnA/ui/svelte/src/app.postcss | 2 +-
ChatQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg | 2 +-
ChatQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg | 2 +-
ChatQnA/ui/svelte/tests/test_file.txt | 2 +-
CodeGen/ui/docker/Dockerfile | 2 +-
CodeGen/ui/docker/Dockerfile.react | 2 +-
CodeGen/ui/react/.env | 2 +-
CodeGen/ui/react/.env.production | 2 +-
CodeGen/ui/react/nginx.conf | 2 +-
.../ui/react/src/components/Shared/CodeRender/CodeRender.tsx | 2 +-
CodeGen/ui/react/src/components/Shared/Markdown/Markdown.tsx | 2 +-
CodeGen/ui/svelte/.prettierrc | 2 +-
CodeGen/ui/svelte/src/app.postcss | 2 +-
CodeTrans/ui/docker/Dockerfile | 2 +-
DBQnA/ui/react/nginx.conf | 2 +-
DBQnA/ui/react/src/logo.svg | 2 +-
DBQnA/ui/react/src/main.tsx | 2 +-
DocSum/ui/docker/Dockerfile | 2 +-
DocSum/ui/docker/Dockerfile.react | 2 +-
DocSum/ui/react/.env | 2 +-
DocSum/ui/react/nginx.conf | 2 +-
DocSum/ui/react/src/components/DocSum/DocSum.tsx | 2 +-
DocSum/ui/react/src/components/DocSum/FileUpload.tsx | 2 +-
DocSum/ui/react/src/components/Shared/CodeRender/CodeRender.tsx | 2 +-
DocSum/ui/react/src/components/Shared/Markdown/Markdown.tsx | 2 +-
EdgeCraftRAG/Dockerfile | 2 +-
EdgeCraftRAG/edgecraftrag/prompt_template/default_prompt.txt | 2 +-
EdgeCraftRAG/ui/docker/Dockerfile.ui | 2 +-
FaqGen/ui/docker/Dockerfile | 2 +-
FaqGen/ui/docker/Dockerfile.react | 2 +-
FaqGen/ui/react/nginx.conf | 2 +-
FaqGen/ui/react/public/vite.svg | 2 +-
FaqGen/ui/react/src/assets/react.svg | 2 +-
FaqGen/ui/react/src/components/FaqGen/FaqGen.tsx | 2 +-
FaqGen/ui/react/src/components/FaqGen/FileUpload.tsx | 2 +-
FaqGen/ui/react/src/components/Shared/CodeRender/CodeRender.tsx | 2 +-
FaqGen/ui/react/src/components/Shared/Markdown/Markdown.tsx | 2 +-
GraphRAG/ui/docker/Dockerfile | 2 +-
GraphRAG/ui/docker/Dockerfile.react | 2 +-
GraphRAG/ui/react/.env | 2 +-
GraphRAG/ui/react/.env.production | 2 +-
GraphRAG/ui/react/nginx.conf | 2 +-
GraphRAG/ui/react/public/vite.svg | 2 +-
GraphRAG/ui/react/src/assets/react.svg | 2 +-
GraphRAG/ui/react/src/components/Conversation/DataSource.tsx | 2 +-
.../ui/react/src/components/UserInfoModal/UserInfoModal.tsx | 2 +-
GraphRAG/ui/svelte/src/app.postcss | 2 +-
GraphRAG/ui/svelte/src/lib/assets/voice/svg/paste.svg | 2 +-
GraphRAG/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg | 2 +-
GraphRAG/ui/svelte/tests/test_file.txt | 2 +-
LICENSE | 2 +-
ProductivitySuite/ui/docker/Dockerfile.react | 2 +-
ProductivitySuite/ui/react/.env.production | 2 +-
ProductivitySuite/ui/react/nginx.conf | 2 +-
ProductivitySuite/ui/react/src/assets/react.svg | 2 +-
.../ui/react/src/components/Conversation/DataSource.tsx | 2 +-
.../ui/react/src/components/Conversation/PromptTemplate.tsx | 2 +-
.../ui/react/src/components/Conversation/settings.tsx | 2 +-
ProductivitySuite/ui/react/src/components/DocSum/DocSum.tsx | 2 +-
ProductivitySuite/ui/react/src/components/DocSum/FileUpload.tsx | 2 +-
ProductivitySuite/ui/react/src/components/FaqGen/FaqGen.tsx | 2 +-
ProductivitySuite/ui/react/src/components/FaqGen/FileUpload.tsx | 2 +-
.../ui/react/src/components/Shared/CodeRender/CodeRender.tsx | 2 +-
.../ui/react/src/components/Shared/Markdown/Markdown.tsx | 2 +-
SearchQnA/ui/docker/Dockerfile | 2 +-
SearchQnA/ui/svelte/.env | 2 +-
SearchQnA/ui/svelte/src/app.postcss | 2 +-
SearchQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg | 2 +-
SearchQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg | 2 +-
Text2Image/ui/docker/Dockerfile | 2 +-
Text2Image/ui/svelte/src/app.postcss | 2 +-
Translation/ui/svelte/.env | 2 +-
VideoQnA/ui/docker/Dockerfile | 2 +-
VisualQnA/ui/docker/Dockerfile | 2 +-
VisualQnA/ui/svelte/.env | 2 +-
VisualQnA/ui/svelte/src/app.postcss | 2 +-
VisualQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg | 2 +-
VisualQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg | 2 +-
104 files changed, 104 insertions(+), 104 deletions(-)
diff --git a/.github/code_spell_ignore.txt b/.github/code_spell_ignore.txt
index 047d573d2..4566d4f3a 100644
--- a/.github/code_spell_ignore.txt
+++ b/.github/code_spell_ignore.txt
@@ -1,2 +1,2 @@
ModelIn
-modelin
\ No newline at end of file
+modelin
diff --git a/.github/license_template.txt b/.github/license_template.txt
index b43bb9dc8..a0410374d 100644
--- a/.github/license_template.txt
+++ b/.github/license_template.txt
@@ -1,2 +1,2 @@
Copyright (C) 2024 Intel Corporation
-SPDX-License-Identifier: Apache-2.0
\ No newline at end of file
+SPDX-License-Identifier: Apache-2.0
diff --git a/.gitignore b/.gitignore
index 3a5650d21..8b736f831 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,4 +5,4 @@
**/playwright/.cache/
**/test-results/
-__pycache__/
\ No newline at end of file
+__pycache__/
diff --git a/.prettierignore b/.prettierignore
index 0978a006b..4ab09a93b 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1 +1 @@
-**/kubernetes/
\ No newline at end of file
+**/kubernetes/
diff --git a/AudioQnA/ui/docker/Dockerfile b/AudioQnA/ui/docker/Dockerfile
index ac2bb7da3..1d5115f4b 100644
--- a/AudioQnA/ui/docker/Dockerfile
+++ b/AudioQnA/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/AudioQnA/ui/svelte/src/app.postcss b/AudioQnA/ui/svelte/src/app.postcss
index c3e0519c6..4b957234d 100644
--- a/AudioQnA/ui/svelte/src/app.postcss
+++ b/AudioQnA/ui/svelte/src/app.postcss
@@ -79,4 +79,4 @@ a.btn {
.w-12\/12 {
width: 100%
-}
\ No newline at end of file
+}
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/1.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/1.svg
index 38adea6ff..71ac8d5fc 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/1.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/1.svg
@@ -89,4 +89,4 @@
-
\ No newline at end of file
+
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/2.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/2.svg
index 0e6150e4a..95d405658 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/2.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/2.svg
@@ -89,4 +89,4 @@
-
\ No newline at end of file
+
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/3.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/3.svg
index 3ed7f7fc5..310d437e5 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/3.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/3.svg
@@ -76,4 +76,4 @@
-
\ No newline at end of file
+
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/4.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/4.svg
index 2b34e86b0..f3281671d 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/4.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/4.svg
@@ -76,4 +76,4 @@
-
\ No newline at end of file
+
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/5.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/5.svg
index 718f3b304..8a5864192 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/5.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/5.svg
@@ -89,4 +89,4 @@
-
\ No newline at end of file
+
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/stop-recording.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/stop-recording.svg
index 4f4e638ba..82e497ab0 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/stop-recording.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/stop-recording.svg
@@ -3,4 +3,4 @@
-
\ No newline at end of file
+
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/upload.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/upload.svg
index 55790f05f..5264818eb 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/upload.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/upload.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voice.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voice.svg
index 0cc1d520e..2d1375e1a 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voice.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voice.svg
@@ -6,4 +6,4 @@
-
\ No newline at end of file
+
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOff.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOff.svg
index 8161062a4..fe9b59ee8 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOff.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOff.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOn.svg b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOn.svg
index aeb96fabe..eca1441d1 100644
--- a/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOn.svg
+++ b/AudioQnA/ui/svelte/src/lib/assets/icons/svg/voiceOn.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/AvatarChatbot/.gitignore b/AvatarChatbot/.gitignore
index d7593f774..84dc2308b 100644
--- a/AvatarChatbot/.gitignore
+++ b/AvatarChatbot/.gitignore
@@ -5,4 +5,4 @@
docker_compose/intel/cpu/xeon/data
docker_compose/intel/hpu/gaudi/data
inputs/
-outputs/
\ No newline at end of file
+outputs/
diff --git a/ChatQnA/ui/docker/Dockerfile b/ChatQnA/ui/docker/Dockerfile
index ac2bb7da3..1d5115f4b 100644
--- a/ChatQnA/ui/docker/Dockerfile
+++ b/ChatQnA/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/ChatQnA/ui/docker/Dockerfile.react b/ChatQnA/ui/docker/Dockerfile.react
index 49bc13124..18afc393a 100644
--- a/ChatQnA/ui/docker/Dockerfile.react
+++ b/ChatQnA/ui/docker/Dockerfile.react
@@ -18,4 +18,4 @@ COPY --from=vite-app /usr/app/react/dist /usr/share/nginx/html
COPY ./react/env.sh /docker-entrypoint.d/env.sh
COPY ./react/nginx.conf /etc/nginx/conf.d/default.conf
-RUN chmod +x /docker-entrypoint.d/env.sh
\ No newline at end of file
+RUN chmod +x /docker-entrypoint.d/env.sh
diff --git a/ChatQnA/ui/react/.env b/ChatQnA/ui/react/.env
index e5d52f421..ae0bd3732 100644
--- a/ChatQnA/ui/react/.env
+++ b/ChatQnA/ui/react/.env
@@ -1,2 +1,2 @@
VITE_BACKEND_SERVICE_ENDPOINT=http://backend_address:8888/v1/chatqna
-VITE_DATA_PREP_SERVICE_URL=http://backend_address:6007/v1/dataprep
\ No newline at end of file
+VITE_DATA_PREP_SERVICE_URL=http://backend_address:6007/v1/dataprep
diff --git a/ChatQnA/ui/react/.env.production b/ChatQnA/ui/react/.env.production
index a46e1e385..9922d6012 100644
--- a/ChatQnA/ui/react/.env.production
+++ b/ChatQnA/ui/react/.env.production
@@ -1,2 +1,2 @@
VITE_BACKEND_SERVICE_ENDPOINT=APP_BACKEND_SERVICE_ENDPOINT
-VITE_DATA_PREP_SERVICE_URL=APP_DATA_PREP_SERVICE_URL
\ No newline at end of file
+VITE_DATA_PREP_SERVICE_URL=APP_DATA_PREP_SERVICE_URL
diff --git a/ChatQnA/ui/react/nginx.conf b/ChatQnA/ui/react/nginx.conf
index 00433fcda..01aef1275 100644
--- a/ChatQnA/ui/react/nginx.conf
+++ b/ChatQnA/ui/react/nginx.conf
@@ -17,4 +17,4 @@ server {
expires 1d;
}
}
-}
\ No newline at end of file
+}
diff --git a/ChatQnA/ui/react/public/vite.svg b/ChatQnA/ui/react/public/vite.svg
index e7b8dfb1b..ee9fadaf9 100644
--- a/ChatQnA/ui/react/public/vite.svg
+++ b/ChatQnA/ui/react/public/vite.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/ChatQnA/ui/react/src/assets/react.svg b/ChatQnA/ui/react/src/assets/react.svg
index 6c87de9bb..8e0e0f15c 100644
--- a/ChatQnA/ui/react/src/assets/react.svg
+++ b/ChatQnA/ui/react/src/assets/react.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/ChatQnA/ui/react/src/components/Conversation/DataSource.tsx b/ChatQnA/ui/react/src/components/Conversation/DataSource.tsx
index cb7b326c9..6f1b2ab06 100644
--- a/ChatQnA/ui/react/src/components/Conversation/DataSource.tsx
+++ b/ChatQnA/ui/react/src/components/Conversation/DataSource.tsx
@@ -68,4 +68,4 @@ export default function DataSource({ opened, onClose }: Props) {
)
-}
\ No newline at end of file
+}
diff --git a/ChatQnA/ui/react/src/components/UserInfoModal/UserInfoModal.tsx b/ChatQnA/ui/react/src/components/UserInfoModal/UserInfoModal.tsx
index 4d54180a4..4540bd4c9 100644
--- a/ChatQnA/ui/react/src/components/UserInfoModal/UserInfoModal.tsx
+++ b/ChatQnA/ui/react/src/components/UserInfoModal/UserInfoModal.tsx
@@ -45,4 +45,4 @@ const UserInfoModal = () => {
)
}
-export default UserInfoModal
\ No newline at end of file
+export default UserInfoModal
diff --git a/ChatQnA/ui/svelte/src/app.postcss b/ChatQnA/ui/svelte/src/app.postcss
index 1bb14630c..963bbca4e 100644
--- a/ChatQnA/ui/svelte/src/app.postcss
+++ b/ChatQnA/ui/svelte/src/app.postcss
@@ -83,4 +83,4 @@ a.btn {
.w-12\/12 {
width: 100%
-}
\ No newline at end of file
+}
diff --git a/ChatQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg b/ChatQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg
index 9fe89acc1..8910f0ea6 100644
--- a/ChatQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg
+++ b/ChatQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/ChatQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg b/ChatQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
index 362a6994e..9a77286a8 100644
--- a/ChatQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
+++ b/ChatQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/ChatQnA/ui/svelte/tests/test_file.txt b/ChatQnA/ui/svelte/tests/test_file.txt
index 93fc5da94..bfbd73c1c 100644
--- a/ChatQnA/ui/svelte/tests/test_file.txt
+++ b/ChatQnA/ui/svelte/tests/test_file.txt
@@ -101,4 +101,4 @@ Terms of Use
Privacy
Sitemap
Copyright © 2003 - 2023. All rights reserved.
-CTATECH-PROD2
\ No newline at end of file
+CTATECH-PROD2
diff --git a/CodeGen/ui/docker/Dockerfile b/CodeGen/ui/docker/Dockerfile
index ac2bb7da3..1d5115f4b 100644
--- a/CodeGen/ui/docker/Dockerfile
+++ b/CodeGen/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/CodeGen/ui/docker/Dockerfile.react b/CodeGen/ui/docker/Dockerfile.react
index 49bc13124..18afc393a 100644
--- a/CodeGen/ui/docker/Dockerfile.react
+++ b/CodeGen/ui/docker/Dockerfile.react
@@ -18,4 +18,4 @@ COPY --from=vite-app /usr/app/react/dist /usr/share/nginx/html
COPY ./react/env.sh /docker-entrypoint.d/env.sh
COPY ./react/nginx.conf /etc/nginx/conf.d/default.conf
-RUN chmod +x /docker-entrypoint.d/env.sh
\ No newline at end of file
+RUN chmod +x /docker-entrypoint.d/env.sh
diff --git a/CodeGen/ui/react/.env b/CodeGen/ui/react/.env
index c5a7e3cad..3ce78a405 100644
--- a/CodeGen/ui/react/.env
+++ b/CodeGen/ui/react/.env
@@ -1 +1 @@
-VITE_CODE_GEN_URL=http://ip_address:7778/v1/codegen
\ No newline at end of file
+VITE_CODE_GEN_URL=http://ip_address:7778/v1/codegen
diff --git a/CodeGen/ui/react/.env.production b/CodeGen/ui/react/.env.production
index d3851cd49..8e99e67f9 100644
--- a/CodeGen/ui/react/.env.production
+++ b/CodeGen/ui/react/.env.production
@@ -1 +1 @@
-VITE_CODE_GEN_URL=APP_CODE_GEN_URL
\ No newline at end of file
+VITE_CODE_GEN_URL=APP_CODE_GEN_URL
diff --git a/CodeGen/ui/react/nginx.conf b/CodeGen/ui/react/nginx.conf
index 00433fcda..01aef1275 100644
--- a/CodeGen/ui/react/nginx.conf
+++ b/CodeGen/ui/react/nginx.conf
@@ -17,4 +17,4 @@ server {
expires 1d;
}
}
-}
\ No newline at end of file
+}
diff --git a/CodeGen/ui/react/src/components/Shared/CodeRender/CodeRender.tsx b/CodeGen/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
index 479034cec..a21f7acc5 100644
--- a/CodeGen/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
+++ b/CodeGen/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
@@ -49,4 +49,4 @@ const CodeRender = ({ cleanCode, language, inline }:CodeRenderProps) => {
}
-export default CodeRender;
\ No newline at end of file
+export default CodeRender;
diff --git a/CodeGen/ui/react/src/components/Shared/Markdown/Markdown.tsx b/CodeGen/ui/react/src/components/Shared/Markdown/Markdown.tsx
index 6331c6d08..2726e14b2 100644
--- a/CodeGen/ui/react/src/components/Shared/Markdown/Markdown.tsx
+++ b/CodeGen/ui/react/src/components/Shared/Markdown/Markdown.tsx
@@ -59,4 +59,4 @@ const Markdown = ({ content }: MarkdownProps) => {
/>)
}
-export default Markdown;
\ No newline at end of file
+export default Markdown;
diff --git a/CodeGen/ui/svelte/.prettierrc b/CodeGen/ui/svelte/.prettierrc
index 3b2006102..d146ee2b2 100644
--- a/CodeGen/ui/svelte/.prettierrc
+++ b/CodeGen/ui/svelte/.prettierrc
@@ -10,4 +10,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/CodeGen/ui/svelte/src/app.postcss b/CodeGen/ui/svelte/src/app.postcss
index fa2438088..ae1c1623f 100644
--- a/CodeGen/ui/svelte/src/app.postcss
+++ b/CodeGen/ui/svelte/src/app.postcss
@@ -113,4 +113,4 @@ a.btn {
.w-12\/12 {
width: 100%
-}
\ No newline at end of file
+}
diff --git a/CodeTrans/ui/docker/Dockerfile b/CodeTrans/ui/docker/Dockerfile
index ac2bb7da3..1d5115f4b 100644
--- a/CodeTrans/ui/docker/Dockerfile
+++ b/CodeTrans/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/DBQnA/ui/react/nginx.conf b/DBQnA/ui/react/nginx.conf
index 00433fcda..01aef1275 100644
--- a/DBQnA/ui/react/nginx.conf
+++ b/DBQnA/ui/react/nginx.conf
@@ -17,4 +17,4 @@ server {
expires 1d;
}
}
-}
\ No newline at end of file
+}
diff --git a/DBQnA/ui/react/src/logo.svg b/DBQnA/ui/react/src/logo.svg
index 9dfc1c058..716947603 100644
--- a/DBQnA/ui/react/src/logo.svg
+++ b/DBQnA/ui/react/src/logo.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/DBQnA/ui/react/src/main.tsx b/DBQnA/ui/react/src/main.tsx
index a6695d54e..7f3e44154 100644
--- a/DBQnA/ui/react/src/main.tsx
+++ b/DBQnA/ui/react/src/main.tsx
@@ -10,4 +10,4 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
-)
\ No newline at end of file
+)
diff --git a/DocSum/ui/docker/Dockerfile b/DocSum/ui/docker/Dockerfile
index ac2bb7da3..1d5115f4b 100644
--- a/DocSum/ui/docker/Dockerfile
+++ b/DocSum/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/DocSum/ui/docker/Dockerfile.react b/DocSum/ui/docker/Dockerfile.react
index aa8f3fe78..945886465 100644
--- a/DocSum/ui/docker/Dockerfile.react
+++ b/DocSum/ui/docker/Dockerfile.react
@@ -21,4 +21,4 @@ EXPOSE 80
COPY --from=vite-app /usr/app/react/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=vite-app /usr/app/react/dist /usr/share/nginx/html
-ENTRYPOINT ["nginx", "-g", "daemon off;"]
\ No newline at end of file
+ENTRYPOINT ["nginx", "-g", "daemon off;"]
diff --git a/DocSum/ui/react/.env b/DocSum/ui/react/.env
index 88e4996a2..b25495154 100644
--- a/DocSum/ui/react/.env
+++ b/DocSum/ui/react/.env
@@ -1 +1 @@
-VITE_DOC_SUM_URL=http://backend_address:8888/v1/docsum
\ No newline at end of file
+VITE_DOC_SUM_URL=http://backend_address:8888/v1/docsum
diff --git a/DocSum/ui/react/nginx.conf b/DocSum/ui/react/nginx.conf
index 00433fcda..01aef1275 100644
--- a/DocSum/ui/react/nginx.conf
+++ b/DocSum/ui/react/nginx.conf
@@ -17,4 +17,4 @@ server {
expires 1d;
}
}
-}
\ No newline at end of file
+}
diff --git a/DocSum/ui/react/src/components/DocSum/DocSum.tsx b/DocSum/ui/react/src/components/DocSum/DocSum.tsx
index 9e7472c65..2fa9fd4a3 100644
--- a/DocSum/ui/react/src/components/DocSum/DocSum.tsx
+++ b/DocSum/ui/react/src/components/DocSum/DocSum.tsx
@@ -150,4 +150,4 @@ const DocSum = () => {
)
}
-export default DocSum
\ No newline at end of file
+export default DocSum
diff --git a/DocSum/ui/react/src/components/DocSum/FileUpload.tsx b/DocSum/ui/react/src/components/DocSum/FileUpload.tsx
index baa77670c..1790cfb16 100644
--- a/DocSum/ui/react/src/components/DocSum/FileUpload.tsx
+++ b/DocSum/ui/react/src/components/DocSum/FileUpload.tsx
@@ -64,4 +64,4 @@ export function FileUpload(props: Partial) {
);
-}
\ No newline at end of file
+}
diff --git a/DocSum/ui/react/src/components/Shared/CodeRender/CodeRender.tsx b/DocSum/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
index 479034cec..a21f7acc5 100644
--- a/DocSum/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
+++ b/DocSum/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
@@ -49,4 +49,4 @@ const CodeRender = ({ cleanCode, language, inline }:CodeRenderProps) => {
}
-export default CodeRender;
\ No newline at end of file
+export default CodeRender;
diff --git a/DocSum/ui/react/src/components/Shared/Markdown/Markdown.tsx b/DocSum/ui/react/src/components/Shared/Markdown/Markdown.tsx
index dc4b2d308..77471cd19 100644
--- a/DocSum/ui/react/src/components/Shared/Markdown/Markdown.tsx
+++ b/DocSum/ui/react/src/components/Shared/Markdown/Markdown.tsx
@@ -55,4 +55,4 @@ const Markdown = ({ content }: MarkdownProps) => {
/>)
}
-export default Markdown;
\ No newline at end of file
+export default Markdown;
diff --git a/EdgeCraftRAG/Dockerfile b/EdgeCraftRAG/Dockerfile
index a15136464..3c9711dea 100644
--- a/EdgeCraftRAG/Dockerfile
+++ b/EdgeCraftRAG/Dockerfile
@@ -25,4 +25,4 @@ USER user
RUN echo 'ulimit -S -n 999999' >> ~/.bashrc
-ENTRYPOINT ["python", "chatqna.py"]
\ No newline at end of file
+ENTRYPOINT ["python", "chatqna.py"]
diff --git a/EdgeCraftRAG/edgecraftrag/prompt_template/default_prompt.txt b/EdgeCraftRAG/edgecraftrag/prompt_template/default_prompt.txt
index aa57e6059..800d1fa2f 100644
--- a/EdgeCraftRAG/edgecraftrag/prompt_template/default_prompt.txt
+++ b/EdgeCraftRAG/edgecraftrag/prompt_template/default_prompt.txt
@@ -5,4 +5,4 @@
<|im_start|>System: Pay attention to your formatting of response. If you need to reference content from context, try to keep the formatting.<|im_end|>
<|im_start|>System: Try to summarize from the context, do some reasoning before response, then response. Make sure your response is logically sound and self-consistent.<|im_end|>
-<|im_start|>{input}
\ No newline at end of file
+<|im_start|>{input}
diff --git a/EdgeCraftRAG/ui/docker/Dockerfile.ui b/EdgeCraftRAG/ui/docker/Dockerfile.ui
index d8e5eec8e..46a14a6e9 100644
--- a/EdgeCraftRAG/ui/docker/Dockerfile.ui
+++ b/EdgeCraftRAG/ui/docker/Dockerfile.ui
@@ -20,4 +20,4 @@ USER user
RUN echo 'ulimit -S -n 999999' >> ~/.bashrc
-ENTRYPOINT ["python", "ecragui.py"]
\ No newline at end of file
+ENTRYPOINT ["python", "ecragui.py"]
diff --git a/FaqGen/ui/docker/Dockerfile b/FaqGen/ui/docker/Dockerfile
index ac2bb7da3..1d5115f4b 100644
--- a/FaqGen/ui/docker/Dockerfile
+++ b/FaqGen/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/FaqGen/ui/docker/Dockerfile.react b/FaqGen/ui/docker/Dockerfile.react
index 4e29136a6..734c6ba1d 100644
--- a/FaqGen/ui/docker/Dockerfile.react
+++ b/FaqGen/ui/docker/Dockerfile.react
@@ -17,4 +17,4 @@ EXPOSE 80
COPY --from=vite-app /usr/app/react/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=vite-app /usr/app/react/dist /usr/share/nginx/html
-ENTRYPOINT ["nginx", "-g", "daemon off;"]
\ No newline at end of file
+ENTRYPOINT ["nginx", "-g", "daemon off;"]
diff --git a/FaqGen/ui/react/nginx.conf b/FaqGen/ui/react/nginx.conf
index 00433fcda..01aef1275 100644
--- a/FaqGen/ui/react/nginx.conf
+++ b/FaqGen/ui/react/nginx.conf
@@ -17,4 +17,4 @@ server {
expires 1d;
}
}
-}
\ No newline at end of file
+}
diff --git a/FaqGen/ui/react/public/vite.svg b/FaqGen/ui/react/public/vite.svg
index e7b8dfb1b..ee9fadaf9 100644
--- a/FaqGen/ui/react/public/vite.svg
+++ b/FaqGen/ui/react/public/vite.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/FaqGen/ui/react/src/assets/react.svg b/FaqGen/ui/react/src/assets/react.svg
index 6c87de9bb..8e0e0f15c 100644
--- a/FaqGen/ui/react/src/assets/react.svg
+++ b/FaqGen/ui/react/src/assets/react.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/FaqGen/ui/react/src/components/FaqGen/FaqGen.tsx b/FaqGen/ui/react/src/components/FaqGen/FaqGen.tsx
index ca731cbf8..74f52d3ef 100644
--- a/FaqGen/ui/react/src/components/FaqGen/FaqGen.tsx
+++ b/FaqGen/ui/react/src/components/FaqGen/FaqGen.tsx
@@ -164,4 +164,4 @@ const FaqGen = () => {
)
}
-export default FaqGen;
\ No newline at end of file
+export default FaqGen;
diff --git a/FaqGen/ui/react/src/components/FaqGen/FileUpload.tsx b/FaqGen/ui/react/src/components/FaqGen/FileUpload.tsx
index 914ac8724..aa5d84a00 100644
--- a/FaqGen/ui/react/src/components/FaqGen/FileUpload.tsx
+++ b/FaqGen/ui/react/src/components/FaqGen/FileUpload.tsx
@@ -76,4 +76,4 @@ export function FileUpload(props: Partial) {
);
-}
\ No newline at end of file
+}
diff --git a/FaqGen/ui/react/src/components/Shared/CodeRender/CodeRender.tsx b/FaqGen/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
index 479034cec..a21f7acc5 100644
--- a/FaqGen/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
+++ b/FaqGen/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
@@ -49,4 +49,4 @@ const CodeRender = ({ cleanCode, language, inline }:CodeRenderProps) => {
}
-export default CodeRender;
\ No newline at end of file
+export default CodeRender;
diff --git a/FaqGen/ui/react/src/components/Shared/Markdown/Markdown.tsx b/FaqGen/ui/react/src/components/Shared/Markdown/Markdown.tsx
index 64f624bc6..653ac4b02 100644
--- a/FaqGen/ui/react/src/components/Shared/Markdown/Markdown.tsx
+++ b/FaqGen/ui/react/src/components/Shared/Markdown/Markdown.tsx
@@ -58,4 +58,4 @@ const Markdown = ({ content }: MarkdownProps) => {
/>)
}
-export default Markdown;
\ No newline at end of file
+export default Markdown;
diff --git a/GraphRAG/ui/docker/Dockerfile b/GraphRAG/ui/docker/Dockerfile
index ef034e67c..c609e0d64 100644
--- a/GraphRAG/ui/docker/Dockerfile
+++ b/GraphRAG/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/GraphRAG/ui/docker/Dockerfile.react b/GraphRAG/ui/docker/Dockerfile.react
index 9c4eff842..a92dba7d8 100644
--- a/GraphRAG/ui/docker/Dockerfile.react
+++ b/GraphRAG/ui/docker/Dockerfile.react
@@ -16,4 +16,4 @@ COPY --from=vite-app /usr/app/react/dist /usr/share/nginx/html
COPY ./react/env.sh /docker-entrypoint.d/env.sh
COPY ./react/nginx.conf /etc/nginx/conf.d/default.conf
-RUN chmod +x /docker-entrypoint.d/env.sh
\ No newline at end of file
+RUN chmod +x /docker-entrypoint.d/env.sh
diff --git a/GraphRAG/ui/react/.env b/GraphRAG/ui/react/.env
index e5d52f421..ae0bd3732 100644
--- a/GraphRAG/ui/react/.env
+++ b/GraphRAG/ui/react/.env
@@ -1,2 +1,2 @@
VITE_BACKEND_SERVICE_ENDPOINT=http://backend_address:8888/v1/chatqna
-VITE_DATA_PREP_SERVICE_URL=http://backend_address:6007/v1/dataprep
\ No newline at end of file
+VITE_DATA_PREP_SERVICE_URL=http://backend_address:6007/v1/dataprep
diff --git a/GraphRAG/ui/react/.env.production b/GraphRAG/ui/react/.env.production
index a46e1e385..9922d6012 100644
--- a/GraphRAG/ui/react/.env.production
+++ b/GraphRAG/ui/react/.env.production
@@ -1,2 +1,2 @@
VITE_BACKEND_SERVICE_ENDPOINT=APP_BACKEND_SERVICE_ENDPOINT
-VITE_DATA_PREP_SERVICE_URL=APP_DATA_PREP_SERVICE_URL
\ No newline at end of file
+VITE_DATA_PREP_SERVICE_URL=APP_DATA_PREP_SERVICE_URL
diff --git a/GraphRAG/ui/react/nginx.conf b/GraphRAG/ui/react/nginx.conf
index 00433fcda..01aef1275 100644
--- a/GraphRAG/ui/react/nginx.conf
+++ b/GraphRAG/ui/react/nginx.conf
@@ -17,4 +17,4 @@ server {
expires 1d;
}
}
-}
\ No newline at end of file
+}
diff --git a/GraphRAG/ui/react/public/vite.svg b/GraphRAG/ui/react/public/vite.svg
index e7b8dfb1b..ee9fadaf9 100644
--- a/GraphRAG/ui/react/public/vite.svg
+++ b/GraphRAG/ui/react/public/vite.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/GraphRAG/ui/react/src/assets/react.svg b/GraphRAG/ui/react/src/assets/react.svg
index 6c87de9bb..8e0e0f15c 100644
--- a/GraphRAG/ui/react/src/assets/react.svg
+++ b/GraphRAG/ui/react/src/assets/react.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/GraphRAG/ui/react/src/components/Conversation/DataSource.tsx b/GraphRAG/ui/react/src/components/Conversation/DataSource.tsx
index cb7b326c9..6f1b2ab06 100644
--- a/GraphRAG/ui/react/src/components/Conversation/DataSource.tsx
+++ b/GraphRAG/ui/react/src/components/Conversation/DataSource.tsx
@@ -68,4 +68,4 @@ export default function DataSource({ opened, onClose }: Props) {
)
-}
\ No newline at end of file
+}
diff --git a/GraphRAG/ui/react/src/components/UserInfoModal/UserInfoModal.tsx b/GraphRAG/ui/react/src/components/UserInfoModal/UserInfoModal.tsx
index 4d54180a4..4540bd4c9 100644
--- a/GraphRAG/ui/react/src/components/UserInfoModal/UserInfoModal.tsx
+++ b/GraphRAG/ui/react/src/components/UserInfoModal/UserInfoModal.tsx
@@ -45,4 +45,4 @@ const UserInfoModal = () => {
)
}
-export default UserInfoModal
\ No newline at end of file
+export default UserInfoModal
diff --git a/GraphRAG/ui/svelte/src/app.postcss b/GraphRAG/ui/svelte/src/app.postcss
index 1bb14630c..963bbca4e 100644
--- a/GraphRAG/ui/svelte/src/app.postcss
+++ b/GraphRAG/ui/svelte/src/app.postcss
@@ -83,4 +83,4 @@ a.btn {
.w-12\/12 {
width: 100%
-}
\ No newline at end of file
+}
diff --git a/GraphRAG/ui/svelte/src/lib/assets/voice/svg/paste.svg b/GraphRAG/ui/svelte/src/lib/assets/voice/svg/paste.svg
index 9fe89acc1..8910f0ea6 100644
--- a/GraphRAG/ui/svelte/src/lib/assets/voice/svg/paste.svg
+++ b/GraphRAG/ui/svelte/src/lib/assets/voice/svg/paste.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/GraphRAG/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg b/GraphRAG/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
index 362a6994e..9a77286a8 100644
--- a/GraphRAG/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
+++ b/GraphRAG/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/GraphRAG/ui/svelte/tests/test_file.txt b/GraphRAG/ui/svelte/tests/test_file.txt
index 93fc5da94..bfbd73c1c 100644
--- a/GraphRAG/ui/svelte/tests/test_file.txt
+++ b/GraphRAG/ui/svelte/tests/test_file.txt
@@ -101,4 +101,4 @@ Terms of Use
Privacy
Sitemap
Copyright © 2003 - 2023. All rights reserved.
-CTATECH-PROD2
\ No newline at end of file
+CTATECH-PROD2
diff --git a/LICENSE b/LICENSE
index 2bb9ad240..d9a10c0d8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -173,4 +173,4 @@
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
- END OF TERMS AND CONDITIONS
\ No newline at end of file
+ END OF TERMS AND CONDITIONS
diff --git a/ProductivitySuite/ui/docker/Dockerfile.react b/ProductivitySuite/ui/docker/Dockerfile.react
index f023b7afb..4c4d72761 100644
--- a/ProductivitySuite/ui/docker/Dockerfile.react
+++ b/ProductivitySuite/ui/docker/Dockerfile.react
@@ -18,4 +18,4 @@ COPY --from=vite-app /usr/app/react/dist /usr/share/nginx/html
COPY ./react/env.sh /docker-entrypoint.d/env.sh
COPY ./react/nginx.conf /etc/nginx/conf.d/default.conf
-RUN chmod +x /docker-entrypoint.d/env.sh
\ No newline at end of file
+RUN chmod +x /docker-entrypoint.d/env.sh
diff --git a/ProductivitySuite/ui/react/.env.production b/ProductivitySuite/ui/react/.env.production
index a7b38a272..f881c388c 100644
--- a/ProductivitySuite/ui/react/.env.production
+++ b/ProductivitySuite/ui/react/.env.production
@@ -13,4 +13,4 @@ VITE_CHAT_HISTORY_CREATE_ENDPOINT=APP_CHAT_HISTORY_CREATE_ENDPOINT
VITE_CHAT_HISTORY_GET_ENDPOINT=APP_CHAT_HISTORY_GET_ENDPOINT
VITE_CHAT_HISTORY_DELETE_ENDPOINT=APP_CHAT_HISTORY_DELETE_ENDPOINT
VITE_PROMPT_SERVICE_GET_ENDPOINT=APP_PROMPT_SERVICE_GET_ENDPOINT
-VITE_PROMPT_SERVICE_CREATE_ENDPOINT=APP_PROMPT_SERVICE_CREATE_ENDPOINT
\ No newline at end of file
+VITE_PROMPT_SERVICE_CREATE_ENDPOINT=APP_PROMPT_SERVICE_CREATE_ENDPOINT
diff --git a/ProductivitySuite/ui/react/nginx.conf b/ProductivitySuite/ui/react/nginx.conf
index 00433fcda..01aef1275 100644
--- a/ProductivitySuite/ui/react/nginx.conf
+++ b/ProductivitySuite/ui/react/nginx.conf
@@ -17,4 +17,4 @@ server {
expires 1d;
}
}
-}
\ No newline at end of file
+}
diff --git a/ProductivitySuite/ui/react/src/assets/react.svg b/ProductivitySuite/ui/react/src/assets/react.svg
index 6c87de9bb..8e0e0f15c 100644
--- a/ProductivitySuite/ui/react/src/assets/react.svg
+++ b/ProductivitySuite/ui/react/src/assets/react.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/ProductivitySuite/ui/react/src/components/Conversation/DataSource.tsx b/ProductivitySuite/ui/react/src/components/Conversation/DataSource.tsx
index cc273aa83..72575af06 100644
--- a/ProductivitySuite/ui/react/src/components/Conversation/DataSource.tsx
+++ b/ProductivitySuite/ui/react/src/components/Conversation/DataSource.tsx
@@ -90,4 +90,4 @@ export default function DataSource() {
)
-}
\ No newline at end of file
+}
diff --git a/ProductivitySuite/ui/react/src/components/Conversation/PromptTemplate.tsx b/ProductivitySuite/ui/react/src/components/Conversation/PromptTemplate.tsx
index 4acb55743..723e1c429 100644
--- a/ProductivitySuite/ui/react/src/components/Conversation/PromptTemplate.tsx
+++ b/ProductivitySuite/ui/react/src/components/Conversation/PromptTemplate.tsx
@@ -28,4 +28,4 @@ function PromptTemplate({setPrompt}:PromptTemplateProps) {
)
}
-export default PromptTemplate
\ No newline at end of file
+export default PromptTemplate
diff --git a/ProductivitySuite/ui/react/src/components/Conversation/settings.tsx b/ProductivitySuite/ui/react/src/components/Conversation/settings.tsx
index 61fd87e9b..bb9468413 100644
--- a/ProductivitySuite/ui/react/src/components/Conversation/settings.tsx
+++ b/ProductivitySuite/ui/react/src/components/Conversation/settings.tsx
@@ -45,4 +45,4 @@ function Settings() {
)
}
-export default Settings
\ No newline at end of file
+export default Settings
diff --git a/ProductivitySuite/ui/react/src/components/DocSum/DocSum.tsx b/ProductivitySuite/ui/react/src/components/DocSum/DocSum.tsx
index 9e7472c65..2fa9fd4a3 100644
--- a/ProductivitySuite/ui/react/src/components/DocSum/DocSum.tsx
+++ b/ProductivitySuite/ui/react/src/components/DocSum/DocSum.tsx
@@ -150,4 +150,4 @@ const DocSum = () => {
)
}
-export default DocSum
\ No newline at end of file
+export default DocSum
diff --git a/ProductivitySuite/ui/react/src/components/DocSum/FileUpload.tsx b/ProductivitySuite/ui/react/src/components/DocSum/FileUpload.tsx
index 914ac8724..aa5d84a00 100644
--- a/ProductivitySuite/ui/react/src/components/DocSum/FileUpload.tsx
+++ b/ProductivitySuite/ui/react/src/components/DocSum/FileUpload.tsx
@@ -76,4 +76,4 @@ export function FileUpload(props: Partial) {
);
-}
\ No newline at end of file
+}
diff --git a/ProductivitySuite/ui/react/src/components/FaqGen/FaqGen.tsx b/ProductivitySuite/ui/react/src/components/FaqGen/FaqGen.tsx
index ca731cbf8..74f52d3ef 100644
--- a/ProductivitySuite/ui/react/src/components/FaqGen/FaqGen.tsx
+++ b/ProductivitySuite/ui/react/src/components/FaqGen/FaqGen.tsx
@@ -164,4 +164,4 @@ const FaqGen = () => {
)
}
-export default FaqGen;
\ No newline at end of file
+export default FaqGen;
diff --git a/ProductivitySuite/ui/react/src/components/FaqGen/FileUpload.tsx b/ProductivitySuite/ui/react/src/components/FaqGen/FileUpload.tsx
index 914ac8724..aa5d84a00 100644
--- a/ProductivitySuite/ui/react/src/components/FaqGen/FileUpload.tsx
+++ b/ProductivitySuite/ui/react/src/components/FaqGen/FileUpload.tsx
@@ -76,4 +76,4 @@ export function FileUpload(props: Partial) {
);
-}
\ No newline at end of file
+}
diff --git a/ProductivitySuite/ui/react/src/components/Shared/CodeRender/CodeRender.tsx b/ProductivitySuite/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
index 479034cec..a21f7acc5 100644
--- a/ProductivitySuite/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
+++ b/ProductivitySuite/ui/react/src/components/Shared/CodeRender/CodeRender.tsx
@@ -49,4 +49,4 @@ const CodeRender = ({ cleanCode, language, inline }:CodeRenderProps) => {
}
-export default CodeRender;
\ No newline at end of file
+export default CodeRender;
diff --git a/ProductivitySuite/ui/react/src/components/Shared/Markdown/Markdown.tsx b/ProductivitySuite/ui/react/src/components/Shared/Markdown/Markdown.tsx
index 6331c6d08..2726e14b2 100644
--- a/ProductivitySuite/ui/react/src/components/Shared/Markdown/Markdown.tsx
+++ b/ProductivitySuite/ui/react/src/components/Shared/Markdown/Markdown.tsx
@@ -59,4 +59,4 @@ const Markdown = ({ content }: MarkdownProps) => {
/>)
}
-export default Markdown;
\ No newline at end of file
+export default Markdown;
diff --git a/SearchQnA/ui/docker/Dockerfile b/SearchQnA/ui/docker/Dockerfile
index ac2bb7da3..1d5115f4b 100644
--- a/SearchQnA/ui/docker/Dockerfile
+++ b/SearchQnA/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/SearchQnA/ui/svelte/.env b/SearchQnA/ui/svelte/.env
index 89db8c467..49f7b9dd5 100644
--- a/SearchQnA/ui/svelte/.env
+++ b/SearchQnA/ui/svelte/.env
@@ -1 +1 @@
-BACKEND_BASE_URL = 'http://backend_address:3008/v1/searchqna'
\ No newline at end of file
+BACKEND_BASE_URL = 'http://backend_address:3008/v1/searchqna'
diff --git a/SearchQnA/ui/svelte/src/app.postcss b/SearchQnA/ui/svelte/src/app.postcss
index 1bb14630c..963bbca4e 100644
--- a/SearchQnA/ui/svelte/src/app.postcss
+++ b/SearchQnA/ui/svelte/src/app.postcss
@@ -83,4 +83,4 @@ a.btn {
.w-12\/12 {
width: 100%
-}
\ No newline at end of file
+}
diff --git a/SearchQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg b/SearchQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg
index 9fe89acc1..8910f0ea6 100644
--- a/SearchQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg
+++ b/SearchQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/SearchQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg b/SearchQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
index 362a6994e..9a77286a8 100644
--- a/SearchQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
+++ b/SearchQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/Text2Image/ui/docker/Dockerfile b/Text2Image/ui/docker/Dockerfile
index ac2bb7da3..1d5115f4b 100644
--- a/Text2Image/ui/docker/Dockerfile
+++ b/Text2Image/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/Text2Image/ui/svelte/src/app.postcss b/Text2Image/ui/svelte/src/app.postcss
index 1bb14630c..963bbca4e 100644
--- a/Text2Image/ui/svelte/src/app.postcss
+++ b/Text2Image/ui/svelte/src/app.postcss
@@ -83,4 +83,4 @@ a.btn {
.w-12\/12 {
width: 100%
-}
\ No newline at end of file
+}
diff --git a/Translation/ui/svelte/.env b/Translation/ui/svelte/.env
index 4df683237..fdb106b4b 100644
--- a/Translation/ui/svelte/.env
+++ b/Translation/ui/svelte/.env
@@ -1 +1 @@
-BASE_URL = 'http://10.7.5.135:8888/v1/translation'
\ No newline at end of file
+BASE_URL = 'http://10.7.5.135:8888/v1/translation'
diff --git a/VideoQnA/ui/docker/Dockerfile b/VideoQnA/ui/docker/Dockerfile
index 7220b28ac..dcd029a0b 100644
--- a/VideoQnA/ui/docker/Dockerfile
+++ b/VideoQnA/ui/docker/Dockerfile
@@ -18,4 +18,4 @@ EXPOSE 5173
HEALTHCHECK CMD curl --fail http://localhost:5173/_stcore/health
-ENTRYPOINT ["streamlit", "run", "ui.py", "--server.port=5173", "--server.address=0.0.0.0"]
\ No newline at end of file
+ENTRYPOINT ["streamlit", "run", "ui.py", "--server.port=5173", "--server.address=0.0.0.0"]
diff --git a/VisualQnA/ui/docker/Dockerfile b/VisualQnA/ui/docker/Dockerfile
index ac2bb7da3..1d5115f4b 100644
--- a/VisualQnA/ui/docker/Dockerfile
+++ b/VisualQnA/ui/docker/Dockerfile
@@ -23,4 +23,4 @@ RUN npm run build
EXPOSE 5173
# Run the front-end application in preview mode
-CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
\ No newline at end of file
+CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"]
diff --git a/VisualQnA/ui/svelte/.env b/VisualQnA/ui/svelte/.env
index e3086b4e0..ce3ce4033 100644
--- a/VisualQnA/ui/svelte/.env
+++ b/VisualQnA/ui/svelte/.env
@@ -1 +1 @@
-BACKEND_BASE_URL = '/v1/visualqna'
\ No newline at end of file
+BACKEND_BASE_URL = '/v1/visualqna'
diff --git a/VisualQnA/ui/svelte/src/app.postcss b/VisualQnA/ui/svelte/src/app.postcss
index 1bb14630c..963bbca4e 100644
--- a/VisualQnA/ui/svelte/src/app.postcss
+++ b/VisualQnA/ui/svelte/src/app.postcss
@@ -83,4 +83,4 @@ a.btn {
.w-12\/12 {
width: 100%
-}
\ No newline at end of file
+}
diff --git a/VisualQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg b/VisualQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg
index 9fe89acc1..8910f0ea6 100644
--- a/VisualQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg
+++ b/VisualQnA/ui/svelte/src/lib/assets/voice/svg/paste.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/VisualQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg b/VisualQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
index 362a6994e..9a77286a8 100644
--- a/VisualQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
+++ b/VisualQnA/ui/svelte/src/lib/assets/voice/svg/uploadFile.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
From 475acc6e2c224f14d03711e0a431fbe41d500466 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Wed, 13 Nov 2024 05:50:38 +0000
Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---
.../docker_compose/intel/cpu/xeon/README.md | 93 ++++++++++---------
1 file changed, 51 insertions(+), 42 deletions(-)
diff --git a/ChatQnA/docker_compose/intel/cpu/xeon/README.md b/ChatQnA/docker_compose/intel/cpu/xeon/README.md
index 49a7bf168..8396df454 100644
--- a/ChatQnA/docker_compose/intel/cpu/xeon/README.md
+++ b/ChatQnA/docker_compose/intel/cpu/xeon/README.md
@@ -432,57 +432,66 @@ curl -X POST "http://${host_ip}:6007/v1/dataprep/delete_file" \
-H "Content-Type: application/json"
```
-
### Profile Microservices
-To further analyze MicroService Performance, users could follow the instructions to profile MicroServices.
+To further analyze MicroService Performance, users could follow the instructions to profile MicroServices.
#### 1. vLLM backend Service
- Users could follow previous section to testing vLLM microservice or ChatQnA MegaService.
- By default, vLLM profiling is not enabled. Users could start and stop profiling by following commands.
- ##### Start vLLM profiling
+Users could follow previous section to testing vLLM microservice or ChatQnA MegaService.
+ By default, vLLM profiling is not enabled. Users could start and stop profiling by following commands.
- ```bash
- curl http://${host_ip}:9009/start_profile \
- -H "Content-Type: application/json" \
- -d '{"model": "Intel/neural-chat-7b-v3-3"}'
- ```
- Users would see below docker logs from vllm-service if profiling is started correctly.
- ```bash
- INFO api_server.py:361] Starting profiler...
- INFO api_server.py:363] Profiler started.
- INFO: x.x.x.x:35940 - "POST /start_profile HTTP/1.1" 200 OK
- ```
- After vLLM profiling is started, users could start asking questions and get responses from vLLM MicroService
- or ChatQnA MicroService.
-
- ##### Stop vLLM profiling
- By following command, users could stop vLLM profliing and generate a *.pt.trace.json.gz file as profiling result
- under /mnt folder in vllm-service docker instance.
- ```bash
- # vLLM Service
- curl http://${host_ip}:9009/stop_profile \
- -H "Content-Type: application/json" \
- -d '{"model": "Intel/neural-chat-7b-v3-3"}'
- ```
- Users would see below docker logs from vllm-service if profiling is stopped correctly.
- ```bash
- INFO api_server.py:368] Stopping profiler...
- INFO api_server.py:370] Profiler stopped.
- INFO: x.x.x.x:41614 - "POST /stop_profile HTTP/1.1" 200 OK
- ```
- After vllm profiling is stopped, users could use below command to get the *.pt.trace.json.gz file under /mnt folder.
- ```bash
- docker cp vllm-service:/mnt/ .
- ```
+##### Start vLLM profiling
+
+```bash
+curl http://${host_ip}:9009/start_profile \
+ -H "Content-Type: application/json" \
+ -d '{"model": "Intel/neural-chat-7b-v3-3"}'
+```
+
+Users would see below docker logs from vllm-service if profiling is started correctly.
+
+```bash
+INFO api_server.py:361] Starting profiler...
+INFO api_server.py:363] Profiler started.
+INFO: x.x.x.x:35940 - "POST /start_profile HTTP/1.1" 200 OK
+```
+
+After vLLM profiling is started, users could start asking questions and get responses from vLLM MicroService
+ or ChatQnA MicroService.
+
+##### Stop vLLM profiling
+
+By following command, users could stop vLLM profliing and generate a \*.pt.trace.json.gz file as profiling result
+ under /mnt folder in vllm-service docker instance.
+
+```bash
+# vLLM Service
+curl http://${host_ip}:9009/stop_profile \
+ -H "Content-Type: application/json" \
+ -d '{"model": "Intel/neural-chat-7b-v3-3"}'
+```
+
+Users would see below docker logs from vllm-service if profiling is stopped correctly.
+
+```bash
+INFO api_server.py:368] Stopping profiler...
+INFO api_server.py:370] Profiler stopped.
+INFO: x.x.x.x:41614 - "POST /stop_profile HTTP/1.1" 200 OK
+```
+
+After vllm profiling is stopped, users could use below command to get the \*.pt.trace.json.gz file under /mnt folder.
+
+```bash
+docker cp vllm-service:/mnt/ .
+```
+
+##### Check profiling result
- ##### Check profiling result
- Open a web browser and type "chrome://tracing" or "ui.perfetto.dev", and then load the json.gz file, you should be able
- to see the vLLM profiling result as below diagram.
+Open a web browser and type "chrome://tracing" or "ui.perfetto.dev", and then load the json.gz file, you should be able
+ to see the vLLM profiling result as below diagram.
![image](https://github.com/user-attachments/assets/55c7097e-5574-41dc-97a7-5e87c31bc286)
-
## 🚀 Launch the UI
### Launch with origin port