mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 18:58:00 +00:00
Persist permanent indexing failures in the RAG index
This commit is contained in:
12 files changed
+253
-1
No files matched your search
@@ -0,0 +1,27 @@
|
||||
namespace AIStudio.Tools.Databases.IndexStore;
|
||||
|
||||
internal sealed class IndexingFailureEntity
|
||||
{
|
||||
public string ParentFileId { get; set; } = string.Empty;
|
||||
|
||||
public string DataSourceId { get; set; } = string.Empty;
|
||||
|
||||
public string AbsolutePath { get; set; } = string.Empty;
|
||||
|
||||
public string Fingerprint { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The failure code, stored by name.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The enum has no explicit numbers, so storing the name keeps the rows readable across
|
||||
/// versions which add or reorder codes.
|
||||
/// </remarks>
|
||||
public string FailureCode { get; set; } = string.Empty;
|
||||
|
||||
public string FailureMessage { get; set; } = string.Empty;
|
||||
|
||||
public DateTimeOffset OccurredAtUtc { get; set; }
|
||||
|
||||
public EmbeddingStateDataSourceEntity? DataSource { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user