From 1230f4f25cef78a2164a2b65ade9a0f7ad029812 Mon Sep 17 00:00:00 2001 From: akhisud3195 Date: Tue, 13 May 2025 09:25:01 +0530 Subject: [PATCH] Update RAG banner text --- .../sources/components/sources-list.tsx | 208 +++++++++--------- .../projects/[projectId]/sources/new/form.tsx | 2 +- 2 files changed, 106 insertions(+), 104 deletions(-) diff --git a/apps/rowboat/app/projects/[projectId]/sources/components/sources-list.tsx b/apps/rowboat/app/projects/[projectId]/sources/components/sources-list.tsx index f069e8d7..89fe9d89 100644 --- a/apps/rowboat/app/projects/[projectId]/sources/components/sources-list.tsx +++ b/apps/rowboat/app/projects/[projectId]/sources/components/sources-list.tsx @@ -61,26 +61,6 @@ export function SourcesList({ projectId }: { projectId: string }) { >
-
-
- - - -
- To use these data sources with your agents, go to the RAG tab inside individual agent settings. -
-
-
{loading && (
@@ -91,90 +71,112 @@ export function SourcesList({ projectId }: { projectId: string }) {

You have not added any data sources.

)} {!loading && sources.length > 0 && ( -
- - - - - - - - - - - {sources.map((source) => ( - - - - - + <> +
+
+ + + +
+ After creating data sources, go to the RAG tab inside individual agent settings to connect them to agents. +
+
+
+
+
- Name - - Type - - Status - - Active -
- - {source.name} - - - {source.data.type == 'urls' && ( -
- -
List URLs
-
- )} - {source.data.type == 'text' && ( -
- -
Text
-
- )} - {source.data.type == 'files_local' && ( -
- -
Files (Local)
-
- )} - {source.data.type == 'files_s3' && ( -
- -
Files (S3)
-
- )} -
-
- -
-
- -
+ + + + + + - ))} - -
+ Name + + Type + + Status + + Active +
-
+ + + {sources.map((source) => ( + + + + {source.name} + + + + {source.data.type == 'urls' && ( +
+ +
List URLs
+
+ )} + {source.data.type == 'text' && ( +
+ +
Text
+
+ )} + {source.data.type == 'files_local' && ( +
+ +
Files (Local)
+
+ )} + {source.data.type == 'files_s3' && ( +
+ +
Files (S3)
+
+ )} + + +
+ +
+ + + + + + ))} + + +
+ )}
diff --git a/apps/rowboat/app/projects/[projectId]/sources/new/form.tsx b/apps/rowboat/app/projects/[projectId]/sources/new/form.tsx index 33983c79..bdd3a67b 100644 --- a/apps/rowboat/app/projects/[projectId]/sources/new/form.tsx +++ b/apps/rowboat/app/projects/[projectId]/sources/new/form.tsx @@ -151,7 +151,7 @@ export function Form({ />
- To use these data sources with your agents, go to the RAG tab inside individual agent settings. + After creating data sources, go to the RAG tab inside individual agent settings to connect them to agents.