@@ -14,7 +14,7 @@ public async Task ImportDataToMemory(
1414 await PreprocessAvailableDocuments ( options , cancellationToken ) ;
1515 }
1616 await ImportTextData ( memory , options . TextData , cancellationToken ) ;
17- await ImportFileData ( memory , options . FileData , cancellationToken ) ;
17+ await ImportFilesData ( memory , options . FilesData , cancellationToken ) ;
1818 await ImportStreamData ( memory , options . StreamData , cancellationToken ) ;
1919 await ImportWebUrls ( memory , options . WebUrls , cancellationToken ) ;
2020 await ImportMemoryItems ( memory , options . Memory , cancellationToken ) ;
@@ -39,7 +39,7 @@ private async Task ImportTextData(IKernelMemory memory, Dictionary<string, strin
3939 }
4040 }
4141
42- private async Task ImportFileData ( IKernelMemory memory , Dictionary < string , string > ? fileData ,
42+ private async Task ImportFilesData ( IKernelMemory memory , Dictionary < string , string > ? fileData ,
4343 CancellationToken cancellationToken )
4444 {
4545 if ( fileData ? . Any ( ) != true )
@@ -92,10 +92,10 @@ await memory.ImportTextAsync(
9292
9393 private static async Task PreprocessAvailableDocuments ( ChatMemoryOptions options , CancellationToken cancellationToken )
9494 {
95- foreach ( var file in options . FileData ! )
95+ foreach ( var file in options . FilesData ! )
9696 {
9797 options . TextData ! . Add ( file . Key , DocumentProcessor . ProcessDocument ( file . Value ) ) ;
98- options . FileData = [ ] ;
98+ options . FilesData = [ ] ;
9999 }
100100
101101 foreach ( var stream in options . StreamData ! )
0 commit comments