File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/Azure.AISearch.WebApp/Services Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,6 @@ private AzureSearchChatExtensionConfiguration GetAzureCognitiveSearchDataSource(
122122 TitleFieldName = useDocumentsIndex ? nameof ( Document . Title ) : nameof ( DocumentChunk . SourceDocumentTitle ) ,
123123 UrlFieldName = useDocumentsIndex ? nameof ( Document . FilePath ) : nameof ( DocumentChunk . SourceDocumentFilePath ) ,
124124 FilepathFieldName = useDocumentsIndex ? nameof ( Document . FilePath ) : nameof ( DocumentChunk . SourceDocumentFilePath ) ,
125- // mjh
126- DataSourceFieldName = useDocumentsIndex ? nameof ( Document . DataSource ) : nameof ( DocumentChunk . SourceDocumentDataSource ) ,
127125 VectorFieldNames = { useDocumentsIndex ? null : nameof ( DocumentChunk . ContentVector ) }
128126 } ,
129127 ShouldRestrictResultScope = request . LimitToDataSource , // Limit responses to data from the data source only
You can’t perform that action at this time.
0 commit comments