Skip to content

Commit 311bae8

Browse files
committed
Update AIProcessor.cs
1 parent 2ceccc1 commit 311bae8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Helpers/AIProcessor.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,9 @@ AzureSearchConfig azureSearchConfig
547547
>();
548548

549549
var vectorStore = kernel.GetRequiredService<AzureAISearchVectorStore>();
550-
var collection = vectorStore.GetCollection<string, TextSnippet<string>>("default");
550+
var collection = vectorStore.GetCollection<string, TextSnippet<string>>(
551+
azureSearchConfig.Index
552+
);
551553

552554
// delete and readd the collection
553555
await collection.EnsureCollectionDeletedAsync();

0 commit comments

Comments
 (0)