File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -126,15 +126,16 @@ export class EpsAssistMeStack extends Stack {
126126 } )
127127
128128 // Create vector index after Functions are created
129- const vectorIndex = new VectorIndex ( this , "VectorIndex" , {
129+ // const vectorIndex = new VectorIndex(this, "VectorIndex", {
130+ new VectorIndex ( this , "VectorIndex" , {
130131 indexName : VECTOR_INDEX_NAME ,
131132 collection : openSearchResources . collection . collection ,
132133 createIndexFunction : functions . functions . createIndex ,
133134 endpoint
134135 } )
135136
136137 // Ensure knowledge base waits for vector index
137- vectorKB . knowledgeBase . node . addDependency ( vectorIndex . vectorIndex )
138+ // vectorKB.knowledgeBase.node.addDependency(vectorIndex.vectorIndex)
138139
139140 // Add S3 notification to trigger sync Lambda function
140141 new S3LambdaNotification ( this , "S3LambdaNotification" , {
You can’t perform that action at this time.
0 commit comments