From 9c70de2c751f605a10ab4e90434d9fe98225201a Mon Sep 17 00:00:00 2001
From: Tyler Ohlsen <ohltyler@amazon.com>
Date: Tue, 28 Jan 2025 13:39:58 -0800
Subject: [PATCH] more updates

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
---
 common/constants.ts                                    |  4 ++--
 .../pages/workflow_detail/components/intro_flyout.tsx  | 10 +++++-----
 .../resources/templates/lexical_search_with_rag.json   |  6 +++---
 server/resources/templates/vector_search_with_rag.json |  6 +++---
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/common/constants.ts b/common/constants.ts
index 6d01b30b..a64c1d97 100644
--- a/common/constants.ts
+++ b/common/constants.ts
@@ -165,8 +165,8 @@ export enum WORKFLOW_TYPE {
   SEMANTIC_SEARCH = 'Semantic Search',
   MULTIMODAL_SEARCH = 'Multimodal Search',
   HYBRID_SEARCH = 'Hybrid Search',
-  RAG = 'Lexical Search with RAG',
-  VECTOR_SEARCH_WITH_RAG = 'Vector Search with RAG',
+  RAG = 'RAG with Lexical Retrieval',
+  VECTOR_SEARCH_WITH_RAG = 'RAG with Vector Retrieval',
   CUSTOM = 'Custom Search',
   UNKNOWN = 'Unknown',
 }
diff --git a/public/pages/workflow_detail/components/intro_flyout.tsx b/public/pages/workflow_detail/components/intro_flyout.tsx
index ddd23c07..d59733a9 100644
--- a/public/pages/workflow_detail/components/intro_flyout.tsx
+++ b/public/pages/workflow_detail/components/intro_flyout.tsx
@@ -117,7 +117,7 @@ export function IntroFlyout(props: IntroFlyoutProps) {
                     </EuiFlexItem>
                     <EuiFlexItem grow={false}>
                       <EuiTitle size="s">
-                        <h4>2. Build ingest flow</h4>
+                        <h4>2. Build an ingest flow</h4>
                       </EuiTitle>
                     </EuiFlexItem>
                     <EuiFlexItem grow={false}>
@@ -128,8 +128,8 @@ export function IntroFlyout(props: IntroFlyoutProps) {
                           then add processors to enrich your data.
                         </p>
                         <p style={{ marginTop: '-16px' }}>
-                          If you are using an existing index with data, you can
-                          skip this step.
+                          If you are using an existing index containing data,
+                          you can skip this step.
                         </p>
                       </EuiText>
                     </EuiFlexItem>
@@ -183,8 +183,8 @@ export function IntroFlyout(props: IntroFlyoutProps) {
                           add processors to enrich your data.
                         </p>
                         <p style={{ marginTop: '-16px' }}>
-                          If you are using an existing index with data, you can
-                          skip this step.
+                          If you are using an existing index containing data,
+                          you can skip this step.
                         </p>
                       </EuiText>
                     </EuiFlexItem>
diff --git a/server/resources/templates/lexical_search_with_rag.json b/server/resources/templates/lexical_search_with_rag.json
index de673e85..6c19863c 100644
--- a/server/resources/templates/lexical_search_with_rag.json
+++ b/server/resources/templates/lexical_search_with_rag.json
@@ -1,6 +1,6 @@
 {
-  "name": "Lexical Search with RAG",
-  "description": "Build a search application that uses RAG to retrieve keyword-matched documents using lexical search, pass them to large language models, and synthesize answers.",
+  "name": "RAG with Lexical Retrieval",
+  "description": "Build a search application that uses retrieval-augmented generation (RAG) to retrieve keyword-matched documents using lexical search, pass them to large language models, and synthesize answers.",
   "version": {
     "template": "1.0.0",
     "compatibility": [
@@ -9,6 +9,6 @@
     ]
   },
   "ui_metadata": {
-    "type": "Lexical Search with RAG"
+    "type": "RAG with Lexical Retrieval"
   }
 }
\ No newline at end of file
diff --git a/server/resources/templates/vector_search_with_rag.json b/server/resources/templates/vector_search_with_rag.json
index c92e5e6a..a6b0a643 100644
--- a/server/resources/templates/vector_search_with_rag.json
+++ b/server/resources/templates/vector_search_with_rag.json
@@ -1,6 +1,6 @@
 {
-    "name": "Vector Search with RAG",
-    "description": "Build a search application that uses RAG to retrieve semantically similar documents using vector search, pass them to large language models, and synthesize answers.",
+    "name": "RAG with Vector Retrieval",
+    "description": "Build a search application that uses retrieval-augmented generation (RAG) to retrieve semantically similar documents using vector search, pass them to large language models, and synthesize answers.",
     "version": {
         "template": "1.0.0",
         "compatibility": [
@@ -9,6 +9,6 @@
         ]
     },
     "ui_metadata": {
-        "type": "Vector Search with RAG"
+        "type": "RAG with Vector Retrieval"
     }
 }
\ No newline at end of file