diff --git a/app/MindWork AI Studio/Settings/DataModel/DataSourceERI_V1.cs b/app/MindWork AI Studio/Settings/DataModel/DataSourceERI_V1.cs index a9e40231..d02c6bfe 100644 --- a/app/MindWork AI Studio/Settings/DataModel/DataSourceERI_V1.cs +++ b/app/MindWork AI Studio/Settings/DataModel/DataSourceERI_V1.cs @@ -97,7 +97,7 @@ public readonly record struct DataSourceERI_V1 : IERIDataSource Links = eriContext.Links, Category = eriContext.Type.ToRetrievalContentCategory(), MatchedText = eriContext.MatchedContent, - DataSourceName = eriContext.Name, + DataSourceName = this.Name, SurroundingContent = eriContext.SurroundingContent, }); break; @@ -111,7 +111,7 @@ public readonly record struct DataSourceERI_V1 : IERIDataSource Source = eriContext.MatchedContent, Category = eriContext.Type.ToRetrievalContentCategory(), SourceType = ContentImageSource.BASE64, - DataSourceName = eriContext.Name, + DataSourceName = this.Name, }); break; diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.9.32.md b/app/MindWork AI Studio/wwwroot/changelog/v0.9.32.md index 9871b058..e462100b 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v0.9.32.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v0.9.32.md @@ -5,4 +5,5 @@ - Improved the error handling in the ERI data source info dialog in cases where servers respond with an invalid message. - Improved the error handling for the entire RAG process. - Improved chat thread persistence after modifications through the RAG process. -- Fixed the chat thread we use for the data retrieval by removing the last block, which is meant to be for the final AI answer. \ No newline at end of file +- Fixed the chat thread we use for the data retrieval by removing the last block, which is meant to be for the final AI answer. +- Fixed the data source name for ERI data sources when performing data retrieval. \ No newline at end of file