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

This commit is contained in:
Thorsten Sommer 2025-02-14 12:57:25 +01:00
parent 05e1c66330
commit 63113cad50
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -1,4 +1,5 @@
using AIStudio.Settings; using AIStudio.Settings;
using AIStudio.Settings.DataModel;
namespace AIStudio.Chat; namespace AIStudio.Chat;
@ -27,6 +28,16 @@ public sealed record ChatThread
/// </summary> /// </summary>
public string SelectedProfile { get; set; } = string.Empty; 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> /// <summary>
/// The name of the chat thread. Usually generated by an AI model or manually edited by the user. /// The name of the chat thread. Usually generated by an AI model or manually edited by the user.
/// </summary> /// </summary>