mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-10-08 21:40:21 +00:00
Fix ERI data source name handling during augmentation phase
This commit is contained in:
parent
606aa6fe64
commit
5d173b04b2
@ -103,7 +103,7 @@ public readonly record struct DataSourceERI_V1 : IERIDataSource
|
||||
Links = eriContext.Links,
|
||||
Category = eriContext.Type.ToRetrievalContentCategory(),
|
||||
MatchedText = eriContext.MatchedContent,
|
||||
DataSourceName = this.Name,
|
||||
DataSourceName = eriContext.Name,
|
||||
SurroundingContent = eriContext.SurroundingContent,
|
||||
});
|
||||
break;
|
||||
@ -117,7 +117,7 @@ public readonly record struct DataSourceERI_V1 : IERIDataSource
|
||||
Source = eriContext.MatchedContent,
|
||||
Category = eriContext.Type.ToRetrievalContentCategory(),
|
||||
SourceType = ContentImageSource.BASE64,
|
||||
DataSourceName = this.Name,
|
||||
DataSourceName = eriContext.Name,
|
||||
});
|
||||
break;
|
||||
|
||||
|
@ -9,9 +9,9 @@ public interface IRetrievalContext
|
||||
/// The name of the data source.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Depending on the configuration, the AI is selecting the appropriate data source.
|
||||
/// In order to inform the user about where the information is coming from, the data
|
||||
/// source name is necessary.
|
||||
/// This is not the name the user chooses but the name of the source where
|
||||
/// the match was found. This could be a document or database name, a website
|
||||
/// or a directory on a remote server, etc.
|
||||
/// </remarks>
|
||||
public string DataSourceName { get; init; }
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
# v0.9.52, build 227 (2025-09-xx xx:xx UTC)
|
||||
- Improved developer experience by detecting development environments and disabling update prompts in those environments.
|
||||
- Fixed an issue where external data sources using the ERI interface weren't using the correct source names during the augmentation phase.
|
Loading…
Reference in New Issue
Block a user