You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User flow changes for recreating supported vector index (#682)
* removed the if check
* Add one more check for create vector index when chunks are exist without embeddings
* removed local files
* condition changes
* chunks exists check
* chunk exists without embeddings check
* vector Index issue fixed
* vector index with different dimension
* Update graphDB_dataAccess.py
---------
Co-authored-by: Pravesh Kumar <[email protected]>
Copy file name to clipboardExpand all lines: frontend/src/components/Popups/ConnectionModal/VectorIndexMisMatchAlert.tsx
+6-3
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,13 @@ export default function VectorIndexMisMatchAlert({
8
8
recreateVectorIndex,
9
9
isVectorIndexAlreadyExists,
10
10
userVectorIndexDimension,
11
+
chunksExists,
11
12
}: {
12
13
vectorIndexLoading: boolean;
13
14
recreateVectorIndex: ()=>Promise<void>;
14
15
isVectorIndexAlreadyExists: boolean;
15
-
userVectorIndexDimension: number;
16
+
userVectorIndexDimension?: number;
17
+
chunksExists: boolean;
16
18
}){
17
19
const{ userCredentials }=useCredentials();
18
20
return(
@@ -25,8 +27,9 @@ The existing Neo4j vector index dimension (${userVectorIndexDimension}) is incom
25
27
To proceed, please choose one of the following options:
26
28
1.**Recreate Vector Index:** Click "Re-Create Vector Index" to generate a compatible vector index.
27
29
2.**Use a Different Instance:** Connect to a Neo4j instance with a compatible vector index configuration `
28
-
: `**Vector index not found**.
29
-
To leverage AI-powered search, please create a vector index.This will enable efficient similarity search within your Neo4j database`}
30
+
: chunksExists
31
+
? `A vector index is essential for performing efficient similarity searches within your data. Without it, some chunks of data will be invisible to queries based on meaning and context. Creating a vector index unlocks the full potential of your data by allowing you to find related information quickly and accurately.`
0 commit comments