Fixed the data source name for ERI data sources when performing data retrieval

This commit is contained in:
Thorsten Sommer 2025-03-08 13:50:52 +01:00
parent ff0df4d0dd
commit 888330c616
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -6,3 +6,4 @@
- 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.
- Fixed the data source name for ERI data sources when performing data retrieval.