2026-11-09 09:55:01 +01:00
|
|
|
namespace AIStudio.Assistants.BeyondFactsLab;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-11-09 12:42:59 +01:00
|
|
|
/// Where the BeyondFacts Lab keeps a chat, e.g., in a step of a preparation.
|
2026-11-09 09:55:01 +01:00
|
|
|
/// </summary>
|
2026-11-09 12:42:59 +01:00
|
|
|
/// <remarks>
|
|
|
|
|
/// Each place holds one chat at most, and the ID of the chat follows from the place, see BflThreadId. Two places of
|
|
|
|
|
/// the same kind with the same values are equal, so a place serves as a key.
|
|
|
|
|
/// </remarks>
|
|
|
|
|
public abstract record BflThreadLocation
|
2026-11-09 09:55:01 +01:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2026-11-09 12:42:59 +01:00
|
|
|
/// Gets the ID of the chat, which follows from its place.
|
2026-11-09 09:55:01 +01:00
|
|
|
/// </summary>
|
2026-11-09 12:42:59 +01:00
|
|
|
public abstract Guid ChatId { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a key which no other place has, e.g., for the registry of running assistant sessions and for the log.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public abstract string Key { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the name the chat stores, which tells people who look into its file where it belongs.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public abstract string ChatName { get; }
|
2026-11-09 09:55:01 +01:00
|
|
|
}
|