mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 22:47:21 +00:00
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
20 lines
931 B
C#
20 lines
931 B
C#
namespace AIStudio.Tools.ChatArchive;
|
|
|
|
/// <summary>
|
|
/// The outcome of a chat archive import.
|
|
/// </summary>
|
|
/// <param name="Success">Whether the import ran without an error.</param>
|
|
/// <param name="ImportedWorkspaces">The number of workspaces which received chats.</param>
|
|
/// <param name="ImportedChats">The number of imported chats.</param>
|
|
/// <param name="SkippedChats">The number of chats which were skipped, because they already existed.</param>
|
|
/// <param name="FailedChats">The number of chats which could not be imported.</param>
|
|
/// <param name="Issue">The reason why the import failed, if it did.</param>
|
|
/// <param name="Cancelled">Whether the user stopped the import. Chats imported up to that point are kept.</param>
|
|
public sealed record ChatArchiveImportResult(
|
|
bool Success,
|
|
int ImportedWorkspaces,
|
|
int ImportedChats,
|
|
int SkippedChats,
|
|
int FailedChats,
|
|
string Issue,
|
|
bool Cancelled); |