Integrate data sources per chat thread & store them with the chat

This commit is contained in:
tsommer committed 2025-02-14 12:57:25 +01:00
1 parent 05e1c66330
commit 63113cad50
1 file changed
+11
+11
View File
@@ -1,4 +1,5 @@
using AIStudio.Settings;
using AIStudio.Settings.DataModel;
namespace AIStudio.Chat;
@@ -27,6 +28,16 @@ public sealed record ChatThread
/// </summary>
public string SelectedProfile { get; set; } = string.Empty;
/// <summary>
/// Is this chat thread using data sources?
/// </summary>
public bool UseDataSources { get; set; }
/// <summary>
/// The data source options for this chat thread.
/// </summary>
public DataSourceOptions DataSourceOptions { get; set; } = new();
/// <summary>
/// The name of the chat thread. Usually generated by an AI model or manually edited by the user.
/// </summary>