mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 23:07:23 +00:00
Added a SWOT analysis assistant (#1122)
Co-authored-by: hart_s3 <sabrina.hartmann@dlr.de>
This commit is contained in:
1 parent
6cb20fd75a
commit
060a2a5734
87 files changed
+4601
-45
No files matched your search
@@ -176,6 +176,24 @@ public sealed record ChatThread
|
||||
/// <param name="requirement">What the data brought in demands.</param>
|
||||
public void RequireOutboundDataRestriction(OutboundDataRequirement requirement) => this.RequiredOutboundDataRestriction = this.RequiredOutboundDataRestriction.StricterOf(requirement);
|
||||
|
||||
/// <summary>
|
||||
/// Tightens this chat to everything another thread demands, because what that thread read comes
|
||||
/// along with its result.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// For an assistant which lets tools work in a thread of its own and carries the result over into
|
||||
/// the thread it shows: without this, the result would arrive without the restrictions its data
|
||||
/// demands, and a chat started from it could hand that data to any provider or tool. All three
|
||||
/// ratchets go along, and each one only tightens.
|
||||
/// </remarks>
|
||||
/// <param name="otherThread">The thread whose result this chat takes over.</param>
|
||||
public void RequireRestrictionsOf(ChatThread otherThread)
|
||||
{
|
||||
this.RequireProviderConfidence(otherThread.RequiredProviderConfidence);
|
||||
this.RequireDataSecurity(otherThread.DataSecurity);
|
||||
this.RequireOutboundDataRestriction(otherThread.RequiredOutboundDataRestriction);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The name of the chat thread. Usually generated by an AI model or manually edited by the user.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user